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

Removed rshift term to stay in line with serial changes.

parent 283d211e
No related branches found
No related tags found
1 merge request!407Patch vecorised pair interactions
......@@ -871,11 +871,10 @@ void runner_dopair1_density_vec(struct runner *r, struct cell *ci,
/* Set the cache index. */
int cj_cache_idx = pjd;
/*TODO: rshift term. */
/* Skip this particle if no particle in ci is within range of it. */
const float hj = cj_cache->h[cj_cache_idx];
const double dj_test =
sort_j[pjd].d - hj * kernel_gamma - dx_max - rshift;
sort_j[pjd].d - hj * kernel_gamma - dx_max;
if (dj_test > di_max) continue;
/* Determine the exit iteration of the interaction loop. */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment