Planetary Atmosphere Simulator
thermodynamic_funcs.hpp File Reference
#include "thermodynamics.hpp"
#include "../particles/particles.hpp"

Go to the source code of this file.


template<typename T >
Real PotentialTemp (T w, Real p0, Thermodynamics *pthermo)
 Potential temperature. More...
template<typename T >
Real MoistStaticEnergy (T w, Real gz, Thermodynamics *pthermo)
 Moist static energy. More...
template<typename T >
Real RelativeHumidity (T w, int iv, Thermodynamics *pthermo)
 Relative humidity. More...
Real saha_ionization_electron_density (Real T, Real num, Real ion_ev)
 Equivalent potential temperature. More...

Detailed Description

Cheng Li (
Tuesday Jun 01, 2021 15:42:38 PDT
No known bugs.

Definition in file thermodynamic_funcs.hpp.

Function Documentation

◆ PotentialTemp()

template<typename T >
Real PotentialTemp ( w,
Real  p0,
Thermodynamics pthermo 

Potential temperature.

Definition at line 17 of file thermodynamic_funcs.hpp.

◆ MoistStaticEnergy()

template<typename T >
Real MoistStaticEnergy ( w,
Real  gz,
Thermodynamics pthermo 

Moist static energy.

Definition at line 25 of file thermodynamic_funcs.hpp.

◆ RelativeHumidity()

template<typename T >
Real RelativeHumidity ( w,
int  iv,
Thermodynamics pthermo 

Relative humidity.

Definition at line 44 of file thermodynamic_funcs.hpp.

◆ saha_ionization_electron_density()

Real saha_ionization_electron_density ( Real  T,
Real  num,
Real  ion_ev 

Equivalent potential temperature.

Definition at line 13 of file ionization.cpp.