GRINS-0.7.0
|
#include <bc_factory_abstract.h>
Public Member Functions | |
BCFactoryAbstract (const std::string &bc_type_name) | |
~BCFactoryAbstract () | |
Public Member Functions inherited from GRINS::FactoryWithGetPot< Base > | |
FactoryWithGetPot (const std::string &name) | |
~FactoryWithGetPot () | |
Static Public Member Functions | |
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< Base > | |
static void | set_getpot (const GetPot &input) |
Protected Member Functions | |
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 |
virtual void | check_state () const |
Helper function to reduce code duplication. More... | |
virtual void | reset_state () |
Helper function to redue code duplication. More... | |
template<> | |
MultiphysicsSystem * | _system |
template<> | |
const std::set< BoundaryID > * | _bc_ids |
template<> | |
const FEVariablesBase * | _fe_var |
template<> | |
std::string | _section |
template<> | |
MultiphysicsSystem * | _system |
template<> | |
const std::set< BoundaryID > * | _bc_ids |
template<> | |
const FEVariablesBase * | _fe_var |
template<> | |
std::string | _section |
Protected Member Functions inherited from GRINS::FactoryWithGetPot< Base > | |
template<> | |
const GetPot * | _input |
template<> | |
const GetPot * | _input |
template<> | |
const GetPot * | _input |
template<> | |
const GetPot * | _input |
template<> | |
const GetPot * | _input |
Static Protected Attributes | |
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< Base > | |
static const GetPot * | _input |
We store only a raw pointer here because we can't make a copy. More... | |
Definition at line 44 of file bc_factory_abstract.h.
|
inline |
Definition at line 47 of file bc_factory_abstract.h.
|
inline |
Definition at line 51 of file bc_factory_abstract.h.
|
protected |
Definition at line 50 of file dirichlet_bc_factory_abstract.C.
Referenced by GRINS::BCFactoryAbstract< NeumannBCContainer >::set_bc_ids().
|
protected |
Definition at line 82 of file neumann_bc_factory_abstract.C.
|
protected |
Definition at line 53 of file dirichlet_bc_factory_abstract.C.
Referenced by GRINS::BCFactoryAbstract< NeumannBCContainer >::set_fe_var().
|
protected |
Definition at line 85 of file neumann_bc_factory_abstract.C.
|
protected |
Definition at line 56 of file dirichlet_bc_factory_abstract.C.
Referenced by GRINS::BCFactoryAbstract< NeumannBCContainer >::set_section().
|
protected |
Definition at line 88 of file neumann_bc_factory_abstract.C.
|
protected |
Definition at line 47 of file dirichlet_bc_factory_abstract.C.
Referenced by GRINS::BCFactoryAbstract< NeumannBCContainer >::set_system().
|
protected |
Definition at line 79 of file neumann_bc_factory_abstract.C.
|
inlineprotected |
Definition at line 125 of file bc_factory_abstract.h.
|
inlineprotected |
Ensure that there is only one expression for the [Section/var_name] variable.
When parsing expressions to give to Parsed(FEM)Function, this function checks that there's only one expression for the given [Section/var_name] in the input file. This also helps protect against white space in the expression, which we don't currently support.
Definition at line 114 of file bc_factory_abstract.h.
|
inlineprotectedvirtual |
Helper function to reduce code duplication.
Reimplemented in GRINS::DirichletBCFactoryFunctionOldStyleBase< FunctionType >, GRINS::DirichletBCFactoryFunctionOldStyleBase< libMesh::FEMFunctionBase< libMesh::Number > >, GRINS::DirichletBCFactoryFunctionOldStyleBase< libMesh::FunctionBase< libMesh::Number > >, and GRINS::NeumannBCOldStyleFactoryAbstract.
Definition at line 137 of file bc_factory_abstract.h.
|
inlinestatic |
Definition at line 166 of file bc_factory_abstract.h.
|
inlineprotectedvirtual |
Helper function to redue code duplication.
Reimplemented in GRINS::DirichletBCFactoryFunctionOldStyleBase< FunctionType >, GRINS::DirichletBCFactoryFunctionOldStyleBase< libMesh::FEMFunctionBase< libMesh::Number > >, GRINS::DirichletBCFactoryFunctionOldStyleBase< libMesh::FunctionBase< libMesh::Number > >, and GRINS::NeumannBCOldStyleFactoryAbstract.
Definition at line 157 of file bc_factory_abstract.h.
|
inlinestatic |
Boundary id for the current boundary condition section.
Definition at line 57 of file bc_factory_abstract.h.
|
inlinestatic |
Active variable for the current boundary condition.
Definition at line 61 of file bc_factory_abstract.h.
|
inlinestatic |
Sets the current section of the input file.
The section here corresponds to the section in the GetPot input file, e.g. if we're wanting to parse functions from [Variables/SideWall/Velocity/u], then section will be "Variables/SideWall/Velocity".
Definition at line 69 of file bc_factory_abstract.h.
|
inlinestatic |
Definition at line 53 of file bc_factory_abstract.h.
|
staticprotected |
BoundaryID for constructing a particular boundary condition.
Definition at line 100 of file bc_factory_abstract.h.
|
staticprotected |
The FEVariablesBase class associated with the boundary condition being built.
We only build one boundary condition at a time, so this pointer will change with each boundary condition construction. We store a raw pointer here because we don't own this. Do not delete!
Definition at line 106 of file bc_factory_abstract.h.
|
staticprotected |
Definition at line 108 of file bc_factory_abstract.h.
|
staticprotected |
We store only a raw pointer here because we can't make a copy.
Otherwise, bad things will happen. We are not taking ownership of this, so we need to not delete this.
Definition at line 97 of file bc_factory_abstract.h.