25 #ifndef GRINS_GAS_RECOMBINATION_CATALYTIC_WALL_NEUMANN_BC_FACTORY_IMPL_H
26 #define GRINS_GAS_RECOMBINATION_CATALYTIC_WALL_NEUMANN_BC_FACTORY_IMPL_H
33 #include "libmesh/getpot.h"
45 SharedPtr<NeumannBCAbstract>
47 const std::string& reaction,
48 SharedPtr<CatalycityBase>& gamma_ptr,
49 const std::vector<VariableIndex>& species_vars,
50 const std::string& material,
53 const std::string& thermochem_lib );
56 std::string& reactant,
57 std::string& product )
const;
61 template<
typename ChemistryType>
63 const std::string& material,
64 SharedPtr<CatalycityBase>& catalycity,
65 const std::string& reactant,
66 const std::string& product,
67 const std::vector<VariableIndex>& species_vars,
70 SharedPtr<NeumannBCAbstract>& catalytic_wall )
72 SharedPtr<ChemistryType> chem_ptr(
new ChemistryType(input,material) );
80 chem_ptr->species_index(reactant),
81 chem_ptr->species_index(product) ) );
88 #endif // GRINS_GAS_RECOMBINATION_CATALYTIC_WALL_NEUMANN_BC_FACTORY_IMPL_H
void 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)
unsigned int VariableIndex
More descriptive name of the type used for variable indices.
~GasRecombinationCatalyticWallNeumannBCFactoryImpl()
SharedPtr< NeumannBCAbstract > 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)
void parse_reactant_and_product(const std::string &reaction, std::string &reactant, std::string &product) const
GasRecombinationCatalyticWallNeumannBCFactoryImpl()