diff --git a/src/cooling/const_lambda/cooling.h b/src/cooling/const_lambda/cooling.h index 0a5672a63ea1e6fe92da216349af25c50115dc2e..a55fd86ff489fedeb9d2bcb703f62b849ffeeb00 100644 --- a/src/cooling/const_lambda/cooling.h +++ b/src/cooling/const_lambda/cooling.h @@ -35,24 +35,6 @@ #include "physical_constants.h" #include "units.h" -/* Cooling Properties */ -struct cooling_data { - - /*! Cooling rate in cgs units. Defined by 'rho * du/dt = -lambda * n_H^2'*/ - double lambda; - - /*! Fraction of gas mass that is Hydrogen. Used to calculate n_H*/ - float hydrogen_mass_abundance; - - /* 'mu', used to convert min_temperature to min_internal energy*/ - float mean_molecular_weight; - - /*! Minimally allowed internal energy of the particles */ - float min_energy; - - /*! Constant multiplication factor for time-step criterion */ - float cooling_tstep_mult; -}; /** * @brief Calculates du/dt in code units for a particle. diff --git a/src/cooling/const_lambda/cooling_struct.h b/src/cooling/const_lambda/cooling_struct.h index 27c5df16bffbe7d165237d201ca68ea4ba89dd73..6226ca3179175f15599f88d1c1264496b390a31e 100644 --- a/src/cooling/const_lambda/cooling_struct.h +++ b/src/cooling/const_lambda/cooling_struct.h @@ -29,20 +29,16 @@ struct cooling_function_data { /*! Cooling rate in cgs units. Defined by 'rho * du/dt = -lambda * n_H^2'*/ - float lambda; + double lambda; - /*! Minimum temperature (in Kelvin) for all gas particles*/ - float min_temperature; - - /*! Fraction of gas mass that is Hydrogen. Used to calculate n_H*/ + /*! Fraction of gas mass that is Hydrogen. Used to calculate n_H */ float hydrogen_mass_abundance; - /* 'mu', used to convert min_temperature to min_internal energy*/ + /*! 'mu', used to convert min_temperature to min_internal energy */ float mean_molecular_weight; - /*! Minimally allowed internal energy of the particles */ + /*! Minimally allowed internal energy of all the particles */ float min_energy; - float min_energy_cgs; /*! Constant multiplication factor for time-step criterion */ float cooling_tstep_mult;