From 7a77cfa40d2b441c5380de80188f084c91425525 Mon Sep 17 00:00:00 2001 From: James Willis <james.s.willis@durham.ac.uk> Date: Wed, 15 Mar 2017 10:12:52 +0000 Subject: [PATCH] Removed code that is not required in the master. --- src/runner_doiact_vec.c | 7 ------- src/runner_doiact_vec.h | 1 - 2 files changed, 8 deletions(-) diff --git a/src/runner_doiact_vec.c b/src/runner_doiact_vec.c index 33e6fc06b4..df2a1074f8 100644 --- a/src/runner_doiact_vec.c +++ b/src/runner_doiact_vec.c @@ -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 */ } diff --git a/src/runner_doiact_vec.h b/src/runner_doiact_vec.h index b538f2ab2e..e252083ae7 100644 --- a/src/runner_doiact_vec.h +++ b/src/runner_doiact_vec.h @@ -30,7 +30,6 @@ #include "hydro.h" #include "part.h" #include "runner.h" -#include "runner.h" #include "timers.h" #include "vector.h" -- GitLab