17 const std::vector<std::string>& sideset_names,
18 const std::vector<panzer::BC>& bcs)
20 for (
const auto& bc : bcs) {
21 const auto eb_search = std::find(element_block_names.begin(),
22 element_block_names.end(),
27 "ERROR: the element block \"" << bc.elementBlockID()
28 <<
"\" for boundary condition \"" << bc.bcID()
29 <<
"\" does not exist in the mesh.");
31 const auto ss_search = std::find(sideset_names.begin(),
37 "ERROR: the element block \"" << bc.sidesetID()
38 <<
"\" for boundary condition \"" << bc.bcID()
39 <<
"\" 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)