53#include <unordered_map>
55#include "Teuchos_RCP.hpp"
66 class WorksetDescriptor;
71 void buildBCs(std::vector<panzer::BC>& bcs,
const Teuchos::ParameterList& p,
const Teuchos::RCP<panzer::GlobalData> global_data);
85 std::hash<std::string>
hash;
100 std::string sideset_id,
101 std::string element_block_id,
102 std::string equation_set_name,
106 BC(std::size_t bc_id,
108 std::string sideset_id,
109 std::string element_block_id,
110 std::string equation_set_name,
112 const Teuchos::ParameterList& p);
115 BC(std::size_t bc_id,
116 const Teuchos::ParameterList& p);
119 BC(std::size_t bc_id,
120 const Teuchos::ParameterList& p,
121 const Teuchos::RCP<panzer::GlobalData> gd);
127 std::size_t
bcID()
const;
151 Teuchos::RCP<const Teuchos::ParameterList>
params()
const;
154 Teuchos::RCP<panzer::GlobalData>
global_data()
const;
163 void print(std::ostream& os)
const;
189 Teuchos::RCP<panzer::GlobalData>
m_gd;
Stores input information for a boundary condition.
Teuchos::RCP< panzer::GlobalData > m_gd
void buildBCs(std::vector< panzer::BC > &bcs, const Teuchos::ParameterList &p, const Teuchos::RCP< panzer::GlobalData > global_data)
Nonmember constructor to build BC objects from a ParameterList.
Teuchos::RCP< Teuchos::ParameterList > nonconstParams() const
Returns a nonconst parameter list with user defined parameters for bc. Nonconst is meant to be used f...
std::string m_equation_set_name
std::string sidesetID() const
Returns the set id.
std::string m_element_block_id2
std::size_t bcID() const
Returns a unique identifier for this bc - needed for unique parameter setting in LOCA and for map key...
Teuchos::RCP< const Teuchos::ParameterList > params() const
Returns a parameter list with user defined parameters for bc.
void print(std::ostream &os) const
Print object using an ostream.
BCType bcType() const
Returns the boundary condition type (Dirichlet or Neumann or Interface).
std::string m_element_block_id
std::string elementBlockID() const
Returns the element block id associated with this sideset.
std::string m_equation_set_name2
Teuchos::RCP< panzer::GlobalData > global_data() const
Returns the RCP to the global data.
std::string elementBlockID2() const
Returns the second element block id associated with this sideset.
std::string equationSetName2() const
Returns the second unknown name/keyword.
std::string identifier() const
A unique string identifier for this boundary condition.
void validateParameters(Teuchos::ParameterList &p) const
Teuchos::RCP< Teuchos::ParameterList > m_params
std::string strategy() const
Returns the keyword used to construct a bc strategy.
std::string equationSetName() const
Returns the unknown name/keyword.
std::ostream & operator<<(std::ostream &os, const AssemblyEngineInArgs &in)
WorksetDescriptor bcDescriptor(const panzer::BC &bc)
BCType
Type of boundary condition.
bool operator()(const BC &bc1, const BC &bc2) const
std::hash< std::string > hash
std::size_t operator()(const BC &bc) const
bool operator()(const panzer::BC &left, const panzer::BC &right) const