GRINS-0.8.0
List of all members | Public Member Functions
GRINS::GasSolidCatalyticWallNeumannBCOldStyleFactory Class Reference

#include <gas_catalytic_wall_neumann_bc_old_style_factories.h>

Inheritance diagram for GRINS::GasSolidCatalyticWallNeumannBCOldStyleFactory:
Inheritance graph
[legend]
Collaboration diagram for GRINS::GasSolidCatalyticWallNeumannBCOldStyleFactory:
Collaboration graph
[legend]

Public Member Functions

 GasSolidCatalyticWallNeumannBCOldStyleFactory (const std::string &bc_type_name)
 
 ~GasSolidCatalyticWallNeumannBCOldStyleFactory ()
 
virtual std::string reactant_for_catalycity (const std::string &reaction) const
 
virtual std::string catalytic_wall_prefix_str () const
 
- Public Member Functions inherited from GRINS::CatalyticWallNeumannBCOldStyleFactoryBase< GasSolidCatalyticWallNeumannBCFactoryImpl >
 CatalyticWallNeumannBCOldStyleFactoryBase (const std::string &bc_type_name)
 
 ~CatalyticWallNeumannBCOldStyleFactoryBase ()
 
- Public Member Functions inherited from GRINS::NeumannBCOldStyleFactoryAbstract
 NeumannBCOldStyleFactoryAbstract (const std::string &bc_type_name)
 
 ~NeumannBCOldStyleFactoryAbstract ()
 
- Public Member Functions inherited from GRINS::NeumannBCFactoryAbstract
 NeumannBCFactoryAbstract (const std::string &bc_type_name)
 
 ~NeumannBCFactoryAbstract ()
 
virtual libMesh::UniquePtr< NeumannBCContainercreate ()
 Creates NeumannBCContainer for this Factory object. More...
 
- Public Member Functions inherited from GRINS::BCFactoryAbstract< NeumannBCContainer >
 BCFactoryAbstract (const std::string &bc_type_name)
 
 ~BCFactoryAbstract ()
 
- Public Member Functions inherited from GRINS::FactoryWithGetPot< NeumannBCContainer >
 FactoryWithGetPot (const std::string &name)
 
 ~FactoryWithGetPot ()
 
- Public Member Functions inherited from GRINS::FactoryAbstract< NeumannBCContainer >
virtual ~FactoryAbstract ()
 
- Public Member Functions inherited from GRINS::CatalyticWallNeumannBCFactoryCommon< GasSolidCatalyticWallNeumannBCFactoryImpl >
 CatalyticWallNeumannBCFactoryCommon ()
 
 ~CatalyticWallNeumannBCFactoryCommon ()
 

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 &section)
 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< NeumannBCContainerbuild (const std::string &name)
 Use this method to build objects of type Base. More...
 
- Protected Member Functions inherited from GRINS::CatalyticWallNeumannBCOldStyleFactoryBase< GasSolidCatalyticWallNeumannBCFactoryImpl >
virtual SharedPtr< NeumannBCAbstractbuild_neumann_func (const GetPot &input, MultiphysicsSystem &system, const FEVariablesBase &fe_var, const std::string &section)
 Builds the NeumannBCAbstract object for Neumann boundary conditions. More...
 
std::string parse_reaction (const GetPot &input, const std::string &section) 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< CatalycityBasebuild_catalycity (const GetPot &input, const std::string &section, const std::string &reactant) const
 
- 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 &section, 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 &section, 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< GasSolidCatalyticWallNeumannBCFactoryImpl >
SharedPtr< NeumannBCAbstractbuild_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
 
- 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< GasSolidCatalyticWallNeumannBCFactoryImpl >
GasSolidCatalyticWallNeumannBCFactoryImpl _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...
 

Detailed Description

Definition at line 62 of file gas_catalytic_wall_neumann_bc_old_style_factories.h.

Constructor & Destructor Documentation

GRINS::GasSolidCatalyticWallNeumannBCOldStyleFactory::GasSolidCatalyticWallNeumannBCOldStyleFactory ( const std::string &  bc_type_name)
inline

Definition at line 67 of file gas_catalytic_wall_neumann_bc_old_style_factories.h.

68  : CatalyticWallNeumannBCOldStyleFactoryBase<GasSolidCatalyticWallNeumannBCFactoryImpl>(bc_type_name)
69  {}
GRINS::GasSolidCatalyticWallNeumannBCOldStyleFactory::~GasSolidCatalyticWallNeumannBCOldStyleFactory ( )
inline

Definition at line 71 of file gas_catalytic_wall_neumann_bc_old_style_factories.h.

71 {};

Member Function Documentation

virtual std::string GRINS::GasSolidCatalyticWallNeumannBCOldStyleFactory::catalytic_wall_prefix_str ( ) const
inlinevirtual

Implements GRINS::CatalyticWallNeumannBCOldStyleFactoryBase< GasSolidCatalyticWallNeumannBCFactoryImpl >.

Definition at line 82 of file gas_catalytic_wall_neumann_bc_old_style_factories.h.

83  {
84  return "wall_gas_solid_reactions";
85  }
virtual std::string GRINS::GasSolidCatalyticWallNeumannBCOldStyleFactory::reactant_for_catalycity ( const std::string &  reaction) const
inlinevirtual

Implements GRINS::CatalyticWallNeumannBCOldStyleFactoryBase< GasSolidCatalyticWallNeumannBCFactoryImpl >.

Definition at line 73 of file gas_catalytic_wall_neumann_bc_old_style_factories.h.

References GRINS::CatalyticWallNeumannBCFactoryCommon< GasSolidCatalyticWallNeumannBCFactoryImpl >::_wall_impl, and GRINS::GasSolidCatalyticWallNeumannBCFactoryImpl::parse_reactants_and_product().

74  {
75  std::string gas_reactant;
76  std::string solid_reactant; // dummy in this function
77  std::string product; // dummy in this function
78  this->_wall_impl.parse_reactants_and_product(reaction,gas_reactant,solid_reactant,product);
79  return gas_reactant;
80  }
void parse_reactants_and_product(const std::string &reaction, std::string &gas_reactant, std::string &solid_reactant, std::string &product) const

The documentation for this class was generated from the following file:

Generated on Tue Dec 19 2017 12:47:30 for GRINS-0.8.0 by  doxygen 1.8.9.1