Commit b668559d authored by Loic Hausammann's avatar Loic Hausammann
Browse files

GEAR: fix define

parent 98a77ce5
......@@ -304,7 +304,7 @@ __attribute__((always_inline)) INLINE static void star_formation_end_density(
/* Copy the velocity divergence */
xp->sf_data.div_v = p->viscosity.div_v;
/* SPHENIX is already including the Hubble flow */
#elif GADGET_SPH
#elif GADGET2_SPH
/* Copy the velocity divergence */
xp->sf_data.div_v = p->density.div_v;
xp->sf_data.div_v += hydro_dimension * cosmo->H;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment