#include <gas_recombination_catalytic_wall_neumann_bc_factory_impl.h>
GRINS::GasRecombinationCatalyticWallNeumannBCFactoryImpl::GasRecombinationCatalyticWallNeumannBCFactoryImpl |
( |
| ) |
|
|
inline |
GRINS::GasRecombinationCatalyticWallNeumannBCFactoryImpl::~GasRecombinationCatalyticWallNeumannBCFactoryImpl |
( |
| ) |
|
|
inline |
SharedPtr< NeumannBCAbstract > GRINS::GasRecombinationCatalyticWallNeumannBCFactoryImpl::build_catalytic_wall |
( |
const GetPot & |
input, |
|
|
const std::string & |
reaction, |
|
|
SharedPtr< CatalycityBase > & |
gamma_ptr, |
|
|
const std::vector< VariableIndex > & |
species_vars, |
|
|
const std::string & |
material, |
|
|
VariableIndex |
T_var, |
|
|
libMesh::Real |
p0, |
|
|
const std::string & |
thermochem_lib |
|
) |
| |
Definition at line 45 of file gas_recombination_catalytic_wall_neumann_bc_factory_impl.C.
61 SharedPtr<NeumannBCAbstract> catalytic_wall;
63 if( thermochem_lib ==
"cantera" )
65 #ifdef GRINS_HAVE_CANTERA
66 this->build_wall_ptr<CanteraMixture>(input,material,gamma_ptr,reactant,product,
67 species_vars,T_var,p0,catalytic_wall);
69 libmesh_error_msg(
"Error: Cantera not enabled in this configuration. Reconfigure using --with-cantera option.");
72 else if( thermochem_lib ==
"antioch" )
74 #ifdef GRINS_HAVE_ANTIOCH
75 this->build_wall_ptr<AntiochChemistry>(input,material,gamma_ptr,reactant,product,
76 species_vars,T_var,p0,catalytic_wall);
78 libmesh_error_msg(
"Error: Antioch not enabled in this configuration. Reconfigure using --with-antioch option.");
82 libmesh_error_msg(
"ERROR: Invalid thermochemistry library "+thermochem_lib+
"!");
84 return catalytic_wall;
void parse_reactant_and_product(const std::string &reaction, std::string &reactant, std::string &product) const
template<typename ChemistryType >
void GRINS::GasRecombinationCatalyticWallNeumannBCFactoryImpl::build_wall_ptr |
( |
const GetPot & |
input, |
|
|
const std::string & |
material, |
|
|
SharedPtr< CatalycityBase > & |
catalycity, |
|
|
const std::string & |
reactant, |
|
|
const std::string & |
product, |
|
|
const std::vector< VariableIndex > & |
species_vars, |
|
|
VariableIndex |
T_var, |
|
|
libMesh::Real |
p0, |
|
|
SharedPtr< NeumannBCAbstract > & |
catalytic_wall |
|
) |
| |
|
inlineprotected |
Definition at line 62 of file gas_recombination_catalytic_wall_neumann_bc_factory_impl.h.
72 SharedPtr<ChemistryType> chem_ptr(
new ChemistryType(input,material) );
74 catalytic_wall.reset(
new GasRecombinationCatalyticWall<ChemistryType>
80 chem_ptr->species_index(reactant),
81 chem_ptr->species_index(product) ) );
void GRINS::GasRecombinationCatalyticWallNeumannBCFactoryImpl::parse_reactant_and_product |
( |
const std::string & |
reaction, |
|
|
std::string & |
reactant, |
|
|
std::string & |
product |
|
) |
| const |
The documentation for this class was generated from the following files: