GRINS-0.8.0
|
#include <catalytic_wall_neumann_bc_old_style_factory_base.h>
Protected Member Functions | |
virtual SharedPtr< NeumannBCAbstract > | build_neumann_func (const GetPot &input, MultiphysicsSystem &system, const FEVariablesBase &fe_var, const std::string §ion) |
Builds the NeumannBCAbstract object for Neumann boundary conditions. More... | |
std::string | parse_reaction (const GetPot &input, const std::string §ion) const |
Parse the reaction. More... | |
std::string | parse_thermochem_model (const GetPot &input) const |
libMesh::Real | parse_thermo_pressure (const GetPot &input, const std::string &material) const |
SharedPtr< CatalycityBase > | build_catalycity (const GetPot &input, const std::string §ion, const std::string &reactant) const |
virtual std::string | reactant_for_catalycity (const std::string &reaction) const =0 |
virtual std::string | catalytic_wall_prefix_str () const =0 |
Protected Member Functions inherited from GRINS::NeumannBCOldStyleFactoryAbstract | |
virtual void | check_state () const |
Helper function to reduce code duplication. More... | |
virtual void | reset_state () |
Helper function to reduce code duplication. More... | |
Protected Member Functions inherited from GRINS::NeumannBCFactoryAbstract | |
void | check_for_flux (const GetPot &input, const std::string §ion, const std::vector< std::string > &var_names) |
Checks that the flux variable has been set. More... | |
Protected Member Functions inherited from GRINS::BCFactoryAbstract< NeumannBCContainer > | |
void | check_for_multiple_expressions (const GetPot &input, const std::string §ion, const std::string &var_name) const |
Ensure that there is only one expression for the [Section/var_name] variable. More... | |
void | build_var_indices (const MultiphysicsSystem &system, const std::vector< std::string > &var_names, std::vector< VariableIndex > &var_indices) const |
Protected Member Functions inherited from GRINS::FactoryAbstract< NeumannBCContainer > | |
FactoryAbstract (const std::string &name) | |
Constructor is protected. Use the build() method to construct Base objects. More... | |
Protected Member Functions inherited from GRINS::CatalyticWallNeumannBCFactoryCommon< ImplType > | |
SharedPtr< NeumannBCAbstract > | build_catalytic_wall_common (const GetPot &input, const FEVariablesBase &fe_var, const std::string &material, const std::string &reaction, SharedPtr< CatalycityBase > &gamma_ptr, libMesh::Real p0, std::string &thermochem_lib) |
void | extract_species_vars (const FEVariablesBase &fe_var, std::vector< VariableIndex > &species_vars) const |
void | extract_material (const FEVariablesBase &fe_var, std::string &material) const |
VariableIndex | extract_temp_var () const |
Additional Inherited Members | |
Static Public Member Functions inherited from GRINS::NeumannBCOldStyleFactoryAbstract | |
static void | set_value_var_old_style (const std::string &value_var) |
Input variable for parsing old style. More... | |
static void | set_value_index_old_style (unsigned int idx) |
Input variable index for parsing old style. More... | |
Static Public Member Functions inherited from GRINS::BCFactoryAbstract< NeumannBCContainer > | |
static void | set_system (MultiphysicsSystem &system) |
static void | set_bc_ids (const std::set< BoundaryID > &bc_ids) |
Boundary id for the current boundary condition section. More... | |
static void | set_fe_var (const FEVariablesBase &fe_var) |
Active variable for the current boundary condition. More... | |
static void | set_section (const std::string §ion) |
Sets the current section of the input file. More... | |
static bool | have_bc_type (const std::string &bc_type) |
Static Public Member Functions inherited from GRINS::FactoryWithGetPot< NeumannBCContainer > | |
static void | set_getpot (const GetPot &input) |
Static Public Member Functions inherited from GRINS::FactoryAbstract< NeumannBCContainer > | |
static libMesh::UniquePtr< NeumannBCContainer > | build (const std::string &name) |
Use this method to build objects of type Base. More... | |
Static Protected Member Functions inherited from GRINS::FactoryAbstract< NeumannBCContainer > | |
static FactoryAbstract< NeumannBCContainer > & | get_factory (const std::string &name) |
Helper method that looks up the factory and returns it if present, or error if it's not. More... | |
static DerivedType & | get_factory_subclass (const std::string &name) |
Like get_factory, but will downcast to DerivedType. More... | |
static std::map< std::string, FactoryAbstract< NeumannBCContainer > * > & | factory_map () |
Protected Attributes inherited from GRINS::NeumannBCFactoryAbstract | |
bool | _is_homogeneous |
Track if this is a homogeneous Neumann boundary condition. More... | |
Protected Attributes inherited from GRINS::CatalyticWallNeumannBCFactoryCommon< ImplType > | |
ImplType | _wall_impl |
Static Protected Attributes inherited from GRINS::NeumannBCOldStyleFactoryAbstract | |
static std::string | _value_var_old_style = std::string("DIE!") |
static unsigned int | _value_idx_old_style = libMesh::invalid_uint |
Static Protected Attributes inherited from GRINS::BCFactoryAbstract< NeumannBCContainer > | |
static MultiphysicsSystem * | _system |
We store only a raw pointer here because we can't make a copy. More... | |
static const std::set< BoundaryID > * | _bc_ids |
BoundaryID for constructing a particular boundary condition. More... | |
static const FEVariablesBase * | _fe_var |
The FEVariablesBase class associated with the boundary condition being built. More... | |
static std::string | _section |
Static Protected Attributes inherited from GRINS::FactoryWithGetPot< NeumannBCContainer > | |
static const GetPot * | _input |
We store only a raw pointer here because we can't make a copy. More... | |
Definition at line 36 of file catalytic_wall_neumann_bc_old_style_factory_base.h.
|
inline |
Definition at line 41 of file catalytic_wall_neumann_bc_old_style_factory_base.h.
|
inline |
Definition at line 46 of file catalytic_wall_neumann_bc_old_style_factory_base.h.
|
protected |
Definition at line 126 of file catalytic_wall_neumann_bc_old_style_factory_base.C.
References GRINS::BCFactoryAbstract< NeumannBCContainer >::_bc_ids, GRINS::FactoryAbstract< CatalycityBase >::build(), GRINS::CatalycityFactoryOldStyleBase::set_bc_id(), GRINS::FactoryWithGetPot< CatalycityBase >::set_getpot(), GRINS::CatalycityFactoryOldStyleBase::set_reactant(), and GRINS::CatalycityFactoryAbstract::set_section().
|
protectedvirtual |
Builds the NeumannBCAbstract object for Neumann boundary conditions.
Subclasses should override this function to build the NeumannBCAbstract object that corresponds to the variables passed in var_names. The FEVariableBase object corresponds to the variable associated with this boundary condition, e.g. Velocity. The section arguments corresponds to the section to parse for the flux in the input file, e.g. input(section+"/"+flux). Note that for Variables with more than one component, the flux input should be a vector the size of the var_names object, even if one of the components is zero.
Implements GRINS::NeumannBCFactoryAbstract.
Definition at line 39 of file catalytic_wall_neumann_bc_old_style_factory_base.C.
|
protectedpure virtual |
|
protected |
Parse the reaction.
Definition at line 63 of file catalytic_wall_neumann_bc_old_style_factory_base.C.
References GRINS::BCFactoryAbstract< NeumannBCContainer >::_bc_ids.
|
protected |
Definition at line 86 of file catalytic_wall_neumann_bc_old_style_factory_base.C.
References GRINS::PhysicsNaming::reacting_low_mach_navier_stokes().
|
protected |
Definition at line 114 of file catalytic_wall_neumann_bc_old_style_factory_base.C.
References GRINS::PhysicsFactoryHelper::parse_thermochemistry_model(), and GRINS::PhysicsNaming::reacting_low_mach_navier_stokes().
|
protectedpure virtual |