diff --git a/src/kernel_hydro.h b/src/kernel_hydro.h index 8a7db6e12adb8fd1ccc15e0aee2c253b11dd7fec..aec24e757a1d06d19cd5433fa8ed558a9b594af4 100644 --- a/src/kernel_hydro.h +++ b/src/kernel_hydro.h @@ -761,6 +761,8 @@ __attribute__((always_inline)) INLINE static void kernel_eval_dWdx_vec( * * @param u The ratio of the distance to the smoothing length $u = x/h$. * @param dw_dx (return) The norm of the gradient of $|\\nabla W(x,h)|$. + * @param u_2 The ratio of the distance to the smoothing length $u = x/h$ for second particle. + * @param dw_dx_2 (return) The norm of the gradient of $|\\nabla W(x,h)|$ for second particle. */ __attribute__((always_inline)) INLINE static void kernel_eval_dWdx_force_2_vec( vector *u, vector *dw_dx, vector *u_2, vector *dw_dx_2) { diff --git a/src/runner_doiact_vec.c b/src/runner_doiact_vec.c index 6042c5e33edd4ab5d7af96d4e51eed0b6152394a..1a2d1235109b862a9e6c9e0d6dafece97e0cb8ec 100644 --- a/src/runner_doiact_vec.c +++ b/src/runner_doiact_vec.c @@ -121,10 +121,6 @@ __attribute__((always_inline)) INLINE static void calcRemInteractions( * @param v_dx #vector of the x separation between two particles. * @param v_dy #vector of the y separation between two particles. * @param v_dz #vector of the z separation between two particles. - * @param v_mj #vector of the mass of particle pj. - * @param v_vjx #vector of x velocity of pj. - * @param v_vjy #vector of y velocity of pj. - * @param v_vjz #vector of z velocity of pj. * @param cell_cache #cache of all particles in the cell. * @param int_cache (return) secondary #cache of interactions between two * particles. diff --git a/tests/testActivePair.c b/tests/testActivePair.c index 0f8ecdea875557d972ff37dd9bc9a51d81911050..04cb177e45d21819f43f30911c98a3b89f07ede3 100644 --- a/tests/testActivePair.c +++ b/tests/testActivePair.c @@ -43,6 +43,7 @@ * @param pert The perturbation to apply to the particles in the cell in units * of the inter-particle separation. * @param h_pert The perturbation to apply to the smoothing length. + * @param fraction_active The fraction of particles that should be active in the cell. */ struct cell *make_cell(size_t n, double *offset, double size, double h, double density, long long *partId, double pert,