34 #include "libmesh/fem_system.h"
38 template<
typename Chemistry>
40 SharedPtr<CatalycityBase>& gamma,
41 const std::vector<VariableIndex>& species_vars,
44 unsigned int reactant_species_idx)
46 _chemistry(*(chem.get())),
48 _C( std::sqrt( chem->R(reactant_species_idx)/(
GRINS::Constants::
two_pi) ) ),
49 _species_vars(species_vars),
54 template<
typename Chemistry>
57 const unsigned int reactant_species_idx )
58 : _chemistry(chemistry),
59 _gamma_s( gamma.clone() ),
60 _C( std::sqrt( chemistry.R(reactant_species_idx)/(
GRINS::Constants::
two_pi) ) )
63 template<
typename Chemistry>
69 _gamma_s->set_params( params );
72 _gamma_ptr->set_params( params );
77 template<
typename Chemistry>
81 _gamma_ptr->register_parameter(param_name,param_pointer);
unsigned int VariableIndex
More descriptive name of the type used for variable indices.
void set_catalycity_params(const std::vector< libMesh::Real > ¶ms)
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.
CatalyticWallBase(SharedPtr< Chemistry > &chem, SharedPtr< CatalycityBase > &gamma, const std::vector< VariableIndex > &species_vars, VariableIndex T_var, libMesh::Real p0, unsigned int reactant_species_idx)
const libMesh::Real two_pi