antioch-0.4.0
|
#include <ascii_parser.h>
Public Member Functions | |
StatMechThermodynamics (const ChemicalMixture< CoeffType > &chem_mixture) | |
virtual | ~StatMechThermodynamics () |
Destructor. More... | |
CoeffType | cv_trans (const unsigned int species) const |
CoeffType | cv_trans_over_R (const unsigned int species) const |
CoeffType | cv_rot (const unsigned int species) const |
CoeffType | cv_rot_over_R (const unsigned int species) const |
CoeffType | cv_tr (const unsigned int species) const |
CoeffType | cv_tr_over_R (const unsigned int species) const |
template<typename VectorStateType > | |
enable_if_c< has_size < VectorStateType >::value, typename Antioch::value_type < VectorStateType >::type > ::type | cv_tr (const VectorStateType &mass_fractions) const |
template<typename StateType > | |
StateType | cv_vib (const unsigned int species, const StateType &Tv) const |
template<typename StateType > | |
StateType | cv_vib_over_R (const unsigned int species, const StateType &Tv) const |
template<typename VectorStateType > | |
enable_if_c< has_size < VectorStateType >::value, typename Antioch::value_type < VectorStateType >::type > ::type | cv_vib (const typename Antioch::value_type< VectorStateType >::type &Tv, const VectorStateType &mass_fractions) const |
template<typename StateType > | |
StateType | cv_el (const unsigned int species, const StateType &Te) const |
template<typename VectorStateType > | |
enable_if_c< has_size < VectorStateType >::value, typename Antioch::value_type < VectorStateType >::type > ::type | cv_el (const typename Antioch::value_type< VectorStateType >::type &Te, const VectorStateType &mass_fractions) const |
template<typename StateType > | |
StateType | cv_ve (const unsigned int species, const StateType &Tv) const |
template<typename VectorStateType > | |
enable_if_c< has_size < VectorStateType >::value, typename Antioch::value_type < VectorStateType >::type > ::type | cv_ve (const typename Antioch::value_type< VectorStateType >::type &Tv, const VectorStateType &mass_fractions) const |
template<typename StateType > | |
StateType | cv (const unsigned int species, const StateType &T, const StateType &Tv) const |
template<typename VectorStateType > | |
enable_if_c< has_size < VectorStateType >::value, typename Antioch::value_type < VectorStateType >::type > ::type | cv (const typename Antioch::value_type< VectorStateType >::type &T, const typename Antioch::value_type< VectorStateType >::type &Tv, const VectorStateType &mass_fractions) const |
template<typename VectorStateType > | |
enable_if_c< has_size < VectorStateType >::value, typename Antioch::value_type < VectorStateType >::type > ::type | cp (const typename Antioch::value_type< VectorStateType >::type &T, const typename Antioch::value_type< VectorStateType >::type &Tv, const VectorStateType &mass_fractions) const |
template<typename StateType > | |
StateType | h_tot (const unsigned int species, const StateType &T, const StateType &Tv) const |
template<typename StateType > | |
StateType | h_tot (const unsigned int species, const StateType &T) const |
template<typename VectorStateType > | |
enable_if_c< has_size < VectorStateType >::value, typename Antioch::value_type < VectorStateType >::type > ::type | h_tot (const typename Antioch::value_type< VectorStateType >::type &T, const typename Antioch::value_type< VectorStateType >::type &Tv, const VectorStateType &mass_fractions) const |
template<typename VectorStateType > | |
enable_if_c< has_size < VectorStateType >::value, typename Antioch::value_type < VectorStateType >::type > ::type | h_tot (const typename Antioch::value_type< VectorStateType >::type &T, const VectorStateType &mass_fractions) const |
template<typename StateType > | |
StateType | e_tot (const unsigned int species, const StateType &T, const StateType &Tv) const |
template<typename VectorStateType > | |
enable_if_c< has_size < VectorStateType >::value, typename Antioch::value_type < VectorStateType >::type > ::type | e_tot (const typename Antioch::value_type< VectorStateType >::type &T, const typename Antioch::value_type< VectorStateType >::type &Tv, const VectorStateType &mass_fractions) const |
template<typename StateType > | |
StateType | e_tot (const unsigned int species, const StateType &T) const |
template<typename VectorStateType > | |
enable_if_c< has_size < VectorStateType >::value, typename Antioch::value_type < VectorStateType >::type > ::type | e_tot (const typename Antioch::value_type< VectorStateType >::type &T, const VectorStateType &mass_fractions) const |
template<typename StateType > | |
StateType | e_tr (const unsigned int species, const StateType &T) const |
template<typename VectorStateType > | |
enable_if_c< has_size < VectorStateType >::value, typename Antioch::value_type < VectorStateType >::type > ::type | e_tr (const typename Antioch::value_type< VectorStateType >::type &T, const VectorStateType &mass_fractions) const |
template<typename StateType > | |
StateType | e_vib (const unsigned int species, const StateType &Tv) const |
template<typename VectorStateType > | |
enable_if_c< has_size < VectorStateType >::value, typename Antioch::value_type < VectorStateType >::type > ::type | e_vib (const typename Antioch::value_type< VectorStateType >::type &Tv, const VectorStateType &mass_fractions) const |
template<typename StateType > | |
StateType | e_el (const unsigned int species, const StateType &Te) const |
template<typename VectorStateType > | |
enable_if_c< has_size < VectorStateType >::value, typename Antioch::value_type < VectorStateType >::type > ::type | e_el (const typename Antioch::value_type< VectorStateType >::type &Te, const VectorStateType &mass_fractions) const |
template<typename StateType > | |
StateType | e_ve (const unsigned int species, const StateType &Tv) const |
template<typename VectorStateType > | |
enable_if_c< has_size < VectorStateType >::value, typename Antioch::value_type < VectorStateType >::type > ::type | e_ve (const typename Antioch::value_type< VectorStateType >::type &Te, const VectorStateType &mass_fractions) const |
CoeffType | e_ve_min () const |
template<typename VectorStateType > | |
void | e_and_cv_ve (const typename Antioch::value_type< VectorStateType >::type &Tv, const VectorStateType &mass_fractions, typename Antioch::value_type< VectorStateType >::type &e_ve, typename Antioch::value_type< VectorStateType >::type &cv_ve) const |
CoeffType | e_0 (const unsigned int species) const |
template<typename VectorStateType > | |
enable_if_c< has_size < VectorStateType >::value, typename Antioch::value_type < VectorStateType >::type > ::type | e_0 (const VectorStateType &mass_fractions) const |
template<typename VectorStateType > | |
enable_if_c< has_size < VectorStateType >::value, typename Antioch::value_type < VectorStateType >::type > ::type | Tv_from_e_ve (const typename Antioch::value_type< VectorStateType >::type &e_ve, const VectorStateType &mass_fractions, typename Antioch::value_type< VectorStateType >::type Tv=-1) const |
template<typename VectorStateType > | |
enable_if_c< has_size < VectorStateType >::value, typename Antioch::value_type < VectorStateType >::type > ::type | T_from_e_tot (const typename Antioch::value_type< VectorStateType >::type &e_tot, const VectorStateType &mass_fractions, typename Antioch::value_type< VectorStateType >::type T=-1) const |
template<typename VectorStateType > | |
enable_if_c< has_size < VectorStateType >::value, typename Antioch::value_type < VectorStateType >::type > ::type | T_from_e_tr (const typename Antioch::value_type< VectorStateType >::type &e_tr, const VectorStateType &mass_fractions, typename Antioch::value_type< VectorStateType >::type T=-1) const |
template<typename VectorStateType > | |
enable_if_c< has_size < VectorStateType >::value, typename Antioch::value_type < VectorStateType >::type > ::type | T_from_h_tot (const typename Antioch::value_type< VectorStateType >::type &h_tot, const VectorStateType &mass_fractions, typename Antioch::value_type< VectorStateType >::type T=-1) const |
template<typename VectorStateType > | |
enable_if_c< has_size < VectorStateType >::value, typename Antioch::value_type < VectorStateType >::type > ::type | T_from_h_tot_Tv (const typename Antioch::value_type< VectorStateType >::type &h_tot, const typename Antioch::value_type< VectorStateType >::type &Tv, const VectorStateType &mass_fractions, typename Antioch::value_type< VectorStateType >::type T=-1) const |
template<typename VectorStateType > | |
enable_if_c< has_size < VectorStateType >::value, typename Antioch::value_type < VectorStateType >::type > ::type | s (const typename Antioch::value_type< VectorStateType >::type &T, const typename Antioch::value_type< VectorStateType >::type &p, const VectorStateType &mass_fractions) const |
template<typename VectorStateType > | |
enable_if_c< has_size < VectorStateType >::value, typename Antioch::value_type < VectorStateType >::type > ::type | cv_tr (const VectorStateType &mass_fractions) const |
template<typename VectorStateType > | |
enable_if_c< has_size < VectorStateType >::value, typename Antioch::value_type < VectorStateType >::type > ::type | cv_vib (const typename Antioch::value_type< VectorStateType >::type &Tv, const VectorStateType &mass_fractions) const |
template<typename VectorStateType > | |
enable_if_c< has_size < VectorStateType >::value, typename Antioch::value_type < VectorStateType >::type > ::type | cv_el (const typename Antioch::value_type< VectorStateType >::type &Te, const VectorStateType &mass_fractions) const |
template<typename VectorStateType > | |
enable_if_c< has_size < VectorStateType >::value, typename Antioch::value_type < VectorStateType >::type > ::type | cv_ve (const typename Antioch::value_type< VectorStateType >::type &Tv, const VectorStateType &mass_fractions) const |
template<typename VectorStateType > | |
enable_if_c< has_size < VectorStateType >::value, typename Antioch::value_type < VectorStateType >::type > ::type | cv (const typename Antioch::value_type< VectorStateType >::type &, const typename Antioch::value_type< VectorStateType >::type &Tv, const VectorStateType &mass_fractions) const |
template<typename VectorStateType > | |
enable_if_c< has_size < VectorStateType >::value, typename Antioch::value_type < VectorStateType >::type > ::type | cp (const typename Antioch::value_type< VectorStateType >::type &T, const typename Antioch::value_type< VectorStateType >::type &Tv, const VectorStateType &mass_fractions) const |
template<typename VectorStateType > | |
enable_if_c< has_size < VectorStateType >::value, typename Antioch::value_type < VectorStateType >::type > ::type | h_tot (const typename Antioch::value_type< VectorStateType >::type &T, const typename Antioch::value_type< VectorStateType >::type &Tv, const VectorStateType &mass_fractions) const |
template<typename VectorStateType > | |
enable_if_c< has_size < VectorStateType >::value, typename Antioch::value_type < VectorStateType >::type > ::type | h_tot (const typename Antioch::value_type< VectorStateType >::type &T, const VectorStateType &mass_fractions) const |
template<typename VectorStateType > | |
enable_if_c< has_size < VectorStateType >::value, typename Antioch::value_type < VectorStateType >::type > ::type | e_tot (const typename Antioch::value_type< VectorStateType >::type &T, const typename Antioch::value_type< VectorStateType >::type &Tv, const VectorStateType &mass_fractions) const |
template<typename VectorStateType > | |
enable_if_c< has_size < VectorStateType >::value, typename Antioch::value_type < VectorStateType >::type > ::type | e_tot (const typename Antioch::value_type< VectorStateType >::type &T, const VectorStateType &mass_fractions) const |
template<typename VectorStateType > | |
enable_if_c< has_size < VectorStateType >::value, typename Antioch::value_type < VectorStateType >::type > ::type | e_tr (const typename Antioch::value_type< VectorStateType >::type &T, const VectorStateType &mass_fractions) const |
template<typename VectorStateType > | |
enable_if_c< has_size < VectorStateType >::value, typename Antioch::value_type < VectorStateType >::type > ::type | e_vib (const typename Antioch::value_type< VectorStateType >::type &Tv, const VectorStateType &mass_fractions) const |
template<typename VectorStateType > | |
enable_if_c< has_size < VectorStateType >::value, typename Antioch::value_type < VectorStateType >::type > ::type | e_el (const typename Antioch::value_type< VectorStateType >::type &Te, const VectorStateType &mass_fractions) const |
template<typename VectorStateType > | |
enable_if_c< has_size < VectorStateType >::value, typename Antioch::value_type < VectorStateType >::type > ::type | e_ve (const typename Antioch::value_type< VectorStateType >::type &Tv, const VectorStateType &mass_fractions) const |
template<typename VectorStateType > | |
enable_if_c< has_size < VectorStateType >::value, typename Antioch::value_type < VectorStateType >::type > ::type | e_0 (const VectorStateType &mass_fractions) const |
template<typename VectorStateType > | |
enable_if_c< has_size < VectorStateType >::value, typename Antioch::value_type < VectorStateType >::type > ::type | Tv_from_e_ve (const typename Antioch::value_type< VectorStateType >::type &e_ve, const VectorStateType &mass_fractions, typename Antioch::value_type< VectorStateType >::type Tv) const |
template<typename VectorStateType > | |
enable_if_c< has_size < VectorStateType >::value, typename Antioch::value_type < VectorStateType >::type > ::type | T_from_e_tot (const typename Antioch::value_type< VectorStateType >::type &e_tot, const VectorStateType &mass_fractions, typename Antioch::value_type< VectorStateType >::type T) const |
template<typename VectorStateType > | |
enable_if_c< has_size < VectorStateType >::value, typename Antioch::value_type < VectorStateType >::type > ::type | T_from_e_tr (const typename Antioch::value_type< VectorStateType >::type &e_tr, const VectorStateType &mass_fractions, typename Antioch::value_type< VectorStateType >::type T) const |
template<typename VectorStateType > | |
enable_if_c< has_size < VectorStateType >::value, typename Antioch::value_type < VectorStateType >::type > ::type | T_from_h_tot (const typename Antioch::value_type< VectorStateType >::type &h_tot, const VectorStateType &mass_fractions, typename Antioch::value_type< VectorStateType >::type T) const |
template<typename VectorStateType > | |
enable_if_c< has_size < VectorStateType >::value, typename Antioch::value_type < VectorStateType >::type > ::type | T_from_h_tot_Tv (const typename Antioch::value_type< VectorStateType >::type &h_tot, const typename Antioch::value_type< VectorStateType >::type &Tv, const VectorStateType &mass_fractions, typename Antioch::value_type< VectorStateType >::type T) const |
template<typename VectorStateType > | |
enable_if_c< has_size < VectorStateType >::value, typename Antioch::value_type < VectorStateType >::type > ::type | s (const typename Antioch::value_type< VectorStateType >::type &T, const typename Antioch::value_type< VectorStateType >::type &p, const VectorStateType &mass_fractions) const |
Protected Attributes | |
const ChemicalMixture < CoeffType > & | _chem_mixture |
Private Member Functions | |
StatMechThermodynamics () | |
Default constructor. More... | |
Definition at line 82 of file ascii_parser.h.
|
inline |
Definition at line 499 of file stat_mech_thermo.h.
|
inlinevirtual |
Destructor.
virtual so this can be subclassed by the user.
Definition at line 507 of file stat_mech_thermo.h.
|
private |
Default constructor.
Private to force to user to supply a ChemicalMixture object.
enable_if_c< has_size<VectorStateType>::value, typename Antioch::value_type<VectorStateType>::type >::type Antioch::StatMechThermodynamics< CoeffType >::cp | ( | const typename Antioch::value_type< VectorStateType >::type & | T, |
const typename Antioch::value_type< VectorStateType >::type & | Tv, | ||
const VectorStateType & | mass_fractions | ||
) | const |
|
inline |
Definition at line 771 of file stat_mech_thermo.h.
|
inline |
Definition at line 743 of file stat_mech_thermo.h.
enable_if_c< has_size<VectorStateType>::value, typename Antioch::value_type<VectorStateType>::type >::type Antioch::StatMechThermodynamics< CoeffType >::cv | ( | const typename Antioch::value_type< VectorStateType >::type & | T, |
const typename Antioch::value_type< VectorStateType >::type & | Tv, | ||
const VectorStateType & | mass_fractions | ||
) | const |
|
inline |
Definition at line 757 of file stat_mech_thermo.h.
|
inline |
Definition at line 645 of file stat_mech_thermo.h.
References antioch_assert_equal_to, Antioch::ChemicalSpecies< CoeffType >::gas_constant(), Antioch::ChemicalSpecies< CoeffType >::ndg_e(), Antioch::ChemicalSpecies< CoeffType >::theta_e(), and Antioch::zero_clone().
Referenced by test_cv_el().
enable_if_c< has_size<VectorStateType>::value, typename Antioch::value_type<VectorStateType>::type >::type Antioch::StatMechThermodynamics< CoeffType >::cv_el | ( | const typename Antioch::value_type< VectorStateType >::type & | Te, |
const VectorStateType & | mass_fractions | ||
) | const |
|
inline |
Definition at line 703 of file stat_mech_thermo.h.
|
inline |
so then
Definition at line 528 of file stat_mech_thermo.h.
References std::max(), and Antioch::max().
|
inline |
so then
Definition at line 537 of file stat_mech_thermo.h.
References std::max(), and Antioch::max().
|
inline |
Definition at line 546 of file stat_mech_thermo.h.
Referenced by test_cv_tr().
enable_if_c< has_size<VectorStateType>::value, typename Antioch::value_type<VectorStateType>::type >::type Antioch::StatMechThermodynamics< CoeffType >::cv_tr | ( | const VectorStateType & | mass_fractions | ) | const |
|
inline |
Definition at line 565 of file stat_mech_thermo.h.
|
inline |
Definition at line 553 of file stat_mech_thermo.h.
|
inline |
Definition at line 514 of file stat_mech_thermo.h.
|
inline |
Definition at line 521 of file stat_mech_thermo.h.
|
inline |
Definition at line 720 of file stat_mech_thermo.h.
enable_if_c< has_size<VectorStateType>::value, typename Antioch::value_type<VectorStateType>::type >::type Antioch::StatMechThermodynamics< CoeffType >::cv_ve | ( | const typename Antioch::value_type< VectorStateType >::type & | Tv, |
const VectorStateType & | mass_fractions | ||
) | const |
|
inline |
Definition at line 733 of file stat_mech_thermo.h.
|
inline |
Definition at line 581 of file stat_mech_thermo.h.
Referenced by test_cv_vib().
enable_if_c< has_size<VectorStateType>::value, typename Antioch::value_type<VectorStateType>::type >::type Antioch::StatMechThermodynamics< CoeffType >::cv_vib | ( | const typename Antioch::value_type< VectorStateType >::type & | Tv, |
const VectorStateType & | mass_fractions | ||
) | const |
|
inline |
Definition at line 628 of file stat_mech_thermo.h.
|
inline |
Definition at line 590 of file stat_mech_thermo.h.
References antioch_assert_equal_to, Antioch::ChemicalSpecies< CoeffType >::ndg_v(), Antioch::ChemicalSpecies< CoeffType >::theta_v(), and Antioch::zero_clone().
|
inline |
Definition at line 1052 of file stat_mech_thermo.h.
References Antioch::ChemicalSpecies< CoeffType >::formation_enthalpy().
enable_if_c< has_size<VectorStateType>::value, typename Antioch::value_type<VectorStateType>::type >::type Antioch::StatMechThermodynamics< CoeffType >::e_0 | ( | const VectorStateType & | mass_fractions | ) | const |
|
inline |
Definition at line 1065 of file stat_mech_thermo.h.
|
inline |
Definition at line 1041 of file stat_mech_thermo.h.
|
inline |
Definition at line 960 of file stat_mech_thermo.h.
References antioch_assert_equal_to, Antioch::ChemicalSpecies< CoeffType >::gas_constant(), Antioch::ChemicalSpecies< CoeffType >::ndg_e(), Antioch::ChemicalSpecies< CoeffType >::theta_e(), and Antioch::zero_clone().
enable_if_c< has_size<VectorStateType>::value, typename Antioch::value_type<VectorStateType>::type >::type Antioch::StatMechThermodynamics< CoeffType >::e_el | ( | const typename Antioch::value_type< VectorStateType >::type & | Te, |
const VectorStateType & | mass_fractions | ||
) | const |
|
inline |
Definition at line 995 of file stat_mech_thermo.h.
|
inline |
Definition at line 837 of file stat_mech_thermo.h.
Referenced by test_T_from_e_tot().
enable_if_c< has_size<VectorStateType>::value, typename Antioch::value_type<VectorStateType>::type >::type Antioch::StatMechThermodynamics< CoeffType >::e_tot | ( | const typename Antioch::value_type< VectorStateType >::type & | T, |
const typename Antioch::value_type< VectorStateType >::type & | Tv, | ||
const VectorStateType & | mass_fractions | ||
) | const |
|
inline |
Definition at line 862 of file stat_mech_thermo.h.
enable_if_c< has_size<VectorStateType>::value, typename Antioch::value_type<VectorStateType>::type >::type Antioch::StatMechThermodynamics< CoeffType >::e_tot | ( | const typename Antioch::value_type< VectorStateType >::type & | T, |
const VectorStateType & | mass_fractions | ||
) | const |
|
inline |
Definition at line 852 of file stat_mech_thermo.h.
|
inline |
Definition at line 875 of file stat_mech_thermo.h.
|
inline |
Definition at line 884 of file stat_mech_thermo.h.
enable_if_c< has_size<VectorStateType>::value, typename Antioch::value_type<VectorStateType>::type >::type Antioch::StatMechThermodynamics< CoeffType >::e_tr | ( | const typename Antioch::value_type< VectorStateType >::type & | T, |
const VectorStateType & | mass_fractions | ||
) | const |
|
inline |
Definition at line 897 of file stat_mech_thermo.h.
|
inline |
Definition at line 1012 of file stat_mech_thermo.h.
enable_if_c< has_size<VectorStateType>::value, typename Antioch::value_type<VectorStateType>::type >::type Antioch::StatMechThermodynamics< CoeffType >::e_ve | ( | const typename Antioch::value_type< VectorStateType >::type & | Te, |
const VectorStateType & | mass_fractions | ||
) | const |
|
inline |
Definition at line 1025 of file stat_mech_thermo.h.
|
inline |
Definition at line 1033 of file stat_mech_thermo.h.
References antioch_not_implemented.
|
inline |
Definition at line 914 of file stat_mech_thermo.h.
References antioch_assert_equal_to, Antioch::ChemicalSpecies< CoeffType >::gas_constant(), Antioch::ChemicalSpecies< CoeffType >::ndg_v(), and Antioch::ChemicalSpecies< CoeffType >::theta_v().
enable_if_c< has_size<VectorStateType>::value, typename Antioch::value_type<VectorStateType>::type >::type Antioch::StatMechThermodynamics< CoeffType >::e_vib | ( | const typename Antioch::value_type< VectorStateType >::type & | Tv, |
const VectorStateType & | mass_fractions | ||
) | const |
|
inline |
Definition at line 943 of file stat_mech_thermo.h.
|
inline |
Definition at line 781 of file stat_mech_thermo.h.
References Antioch::ChemicalSpecies< CoeffType >::gas_constant().
|
inline |
Definition at line 793 of file stat_mech_thermo.h.
enable_if_c< has_size<VectorStateType>::value, typename Antioch::value_type<VectorStateType>::type >::type Antioch::StatMechThermodynamics< CoeffType >::h_tot | ( | const typename Antioch::value_type< VectorStateType >::type & | T, |
const typename Antioch::value_type< VectorStateType >::type & | Tv, | ||
const VectorStateType & | mass_fractions | ||
) | const |
enable_if_c< has_size<VectorStateType>::value, typename Antioch::value_type<VectorStateType>::type >::type Antioch::StatMechThermodynamics< CoeffType >::h_tot | ( | const typename Antioch::value_type< VectorStateType >::type & | T, |
const VectorStateType & | mass_fractions | ||
) | const |
|
inline |
Definition at line 806 of file stat_mech_thermo.h.
|
inline |
Definition at line 828 of file stat_mech_thermo.h.
enable_if_c< has_size<VectorStateType>::value, typename Antioch::value_type<VectorStateType>::type >::type Antioch::StatMechThermodynamics< CoeffType >::s | ( | const typename Antioch::value_type< VectorStateType >::type & | T, |
const typename Antioch::value_type< VectorStateType >::type & | p, | ||
const VectorStateType & | mass_fractions | ||
) | const |
Computes the mixture specific entropy (J/kg-K) from input temperature (K) and pressure (Pa).
|
inline |
enable_if_c< has_size<VectorStateType>::value, typename Antioch::value_type<VectorStateType>::type >::type Antioch::StatMechThermodynamics< CoeffType >::T_from_e_tot | ( | const typename Antioch::value_type< VectorStateType >::type & | e_tot, |
const VectorStateType & | mass_fractions, | ||
typename Antioch::value_type< VectorStateType >::type | T = -1 |
||
) | const |
Computes the mixture temperature (K) from input total energy per unit mass (J/kg).
Referenced by test_T_from_e_tot().
|
inline |
Definition at line 1100 of file stat_mech_thermo.h.
References std::max(), Antioch::max(), std::min(), and Antioch::min().
enable_if_c< has_size<VectorStateType>::value, typename Antioch::value_type<VectorStateType>::type >::type Antioch::StatMechThermodynamics< CoeffType >::T_from_e_tr | ( | const typename Antioch::value_type< VectorStateType >::type & | e_tr, |
const VectorStateType & | mass_fractions, | ||
typename Antioch::value_type< VectorStateType >::type | T = -1 |
||
) | const |
Computes the mixture temperature (K) from input translational/rotational energy per unit mass (J/kg).
|
inline |
enable_if_c< has_size<VectorStateType>::value, typename Antioch::value_type<VectorStateType>::type >::type Antioch::StatMechThermodynamics< CoeffType >::T_from_h_tot | ( | const typename Antioch::value_type< VectorStateType >::type & | h_tot, |
const VectorStateType & | mass_fractions, | ||
typename Antioch::value_type< VectorStateType >::type | T = -1 |
||
) | const |
Computes the mixture temperature (K) from input enthalpy per unit mass (J/kg).
|
inline |
enable_if_c< has_size<VectorStateType>::value, typename Antioch::value_type<VectorStateType>::type >::type Antioch::StatMechThermodynamics< CoeffType >::T_from_h_tot_Tv | ( | const typename Antioch::value_type< VectorStateType >::type & | h_tot, |
const typename Antioch::value_type< VectorStateType >::type & | Tv, | ||
const VectorStateType & | mass_fractions, | ||
typename Antioch::value_type< VectorStateType >::type | T = -1 |
||
) | const |
Computes the mixture temperature (K) from input vibrational/electronic temperature Tv (K) and enthalpy per unit mass (J/kg).
|
inline |
enable_if_c< has_size<VectorStateType>::value, typename Antioch::value_type<VectorStateType>::type >::type Antioch::StatMechThermodynamics< CoeffType >::Tv_from_e_ve | ( | const typename Antioch::value_type< VectorStateType >::type & | e_ve, |
const VectorStateType & | mass_fractions, | ||
typename Antioch::value_type< VectorStateType >::type | Tv = -1 |
||
) | const |
Computes the mixture vibrational temperature (K) from input vibrational-electronic energy per unit mass (J/kg).
|
inline |
|
protected |
Definition at line 485 of file stat_mech_thermo.h.