7 const std::vector<std::string>& sideset_names,
8 const std::vector<panzer::BC>& bcs)
10 for (
const auto& bc : bcs) {
11 const auto eb_search = std::find(element_block_names.begin(),
12 element_block_names.end(),
17 "ERROR: the element block \"" << bc.elementBlockID()
18 <<
"\" for boundary condition \"" << bc.bcID()
19 <<
"\" does not exist in the mesh.");
21 const auto ss_search = std::find(sideset_names.begin(),
27 "ERROR: the element block \"" << bc.sidesetID()
28 <<
"\" for boundary condition \"" << bc.bcID()
29 <<
"\" does not exist in the mesh.");
#define TEUCHOS_TEST_FOR_EXCEPTION(throw_exception_test, Exception, msg)
void checkBCConsistency(const std::vector< std::string > &element_block_names, const std::vector< std::string > &sideset_names, const std::vector< panzer::BC > &bcs)