From 51eeae46f22114115977de08f55c3894bb18a0cf Mon Sep 17 00:00:00 2001 From: Folkert Nobels <nobels@strw.leidenuniv.nl> Date: Wed, 20 Mar 2019 10:29:28 +0100 Subject: [PATCH] Code formatting --- src/entropy_floor/none/entropy_floor.h | 4 ++-- src/runner.c | 3 ++- src/star_formation/EAGLE/star_formation.h | 3 ++- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/entropy_floor/none/entropy_floor.h b/src/entropy_floor/none/entropy_floor.h index cc1569d7a0..6ce5319c8c 100644 --- a/src/entropy_floor/none/entropy_floor.h +++ b/src/entropy_floor/none/entropy_floor.h @@ -56,14 +56,14 @@ static INLINE float entropy_floor( * @brief Compute the temperature from the entropy floor for a given #part * * Simply return 0 (no floor). - * + * * @param p The #part. * @param cosmo The cosmological model. * @param props The properties of the entropy floor. */ static INLINE float entropy_floor_temperature( const struct part *p, const struct cosmology *cosmo, - const struct entropy_floor_properties *props){ + const struct entropy_floor_properties *props) { return 0.f; } diff --git a/src/runner.c b/src/runner.c index a3b91e1e8b..984bce52cf 100644 --- a/src/runner.c +++ b/src/runner.c @@ -605,7 +605,8 @@ void runner_do_star_formation(struct runner *r, struct cell *c, int timer) { /* Is this particle star forming? */ if (star_formation_is_star_forming(p, xp, sf_props, phys_const, cosmo, - hydro_props, us, cooling, entropy_floor)) { + hydro_props, us, cooling, + entropy_floor)) { /* Time-step size for this particle */ double dt_star; diff --git a/src/star_formation/EAGLE/star_formation.h b/src/star_formation/EAGLE/star_formation.h index 92ddcc1c5e..0fc044170b 100644 --- a/src/star_formation/EAGLE/star_formation.h +++ b/src/star_formation/EAGLE/star_formation.h @@ -246,7 +246,8 @@ INLINE static int star_formation_is_star_forming( us, cosmo, cooling, p, xp); /* Temperature on the equation of state */ - const double temperature_eos = entropy_floor_temperature(p, cosmo, entropy_floor); + const double temperature_eos = + entropy_floor_temperature(p, cosmo, entropy_floor); /* Check the Scahye & Dalla Vecchia 2012 EOS-based temperature critrion */ return (temperature < -- GitLab