9 #ifndef THERMODYNAMICS_FUNCS_HPP
10 #define THERMODYNAMICS_FUNCS_HPP
13 #include "../particles/particles.hpp"
20 return temp*pow(p0/w[
IPR], chi);
47 return w[iv]/(w[iv] - dw[iv]);
Real GetMeanCp(T w) const
Real GetTemp(T w) const
Temperature.
void SaturationSurplus(Real dv[], T v, VariableType vtype) const
Real RelativeHumidity(T w, int iv, Thermodynamics *pthermo)
Relative humidity.
Real PotentialTemp(T w, Real p0, Thermodynamics *pthermo)
Potential temperature.
Real saha_ionization_electron_density(Real T, Real num, Real ion_ev)
Equivalent potential temperature.
Real MoistStaticEnergy(T w, Real gz, Thermodynamics *pthermo)
Moist static energy.