Commit 51eeae46 authored by Folkert Nobels's avatar Folkert Nobels
Browse files

Code formatting

parent 25037693
......@@ -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;
}
......
......@@ -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;
......
......@@ -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 <
......
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