Skip to content
Snippets Groups Projects
Commit f3394689 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Fix unnecessary white spaces.

parent 5e116744
No related branches found
No related tags found
1 merge request!926Alternative definition of the number of neighbours
...@@ -1044,15 +1044,11 @@ void runner_do_ghost(struct runner *r, struct cell *c, int timer) { ...@@ -1044,15 +1044,11 @@ void runner_do_ghost(struct runner *r, struct cell *c, int timer) {
pressure_floor_end_density(p, cosmo); pressure_floor_end_density(p, cosmo);
/* Are we using the alternative definition of the /* Are we using the alternative definition of the
number of neighbours? */ number of neighbours? */
if (use_mass_weighted_num_ngb) { if (use_mass_weighted_num_ngb) {
#if defined(GIZMO_MFV_SPH) || defined(GIZMO_MFM_SPH) || defined(SHADOWFAX_SPH) #if defined(GIZMO_MFV_SPH) || defined(GIZMO_MFM_SPH) || defined(SHADOWFAX_SPH)
error( error(
"Can't use alternative neighbour definition with this scheme!"); "Can't use alternative neighbour definition with this scheme!");
#else #else
const float inv_mass = 1.f / hydro_get_mass(p); const float inv_mass = 1.f / hydro_get_mass(p);
p->density.wcount = p->rho * inv_mass; p->density.wcount = p->rho * inv_mass;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment