GRINS-0.8.0
|
Manages runtime construction of Dirichlet boundary conditions. More...
#include <bc_builder.h>
Public Member Functions | |
BCBuilder () | |
virtual | ~BCBuilder () |
Static Public Member Functions | |
static void | build_boundary_conditions (const GetPot &input, MultiphysicsSystem &system, std::vector< SharedPtr< NeumannBCContainer > > &neumann_bcs) |
Protected Member Functions | |
virtual void | build_bcs (const GetPot &input, MultiphysicsSystem &system, std::vector< SharedPtr< NeumannBCContainer > > &neumann_bcs)=0 |
void | construct_dbc_core (const GetPot &input, MultiphysicsSystem &system, const std::set< BoundaryID > &bc_ids, const FEVariablesBase &fe_var, const std::string §ion, const std::string &bc_type, libMesh::DofMap &dof_map) |
void | construct_nbc_core (const GetPot &input, MultiphysicsSystem &system, const std::set< BoundaryID > &bc_ids, const FEVariablesBase &fe_var, const std::string §ion, const std::string &bc_type, std::vector< SharedPtr< NeumannBCContainer > > &neumann_bcs) |
bool | is_dirichlet_bc_type (const std::string &bc_type) |
bool | is_neumann_bc_type (const std::string &bc_type) |
void | add_periodic_bc_to_dofmap (libMesh::boundary_id_type master_id, libMesh::boundary_id_type slave_id, const libMesh::RealVectorValue &offset_vector, libMesh::DofMap &dof_map) |
Static Protected Member Functions | |
static bool | is_new_bc_input_style (const GetPot &input) |
static libMesh::UniquePtr< BCBuilder > | build_builder (const GetPot &input) |
Manages runtime construction of Dirichlet boundary conditions.
This will parse the input for the request Dirichlet boundary conditions and manage their construction. Actual construction of the DirichletBoundary objects is delegated to factory classes. This builder classes merely manages tasks around the factories as needed. To add new Dirichlet boundary conditions, the user should instantiate an appropriate factory sub class.
Definition at line 60 of file bc_builder.h.
|
inline |
Definition at line 64 of file bc_builder.h.
|
inlinevirtual |
Definition at line 66 of file bc_builder.h.
|
protected |
Definition at line 151 of file bc_builder.C.
Referenced by GRINS::OldStyleBCBuilder::build_periodic_bc(), and GRINS::DefaultBCBuilder::build_periodic_bc().
|
protectedpure virtual |
Implemented in GRINS::DefaultBCBuilder, and GRINS::OldStyleBCBuilder.
|
static |
Definition at line 41 of file bc_builder.C.
References build_builder().
Referenced by GRINS::MultiphysicsSystem::init_data().
|
staticprotected |
Definition at line 51 of file bc_builder.C.
References is_new_bc_input_style().
Referenced by build_boundary_conditions().
|
protected |
Definition at line 76 of file bc_builder.C.
References GRINS::FactoryAbstract< libMesh::DirichletBoundary >::build(), GRINS::BCFactoryAbstract< libMesh::DirichletBoundary >::set_bc_ids(), GRINS::BCFactoryAbstract< libMesh::DirichletBoundary >::set_fe_var(), GRINS::FactoryWithGetPot< libMesh::DirichletBoundary >::set_getpot(), GRINS::BCFactoryAbstract< libMesh::DirichletBoundary >::set_section(), and GRINS::BCFactoryAbstract< libMesh::DirichletBoundary >::set_system().
Referenced by GRINS::DefaultBCBuilder::build_axisymmetric_bcs(), GRINS::DefaultBCBuilder::build_bcs_by_var_section(), and GRINS::OldStyleBCBuilder::construct_bcs_old_style().
|
protected |
Definition at line 106 of file bc_builder.C.
References GRINS::FactoryAbstract< NeumannBCContainer >::build(), GRINS::BCFactoryAbstract< NeumannBCContainer >::set_bc_ids(), GRINS::BCFactoryAbstract< NeumannBCContainer >::set_fe_var(), GRINS::FactoryWithGetPot< NeumannBCContainer >::set_getpot(), GRINS::BCFactoryAbstract< NeumannBCContainer >::set_section(), and GRINS::BCFactoryAbstract< NeumannBCContainer >::set_system().
Referenced by GRINS::DefaultBCBuilder::build_axisymmetric_bcs(), GRINS::DefaultBCBuilder::build_bcs_by_var_section(), and GRINS::OldStyleBCBuilder::construct_bcs_old_style().
|
protected |
Definition at line 139 of file bc_builder.C.
References GRINS::BCFactoryAbstract< libMesh::DirichletBoundary >::have_bc_type().
Referenced by GRINS::DefaultBCBuilder::build_axisymmetric_bcs(), GRINS::DefaultBCBuilder::build_bcs_by_var_section(), and GRINS::OldStyleBCBuilder::construct_bcs_old_style().
|
protected |
Definition at line 145 of file bc_builder.C.
References GRINS::BCFactoryAbstract< NeumannBCContainer >::have_bc_type().
Referenced by GRINS::DefaultBCBuilder::build_axisymmetric_bcs(), GRINS::DefaultBCBuilder::build_bcs_by_var_section(), and GRINS::OldStyleBCBuilder::construct_bcs_old_style().
|
staticprotected |
Definition at line 66 of file bc_builder.C.
References GRINS::BoundaryConditionNames::bc_section().
Referenced by build_builder().