antioch-0.4.0
List of all members | Public Member Functions | Private Attributes
Antioch::IdealGasMicroThermo< MacroThermo, CoeffType > Class Template Reference

#include <ascii_parser.h>

Public Member Functions

 IdealGasMicroThermo (const MacroThermo &ext_thermo, const ChemicalMixture< CoeffType > &chem_mix)
 
 ~IdealGasMicroThermo ()
 
template<typename StateType >
const ANTIOCH_AUTO (StateType) cv_vib(unsigned int s
 cv_vib More...
 
const const StateType &T const ANTIOCH_AUTOFUNC (StateType,(_chem_mix.chemical_species()[s]->n_tr_dofs()< CoeffType(2.))?zero_clone(T):_ext_therm.cv(TempCache< StateType >(T), s)-this->cv_tr(s)) template< typename StateType > const ANTIOCH_AUTO(StateType) cv_vib_over_R(unsigned int s
 cv_vib/R More...
 
const const StateType &T const
const StateType &T const 
ANTIOCH_AUTOFUNC (StateType,(_chem_mix.chemical_species()[s]->n_tr_dofs()< CoeffType(2.))?zero_clone(T):_ext_therm.cv_over_R(TempCache< StateType >(T), s)-this->cv_tr_over_R(s)) const CoeffType cv_rot(unsigned int s) const
 cv_rot More...
 
const CoeffType cv_rot_over_R (unsigned int s) const
 cv_rot/R More...
 
const CoeffType cv_trans (unsigned int s) const
 cv_trans More...
 
const CoeffType cv_trans_over_R (unsigned int s) const
 cv_trans/R More...
 
const CoeffType cv_tr (unsigned int s) const
 cv_trans-rot More...
 
const CoeffType cv_tr_over_R (unsigned int s) const
 cv_trans_rot/R More...
 

Private Attributes

const ChemicalMixture
< CoeffType > & 
_chem_mix
 
const MacroThermo & _ext_therm
 

Detailed Description

template<typename MacroThermo, typename CoeffType = double>
class Antioch::IdealGasMicroThermo< MacroThermo, CoeffType >

Definition at line 85 of file ascii_parser.h.

Constructor & Destructor Documentation

template<typename MacroThermo , typename CoeffType >
Antioch::IdealGasMicroThermo< MacroThermo, CoeffType >::IdealGasMicroThermo ( const MacroThermo &  ext_thermo,
const ChemicalMixture< CoeffType > &  chem_mix 
)
inline

Definition at line 86 of file ideal_gas_micro_thermo.h.

86  :
87  _chem_mix(chem_mix),
88  _ext_therm(ext_therm)
89  {
90  return;
91  }
const ChemicalMixture< CoeffType > & _chem_mix
template<typename MacroThermo , typename CoeffType >
Antioch::IdealGasMicroThermo< MacroThermo, CoeffType >::~IdealGasMicroThermo ( )
inline

Definition at line 95 of file ideal_gas_micro_thermo.h.

96  {
97  return;
98  }

Member Function Documentation

template<typename MacroThermo, typename CoeffType = double>
template<typename StateType >
const Antioch::IdealGasMicroThermo< MacroThermo, CoeffType >::ANTIOCH_AUTO ( StateType  )

cv_vib

template<typename MacroThermo, typename CoeffType = double>
const const StateType& T const Antioch::IdealGasMicroThermo< MacroThermo, CoeffType >::ANTIOCH_AUTOFUNC ( StateType  ,
(_chem_mix.chemical_species()[s]->n_tr_dofs()< CoeffType(2.))?zero_clone(T):_ext_therm.cv(TempCache< StateType >(T), s)-this->cv_tr(s)   
) const

cv_vib/R

template<typename MacroThermo, typename CoeffType = double>
const const StateType& T const const StateType& T const Antioch::IdealGasMicroThermo< MacroThermo, CoeffType >::ANTIOCH_AUTOFUNC ( StateType  ,
(_chem_mix.chemical_species()[s]->n_tr_dofs()< CoeffType(2.))?zero_clone(T):_ext_therm.cv_over_R(TempCache< StateType >(T), s)-this->cv_tr_over_R(s)   
) const

cv_rot

template<typename MacroThermo , typename CoeffType >
const CoeffType Antioch::IdealGasMicroThermo< MacroThermo, CoeffType >::cv_rot_over_R ( unsigned int  s) const
inline

cv_rot/R

Definition at line 125 of file ideal_gas_micro_thermo.h.

References Antioch::IdealGasMicroThermo< MacroThermo, CoeffType >::cv_tr_over_R(), Antioch::IdealGasMicroThermo< MacroThermo, CoeffType >::cv_trans_over_R(), and std::max().

126  {
127  return std::max(this->cv_tr_over_R(s) - this->cv_trans_over_R(s), CoeffType(0) );
128  }
const CoeffType cv_tr_over_R(unsigned int s) const
cv_trans_rot/R
const CoeffType cv_trans_over_R(unsigned int s) const
cv_trans/R
max(const _Matrix< _Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols > &a, const _Matrix< _Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols > &b) ANTIOCH_AUTOFUNC(_Matrix< _Scalar ANTIOCH_COMMA _Rows ANTIOCH_COMMA _Cols ANTIOCH_COMMA _Options ANTIOCH_COMMA _MaxRows ANTIOCH_COMMA _MaxCols >
template<typename MacroThermo , typename CoeffType >
const CoeffType Antioch::IdealGasMicroThermo< MacroThermo, CoeffType >::cv_tr ( unsigned int  s) const
inline

cv_trans-rot

Definition at line 109 of file ideal_gas_micro_thermo.h.

References Antioch::IdealGasMicroThermo< MacroThermo, CoeffType >::_chem_mix.

110  {
111  return _chem_mix.R(s) * (_chem_mix.chemical_species()[s])->n_tr_dofs();
112  }
const ChemicalMixture< CoeffType > & _chem_mix
template<typename MacroThermo , typename CoeffType >
const CoeffType Antioch::IdealGasMicroThermo< MacroThermo, CoeffType >::cv_tr_over_R ( unsigned int  s) const
inline

cv_trans_rot/R

Definition at line 102 of file ideal_gas_micro_thermo.h.

References Antioch::IdealGasMicroThermo< MacroThermo, CoeffType >::_chem_mix.

Referenced by Antioch::IdealGasMicroThermo< MacroThermo, CoeffType >::cv_rot_over_R().

103  {
104  return _chem_mix.chemical_species()[s]->n_tr_dofs();
105  }
const ChemicalMixture< CoeffType > & _chem_mix
template<typename MacroThermo , typename CoeffType >
const CoeffType Antioch::IdealGasMicroThermo< MacroThermo, CoeffType >::cv_trans ( unsigned int  s) const
inline

cv_trans

Definition at line 132 of file ideal_gas_micro_thermo.h.

References Antioch::IdealGasMicroThermo< MacroThermo, CoeffType >::_chem_mix.

133  {
134  return CoeffType(1.5)*_chem_mix.R(species);
135  }
const ChemicalMixture< CoeffType > & _chem_mix
template<typename MacroThermo , typename CoeffType >
const CoeffType Antioch::IdealGasMicroThermo< MacroThermo, CoeffType >::cv_trans_over_R ( unsigned int  s) const
inline

cv_trans/R

Definition at line 139 of file ideal_gas_micro_thermo.h.

Referenced by Antioch::IdealGasMicroThermo< MacroThermo, CoeffType >::cv_rot_over_R().

140  {
141  return CoeffType(1.5);
142  }

Member Data Documentation

template<typename MacroThermo, typename CoeffType = double>
const ChemicalMixture<CoeffType>& Antioch::IdealGasMicroThermo< MacroThermo, CoeffType >::_chem_mix
private
template<typename MacroThermo, typename CoeffType = double>
const MacroThermo& Antioch::IdealGasMicroThermo< MacroThermo, CoeffType >::_ext_therm
private

Definition at line 81 of file ideal_gas_micro_thermo.h.


The documentation for this class was generated from the following files:

Generated on Thu Jul 7 2016 11:09:49 for antioch-0.4.0 by  doxygen 1.8.8