Commit 7a77cfa4 authored by James Willis's avatar James Willis
Browse files

Removed code that is not required in the master.

parent 0d8d60f5
......@@ -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"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment