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

Removed code that is not required in the master.

parent 0d8d60f5
No related branches found
No related tags found
1 merge request!320Dopair1 vectorisation merge
......@@ -369,8 +369,6 @@ __attribute__((always_inline)) INLINE void runner_doself1_density_vec(
int count_align;
int num_vec_proc = NUM_VEC_PROC;
int intCount = 0;
struct part *restrict parts = c->parts;
const int count = c->count;
......@@ -594,15 +592,10 @@ __attribute__((always_inline)) INLINE void runner_doself1_density_vec(
VEC_HADD(curlvySum, pi->density.rot_v[1]);
VEC_HADD(curlvzSum, pi->density.rot_v[2]);
intCount += icount;
/* Reset interaction count. */
icount = 0;
} /* loop over all particles. */
// message("Total number of self interactions: %d, average per particle: %f.",
// intCount, ((float)intCount) / ((float)count));
TIMER_TOC(timer_doself_density);
#endif /* WITH_VECTORIZATION */
}
......
......@@ -30,7 +30,6 @@
#include "hydro.h"
#include "part.h"
#include "runner.h"
#include "runner.h"
#include "timers.h"
#include "vector.h"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment