Skip to content
Snippets Groups Projects

Gear merge pressure floor and GEAR star formation

Merged Loic Hausammann requested to merge gear_merge_pressure_star into master
1 unresolved thread
Files
42
@@ -822,9 +822,11 @@ __attribute__((always_inline)) INLINE static void hydro_reset_acceleration(
*
* @param p The particle.
* @param xp The extended data of this particle.
* @param cosmo The cosmological model.
*/
__attribute__((always_inline)) INLINE static void hydro_reset_predicted_values(
struct part *restrict p, const struct xpart *restrict xp) {
struct part *restrict p, const struct xpart *restrict xp,
const struct cosmology *cosmo) {
/* Re-set the predicted velocities */
p->v[0] = xp->v_full[0];
Loading