25 #ifndef GRINS_DEFAULT_BC_BUILDER_H
26 #define GRINS_DEFAULT_BC_BUILDER_H
62 std::vector<SharedPtr<NeumannBCContainer> >& neumann_bcs );
68 const std::set<BoundaryID>& bc_ids,
69 libMesh::DofMap& dof_map,
70 const std::string& type_input_section,
71 std::set<std::string>& var_sections,
72 std::vector<SharedPtr<NeumannBCContainer> >& neumann_bcs );
76 const std::set<BoundaryID>& bc_ids,
77 libMesh::DofMap& dof_map,
78 const std::string& bc_type,
79 std::set<std::string>& var_sections,
80 std::vector<SharedPtr<NeumannBCContainer> >& neumann_bcs );
88 const std::string& bc_name,
89 const std::set<BoundaryID>& bc_ids,
90 libMesh::DofMap& dof_map,
91 std::set<std::string>& var_sections,
92 const std::map<
BoundaryID,std::vector<libMesh::subdomain_id_type> >& bc_id_to_subdomain_id_map,
93 std::vector<SharedPtr<NeumannBCContainer> >& neumann_bcs);
96 std::map<std::string,std::set<BoundaryID> >& bc_id_map );
99 const std::map<std::string,std::set<BoundaryID> >& bc_id_map )
const;
102 libMesh::System& system,
103 const std::set<BoundaryID>& bc_ids,
104 const std::string& section );
107 const std::string& section,
108 libMesh::boundary_id_type& master_id,
109 libMesh::boundary_id_type& slave_id )
const;
112 const std::string& section)
const;
119 std::map<
BoundaryID,std::vector<libMesh::subdomain_id_type> >& bc_id_to_subdomain_id_map )
const;
123 const std::vector<libMesh::subdomain_id_type>& subdomain_ids )
const;
128 #endif // GRINS_DEFAULT_BC_BUILDER_H
void parse_and_build_bc_id_map(const GetPot &input, std::map< std::string, std::set< BoundaryID > > &bc_id_map)
libMesh::boundary_id_type BoundaryID
More descriptive name of the type used for boundary ids.
void build_periodic_bc(const GetPot &input, libMesh::System &system, const std::set< BoundaryID > &bc_ids, const std::string §ion)
bool is_var_active(const FEVariablesBase &var, const std::vector< libMesh::subdomain_id_type > &subdomain_ids) const
Check if the Variable var is active on the given subdomain_id.
void build_type_based_bcs(const GetPot &input, MultiphysicsSystem &system, const std::set< BoundaryID > &bc_ids, libMesh::DofMap &dof_map, const std::string &type_input_section, std::set< std::string > &var_sections, std::vector< SharedPtr< NeumannBCContainer > > &neumann_bcs)
Helper function to build boundary conditions specified by a single type.
void parse_periodic_master_slave_ids(const GetPot &input, const std::string §ion, libMesh::boundary_id_type &master_id, libMesh::boundary_id_type &slave_id) const
void verify_bc_ids_with_mesh(const MultiphysicsSystem &system, const std::map< std::string, std::set< BoundaryID > > &bc_id_map) const
This class contains common functions used by various Builders throughout GRINS.
libMesh::RealVectorValue parse_periodic_offset(const GetPot &input, const std::string §ion) const
void build_bcs_by_var_section(const GetPot &input, MultiphysicsSystem &system, const std::string &bc_name, const std::set< BoundaryID > &bc_ids, libMesh::DofMap &dof_map, std::set< std::string > &var_sections, const std::map< BoundaryID, std::vector< libMesh::subdomain_id_type > > &bc_id_to_subdomain_id_map, std::vector< SharedPtr< NeumannBCContainer > > &neumann_bcs)
Helper function to build boundary conditions using Variable sections.
Manages runtime construction of Dirichlet boundary conditions.
void build_bc_to_subdomain_map_check_with_mesh(const MultiphysicsSystem &system, std::map< BoundaryID, std::vector< libMesh::subdomain_id_type > > &bc_id_to_subdomain_id_map) const
Build up bc_id to subdomain_id map.
Manages runtime construction of Dirichlet boundary conditions.
Interface with libMesh for solving Multiphysics problems.
virtual void build_bcs(const GetPot &input, MultiphysicsSystem &system, std::vector< SharedPtr< NeumannBCContainer > > &neumann_bcs)
void build_axisymmetric_bcs(const GetPot &input, MultiphysicsSystem &system, const std::set< BoundaryID > &bc_ids, libMesh::DofMap &dof_map, const std::string &bc_type, std::set< std::string > &var_sections, std::vector< SharedPtr< NeumannBCContainer > > &neumann_bcs)