antioch-0.4.0
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
Antioch::CEAEvaluator< CoeffType > Class Template Reference

#include <ascii_parser.h>

Inheritance diagram for Antioch::CEAEvaluator< CoeffType >:
Antioch::NASAEvaluator< CoeffType, CEACurveFit< CoeffType > >

Public Member Functions

 CEAEvaluator (const CEAThermoMixture< CoeffType > &cea_mixture)
 
 ~CEAEvaluator ()
 
const NASAThermoMixture
< CoeffType, CEACurveFit
< CoeffType > > & 
cea_mixture () const
 
StateType cp (const TempCache< StateType > &cache, unsigned int species) const
 We currently need different specializations for scalar vs vector inputs here. More...
 
enable_if_c< has_size
< VectorStateType >::value,
StateType >::type 
cp (const TempCache< StateType > &cache, const VectorStateType &mass_fractions) const
 
this cp (cache, species)-this-> chem_mixture().R(species)) template< typename StateType, typename VectorStateType >typename enable_if_c< has_size< VectorStateType >::value, StateType >::typecv(const TempCache< StateType > &cache, const VectorStateType &mass_fractions) const
 
 cv (const TempCache< StateType > &cache, unsigned int species) const ANTIOCH_AUTOFUNC(StateType
 
 h (const TempCache< StateType > &cache, unsigned int species) const ANTIOCH_AUTOFUNC(StateType
 
this chem_mixture ().R(species)*cache.T *this-> h_over_RT(cache, species)) template< typename StateType, typename VectorStateType >typename enable_if_c< has_size< VectorStateType >::value, void >::typeh(const TempCache< StateType > &cache, VectorStateType &h) const
 
StateType h_RT_minus_s_R (const TempCache< StateType > &cache, unsigned int species) const
 We currently need different specializations for scalar vs vector inputs here. More...
 
enable_if_c< has_size
< VectorStateType >::value,
void >::type 
h_RT_minus_s_R (const TempCache< StateType > &cache, VectorStateType &h_RT_minus_s_R) const
 
StateType dh_RT_minus_s_R_dT (const TempCache< StateType > &cache, unsigned int species) const
 
enable_if_c< has_size
< VectorStateType >::value,
void >::type 
dh_RT_minus_s_R_dT (const TempCache< StateType > &cache, VectorStateType &h_RT_minus_s_R) const
 
StateType cp_over_R (const TempCache< StateType > &cache, unsigned int species) const
 Cp over R, directly from the curve fit. More...
 
StateType cv_over_R (const TempCache< StateType > &cache, unsigned int species) const
 Cv over R, from ideal gas,. More...
 
StateType h_over_RT (const TempCache< StateType > &cache, unsigned int species) const
 h over RT, directly from the curve fit More...
 
StateType s_over_R (const TempCache< StateType > &cache, unsigned int species) const
 s over R, directly from the curve fit More...
 

Protected Member Functions

const ChemicalMixture
< CoeffType > & 
chem_mixture () const
 Convenience function. More...
 
unsigned int n_species () const
 Convenience function. More...
 

Protected Attributes

const NASAThermoMixture
< CoeffType, CEACurveFit
< CoeffType > > & 
_nasa_mixture
 

Detailed Description

template<typename CoeffType = double>
class Antioch::CEAEvaluator< CoeffType >

Definition at line 78 of file ascii_parser.h.

Constructor & Destructor Documentation

template<typename CoeffType = double>
Antioch::CEAEvaluator< CoeffType >::CEAEvaluator ( const CEAThermoMixture< CoeffType > &  cea_mixture)
inline

Definition at line 48 of file cea_evaluator.h.

References antioch_deprecated.

48  :
49  NASAEvaluator<CoeffType,CEACurveFit<CoeffType> >(cea_mixture)
#define antioch_deprecated()
const NASAThermoMixture< CoeffType, CEACurveFit< CoeffType > > & cea_mixture() const
template<typename CoeffType = double>
Antioch::CEAEvaluator< CoeffType >::~CEAEvaluator ( )
inline

Definition at line 51 of file cea_evaluator.h.

51 {}

Member Function Documentation

const NASAThermoMixture<CoeffType,CEACurveFit< CoeffType > >& Antioch::NASAEvaluator< CoeffType, CEACurveFit< CoeffType > >::cea_mixture ( ) const
inherited
this Antioch::NASAEvaluator< CoeffType, CEACurveFit< CoeffType > >::chem_mixture ( ) -> h_over_RT(cache,species)) template<typename StateType, typename VectorStateType> typename enable_if_c< has_size<VectorStateType>::value, void >::type h( const TempCache<StateType>& cache, VectorStateType& h ) const
inherited
const ChemicalMixture<CoeffType>& Antioch::NASAEvaluator< CoeffType, CEACurveFit< CoeffType > >::chem_mixture ( ) const
protectedinherited

Convenience function.

StateType Antioch::NASAEvaluator< CoeffType, CEACurveFit< CoeffType > >::cp ( const TempCache< StateType > &  cache,
unsigned int  species 
) const
inherited

We currently need different specializations for scalar vs vector inputs here.

Referenced by test_cp().

enable_if_c< has_size<VectorStateType>::value, StateType >::type Antioch::NASAEvaluator< CoeffType, CEACurveFit< CoeffType > >::cp ( const TempCache< StateType > &  cache,
const VectorStateType &  mass_fractions 
) const
inherited
this Antioch::NASAEvaluator< CoeffType, CEACurveFit< CoeffType > >::cp ( cache  ,
species   
) -> chem_mixture().R(species)) template<typename StateType, typename VectorStateType> typename enable_if_c< has_size<VectorStateType>::value, StateType >::type cv( const TempCache<StateType>& cache, const VectorStateType& mass_fractions ) const
inherited
StateType Antioch::NASAEvaluator< CoeffType, CEACurveFit< CoeffType > >::cp_over_R ( const TempCache< StateType > &  cache,
unsigned int  species 
) const
inherited

Cp over R, directly from the curve fit.

Antioch::NASAEvaluator< CoeffType, CEACurveFit< CoeffType > >::cv ( const TempCache< StateType > &  cache,
unsigned int  species 
) const
inherited
StateType Antioch::NASAEvaluator< CoeffType, CEACurveFit< CoeffType > >::cv_over_R ( const TempCache< StateType > &  cache,
unsigned int  species 
) const
inherited

Cv over R, from ideal gas,.

Referenced by tester().

StateType Antioch::NASAEvaluator< CoeffType, CEACurveFit< CoeffType > >::dh_RT_minus_s_R_dT ( const TempCache< StateType > &  cache,
unsigned int  species 
) const
inherited
enable_if_c< has_size<VectorStateType>::value, void >::type Antioch::NASAEvaluator< CoeffType, CEACurveFit< CoeffType > >::dh_RT_minus_s_R_dT ( const TempCache< StateType > &  cache,
VectorStateType &  h_RT_minus_s_R 
) const
inherited
Antioch::NASAEvaluator< CoeffType, CEACurveFit< CoeffType > >::h ( const TempCache< StateType > &  cache,
unsigned int  species 
) const
inherited
StateType Antioch::NASAEvaluator< CoeffType, CEACurveFit< CoeffType > >::h_over_RT ( const TempCache< StateType > &  cache,
unsigned int  species 
) const
inherited

h over RT, directly from the curve fit

StateType Antioch::NASAEvaluator< CoeffType, CEACurveFit< CoeffType > >::h_RT_minus_s_R ( const TempCache< StateType > &  cache,
unsigned int  species 
) const
inherited

We currently need different specializations for scalar vs vector inputs here.

enable_if_c< has_size<VectorStateType>::value, void >::type Antioch::NASAEvaluator< CoeffType, CEACurveFit< CoeffType > >::h_RT_minus_s_R ( const TempCache< StateType > &  cache,
VectorStateType &  h_RT_minus_s_R 
) const
inherited
unsigned int Antioch::NASAEvaluator< CoeffType, CEACurveFit< CoeffType > >::n_species ( ) const
protectedinherited

Convenience function.

StateType Antioch::NASAEvaluator< CoeffType, CEACurveFit< CoeffType > >::s_over_R ( const TempCache< StateType > &  cache,
unsigned int  species 
) const
inherited

s over R, directly from the curve fit

Member Data Documentation

const NASAThermoMixture<CoeffType,CEACurveFit< CoeffType > >& Antioch::NASAEvaluator< CoeffType, CEACurveFit< CoeffType > >::_nasa_mixture
protectedinherited

Definition at line 133 of file nasa_evaluator.h.


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

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