Commit 6343734f authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Also apply the enrichment change of mass of the gpart in the case of GIZMO hydrodynamics.

parent d58c2b0c
......@@ -3954,7 +3954,7 @@ void space_synchronize_particle_positions_mapper(void *map_data, int nr_gparts,
xp->v_full[1] = gp->v_full[1];
xp->v_full[2] = gp->v_full[2];
gp->mass = p->mass;
gp->mass = hydro_get_mass(p);
}
else if (gp->type == swift_type_stars) {
......
Supports Markdown
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