Skip to content
Snippets Groups Projects
Commit daa06206 authored by Bert Vandenbroucke's avatar Bert Vandenbroucke
Browse files

Applied new clang-format formatting.

parent 20be2b2f
Branches
Tags
1 merge request!587Gizmo mfv clean
...@@ -684,9 +684,10 @@ __attribute__((always_inline)) INLINE static void hydro_kick_extra( ...@@ -684,9 +684,10 @@ __attribute__((always_inline)) INLINE static void hydro_kick_extra(
p->conserved.momentum[1] += p->conserved.mass * a_grav[1] * dt; p->conserved.momentum[1] += p->conserved.mass * a_grav[1] * dt;
p->conserved.momentum[2] += p->conserved.mass * a_grav[2] * dt; p->conserved.momentum[2] += p->conserved.mass * a_grav[2] * dt;
p->conserved.energy -= 0.5f * dt * (p->gravity.mflux[0] * a_grav[0] + p->conserved.energy -=
p->gravity.mflux[1] * a_grav[1] + 0.5f * dt *
p->gravity.mflux[2] * a_grav[2]); (p->gravity.mflux[0] * a_grav[0] + p->gravity.mflux[1] * a_grav[1] +
p->gravity.mflux[2] * a_grav[2]);
} }
/* Update conserved variables. */ /* Update conserved variables. */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment