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

New formatting style

parent 716001d8
No related branches found
No related tags found
2 merge requests!212Gravity infrastructure,!172[WIP] Self gravity (Barnes-Hut version)
...@@ -508,8 +508,8 @@ void runner_do_ghost(struct runner *r, struct cell *c) { ...@@ -508,8 +508,8 @@ void runner_do_ghost(struct runner *r, struct cell *c) {
/* Finish the density calculation */ /* Finish the density calculation */
hydro_end_density(p, ti_current); hydro_end_density(p, ti_current);
float h_corr = 0.f; float h_corr = 0.f;
/* If no derivative, double the smoothing length. */ /* If no derivative, double the smoothing length. */
if (p->density.wcount_dh == 0.0f) h_corr = p->h; if (p->density.wcount_dh == 0.0f) h_corr = p->h;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment