26 #ifndef GRINS_ANTIOCH_MIXTURE_H
27 #define GRINS_ANTIOCH_MIXTURE_H
29 #include "grins_config.h"
31 #ifdef GRINS_HAVE_ANTIOCH
38 #include "libmesh/libmesh_common.h"
41 #include "antioch/vector_utils_decl.h"
42 #include "antioch/vector_utils.h"
43 #include "antioch/chemical_mixture.h"
44 #include "antioch/nasa_mixture.h"
45 #include "antioch/cea_curve_fit.h"
46 #include "antioch/reaction_set.h"
65 template <
typename KineticsThermoCurveFit>
66 class AntiochMixture :
public AntiochChemistry
71 AntiochMixture(
const GetPot& input,
const std::string& material );
77 AntiochMixture( libMesh::UniquePtr<Antioch::ChemicalMixture<libMesh::Real> > & chem_mixture,
78 libMesh::UniquePtr<Antioch::ReactionSet<libMesh::Real> > &
reaction_set,
79 libMesh::UniquePtr<Antioch::NASAThermoMixture<libMesh::Real,KineticsThermoCurveFit> > &
nasa_mixture,
80 libMesh::Real min_T = -std::numeric_limits<libMesh::Real>::max(),
88 (
const std::string & param_name,
92 const Antioch::ReactionSet<libMesh::Real>&
reaction_set()
const;
94 const Antioch::NASAThermoMixture<libMesh::Real,KineticsThermoCurveFit> &
nasa_mixture()
const;
110 libMesh::UniquePtr<Antioch::NASAThermoMixture<libMesh::Real,KineticsThermoCurveFit> >
_nasa_mixture;
141 template <
typename KineticsThermoCurveFit>
143 const Antioch::ReactionSet<libMesh::Real>&
146 return *_reaction_set.get();
149 template <
typename KineticsThermoCurveFit>
151 const Antioch::NASAThermoMixture<libMesh::Real,KineticsThermoCurveFit> &
154 return *_nasa_mixture.get();
157 template <
typename KineticsThermoCurveFit>
162 return _h_stat_mech_ref_correction[species];
165 template <
typename KineticsThermoCurveFit>
172 template <
typename KineticsThermoCurveFit>
176 return _clip_negative_rho;
181 #endif // GRINS_HAVE_ANTIOCH
183 #endif // GRINS_ANTIOCH_MIXTURE_H
libMesh::UniquePtr< Antioch::ReactionSet< libMesh::Real > > _reaction_set
bool clip_negative_rho() const
virtual ~AntiochMixture()
libMesh::Real minimum_T() const
std::vector< libMesh::Real > _h_stat_mech_ref_correction
libMesh::Real h_stat_mech_ref_correction(unsigned int species) const
const Antioch::NASAThermoMixture< libMesh::Real, KineticsThermoCurveFit > & nasa_mixture() const
const Antioch::ReactionSet< libMesh::Real > & reaction_set() const
libMesh::UniquePtr< Antioch::NASAThermoMixture< libMesh::Real, KineticsThermoCurveFit > > _nasa_mixture
virtual void register_parameter(const std::string ¶m_name, libMesh::ParameterMultiAccessor< libMesh::Number > ¶m_pointer) const
Each subclass will register its copy of an independent.
void build_stat_mech_ref_correction()