GRINS-0.7.0
List of all members | Public Member Functions | Protected Member Functions
GRINS::ParsedTractionBCFactory< FunctionType > Class Template Reference

#include <parsed_function_neumann_bc_factory.h>

Inheritance diagram for GRINS::ParsedTractionBCFactory< FunctionType >:
Inheritance graph
[legend]
Collaboration diagram for GRINS::ParsedTractionBCFactory< FunctionType >:
Collaboration graph
[legend]

Public Member Functions

 ParsedTractionBCFactory (const std::string &bc_type_name)
 
 ~ParsedTractionBCFactory ()
 
- Public Member Functions inherited from GRINS::ParsedFunctionNeumannBCFactory< FunctionType >
 ParsedFunctionNeumannBCFactory (const std::string &bc_type_name)
 
 ~ParsedFunctionNeumannBCFactory ()
 
- 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::ParsedFunctionNeumannBCFactoryHelper< FunctionType >
 ParsedFunctionNeumannBCFactoryHelper ()
 
 ~ParsedFunctionNeumannBCFactoryHelper ()
 

Protected Member Functions

virtual std::string flux_input (const std::string &section) const
 
- Protected Member Functions inherited from GRINS::ParsedFunctionNeumannBCFactory< FunctionType >
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...
 
- 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
 
virtual void check_state () const
 Helper function to reduce code duplication. More...
 
virtual void reset_state ()
 Helper function to redue code duplication. More...
 
- Protected Member Functions inherited from GRINS::ParsedFunctionNeumannBCFactoryHelper< FunctionType >
SharedPtr< NeumannBCAbstractbuild_neumman_func_common (const GetPot &input, MultiphysicsSystem &system, const FEVariablesBase &fe_var, const std::string &flux_input)
 Helper function containing common code. More...
 
SharedPtr< NeumannBCAbstractbuild_parsed_neumann_func (MultiphysicsSystem &system, const std::string &expression, VariableIndex var_idx)
 Helper function that builds the right BC object depending on the FunctionType. More...
 
SharedPtr< NeumannBCAbstractbuild_composite_parsed_neumann_func (MultiphysicsSystem &system, const std::vector< std::string > &expressions, const std::vector< VariableIndex > &var_indices)
 Helper function that builds the right CompositeBC object depending on the FunctionType. More...
 
template<>
SharedPtr< NeumannBCAbstractbuild_parsed_neumann_func (MultiphysicsSystem &, const std::string &expression, VariableIndex var_idx)
 
template<>
SharedPtr< NeumannBCAbstractbuild_parsed_neumann_func (MultiphysicsSystem &system, const std::string &expression, VariableIndex var_idx)
 
template<>
SharedPtr< NeumannBCAbstractbuild_composite_parsed_neumann_func (MultiphysicsSystem &, const std::vector< std::string > &expressions, const std::vector< VariableIndex > &var_indices)
 
template<>
SharedPtr< NeumannBCAbstractbuild_composite_parsed_neumann_func (MultiphysicsSystem &system, const std::vector< std::string > &expressions, const std::vector< VariableIndex > &var_indices)
 

Additional Inherited Members

- 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)
 
- Protected Attributes inherited from GRINS::NeumannBCFactoryAbstract
bool _is_homogeneous
 Track if this is a homogeneous Neumann boundary condition. More...
 
- 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

template<typename FunctionType>
class GRINS::ParsedTractionBCFactory< FunctionType >

Definition at line 70 of file parsed_function_neumann_bc_factory.h.

Constructor & Destructor Documentation

template<typename FunctionType >
GRINS::ParsedTractionBCFactory< FunctionType >::ParsedTractionBCFactory ( const std::string &  bc_type_name)
inline

Definition at line 73 of file parsed_function_neumann_bc_factory.h.

74  : ParsedFunctionNeumannBCFactory<FunctionType>(bc_type_name)
75  {}
template<typename FunctionType >
GRINS::ParsedTractionBCFactory< FunctionType >::~ParsedTractionBCFactory ( )
inline

Definition at line 77 of file parsed_function_neumann_bc_factory.h.

77 {};

Member Function Documentation

template<typename FunctionType >
virtual std::string GRINS::ParsedTractionBCFactory< FunctionType >::flux_input ( const std::string &  section) const
inlineprotectedvirtual

Reimplemented from GRINS::ParsedFunctionNeumannBCFactory< FunctionType >.

Definition at line 81 of file parsed_function_neumann_bc_factory.h.

References GRINS::BoundaryConditionNames::traction_var().

82  { return section+"/"+BoundaryConditionNames::traction_var(); }
static std::string traction_var()
Input variable for tractions in input file.

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

Generated on Thu Jun 2 2016 21:52:32 for GRINS-0.7.0 by  doxygen 1.8.10