diff --git a/src/cooling/Compton/cooling.h b/src/cooling/Compton/cooling.h index d67006b9cdb57cb1716ac6a2b282182013cc2b02..da9225fe02fb6805f795938f86afd75ebdbef125 100644 --- a/src/cooling/Compton/cooling.h +++ b/src/cooling/Compton/cooling.h @@ -41,7 +41,7 @@ * * @param T The temperature of the gas [K]. * @param H_mass_fraction The hydrogen mass fraction of the gas. - * @param T_trans The temperature of the transition from HII to HI [K]. + * @param T_transition The temperature of the transition from HII to HI [K]. */ __attribute__((always_inline, const)) INLINE static double mean_molecular_weight(const double T, const double H_mass_fraction, @@ -59,7 +59,7 @@ mean_molecular_weight(const double T, const double H_mass_fraction, * * @param u_cgs The internal energy per unit mass of the gas [erg * g^-1]. * @param H_mass_fraction The hydrogen mass fraction of the gas. - * @param T_trans The temperature of the transition from HII to HI [K]. + * @param T_transition The temperature of the transition from HII to HI [K]. * @param m_H_cgs The mass of the Hydorgen atom [g]. * @param k_B_cgs The Boltzmann constant in cgs units [erg * K^-1] * @return The temperature of the gas [K] diff --git a/src/space.c b/src/space.c index 2afc493a764b40e9c6d1d53b481049394cbcd209..3a25e91b67e25663322b6ecb50560785160918c6 100644 --- a/src/space.c +++ b/src/space.c @@ -3158,10 +3158,12 @@ void space_replicate(struct space *s, int replicate, int verbose) { * * @param s The #space to create the particles in. * @param cosmo The current #cosmology model. + * @param periodic Are we using periodic boundary conditions? + * @param dim The size of the box (for periodic wrapping). * @param verbose Are we talkative? */ void space_generate_gas(struct space *s, const struct cosmology *cosmo, - int periodic, double dim[3], int verbose) { + int periodic, const double dim[3], int verbose) { /* Check that this is a sensible ting to do */ if (!s->hydro) diff --git a/src/space.h b/src/space.h index 52bc38b082c165b4a001a53b15f0d6c2cb9e2c13..1ae80d437eda3aeb09e5c8b48cdaa5ba17044074 100644 --- a/src/space.h +++ b/src/space.h @@ -268,7 +268,7 @@ void space_check_top_multipoles_drift_point(struct space *s, void space_check_timesteps(struct space *s); void space_replicate(struct space *s, int replicate, int verbose); void space_generate_gas(struct space *s, const struct cosmology *cosmo, - int periodic, double dim[3], int verbose); + int periodic, const double dim[3], int verbose); void space_check_cosmology(struct space *s, const struct cosmology *cosmo, int rank); void space_reset_task_counters(struct space *s);