Skip to content
Snippets Groups Projects
Commit b759fd04 authored by James Willis's avatar James Willis
Browse files

Reorder arguments correctly.

parent 3278ea21
Branches
Tags
1 merge request!440Dopair2 vectorisation
......@@ -1587,10 +1587,10 @@ void runner_dopair2_force_vec(struct runner *r, struct cell *ci,
&v_r2, &v_dx, &v_dy, &v_dz, v_vix, v_viy, v_viz,
v_rhoi, v_grad_hi, v_pOrhoi2, v_balsara_i, v_ci,
&cj_cache->vx[cj_cache_idx], &cj_cache->vy[cj_cache_idx],
&cj_cache->vz[cj_cache_idx], &cj_cache->m[cj_cache_idx],
&cj_cache->rho[cj_cache_idx], &cj_cache->grad_h[cj_cache_idx],
&cj_cache->pOrho2[cj_cache_idx], &cj_cache->balsara[cj_cache_idx],
&cj_cache->soundspeed[cj_cache_idx], v_hi_inv, v_hj_inv,
&cj_cache->vz[cj_cache_idx], &cj_cache->rho[cj_cache_idx],
&cj_cache->grad_h[cj_cache_idx], &cj_cache->pOrho2[cj_cache_idx],
&cj_cache->balsara[cj_cache_idx], &cj_cache->soundspeed[cj_cache_idx],
&cj_cache->m[cj_cache_idx], v_hi_inv, v_hj_inv,
&a_hydro_xSum, &a_hydro_ySum, &a_hydro_zSum,
&h_dtSum, &v_sigSum, &entropy_dtSum, v_doi_mask);
......@@ -1730,10 +1730,10 @@ void runner_dopair2_force_vec(struct runner *r, struct cell *ci,
&v_r2, &v_dx, &v_dy, &v_dz, v_vjx, v_vjy, v_vjz,
v_rhoj, v_grad_hj, v_pOrhoj2, v_balsara_j, v_cj,
&ci_cache->vx[ci_cache_idx], &ci_cache->vy[ci_cache_idx],
&ci_cache->vz[ci_cache_idx], &ci_cache->m[ci_cache_idx],
&ci_cache->rho[ci_cache_idx], &ci_cache->grad_h[ci_cache_idx],
&ci_cache->pOrho2[ci_cache_idx], &ci_cache->balsara[ci_cache_idx],
&ci_cache->soundspeed[ci_cache_idx], v_hj_inv, v_hi_inv,
&ci_cache->vz[ci_cache_idx], &ci_cache->rho[ci_cache_idx],
&ci_cache->grad_h[ci_cache_idx], &ci_cache->pOrho2[ci_cache_idx],
&ci_cache->balsara[ci_cache_idx], &ci_cache->soundspeed[ci_cache_idx],
&ci_cache->m[ci_cache_idx], v_hj_inv, v_hi_inv,
&a_hydro_xSum, &a_hydro_ySum, &a_hydro_zSum,
&h_dtSum, &v_sigSum, &entropy_dtSum, v_doj_mask);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment