43 #ifndef __Panzer_STK_PeriodicBC_MatchConditions_hpp__ 44 #define __Panzer_STK_PeriodicBC_MatchConditions_hpp__ 46 #include "Teuchos_Tuple.hpp" 65 std::string errStr =
"CoordMatcher \"" + std::string(1,
labels_[
index_]) +
"-coord\" takes at most one parameter <tol>";
66 TEUCHOS_TEST_FOR_EXCEPTION(params.size()>1,std::logic_error,errStr);
69 if(params.size()==1) {
86 const Teuchos::Tuple<double,3> & b)
const 110 +
"-coord\" takes only one parameter <tol>";
111 TEUCHOS_TEST_FOR_EXCEPTION(params.size()>1,std::logic_error,errStr);
114 if(params.size()==1) {
115 std::stringstream ss;
129 PlaneMatcher(
int index0,
int index1,
const std::vector<std::string> & params)
137 const Teuchos::Tuple<double,3> & b)
const 143 std::stringstream ss;
162 +
"-quarter-coord\" takes only one parameter <tol>";
163 TEUCHOS_TEST_FOR_EXCEPTION(params.size()>1,std::logic_error,errStr);
166 if(params.size()==1) {
167 std::stringstream ss;
177 { TEUCHOS_ASSERT(index0a!=index1); TEUCHOS_ASSERT(index0b!=index1);
buildLabels(); }
181 { TEUCHOS_ASSERT(index0a!=index1); TEUCHOS_ASSERT(index0b!=index1);
buildLabels(); }
192 const Teuchos::Tuple<double,3> & b)
const 198 std::stringstream ss;
QuarterPlaneMatcher(int index0a, int index0b, int index1)
std::string getString() const
bool operator()(const Teuchos::Tuple< double, 3 > &a, const Teuchos::Tuple< double, 3 > &b) const
CoordMatcher(int index, double error)
std::string getString() const
CoordMatcher(int index, const std::vector< std::string > ¶ms)
PlaneMatcher(int index0, int index1, const std::vector< std::string > ¶ms)
PlaneMatcher(const PlaneMatcher &cm)
CoordMatcher(const CoordMatcher &cm)
void parseParams(const std::vector< std::string > ¶ms)
std::string getString() const
bool operator()(const Teuchos::Tuple< double, 3 > &a, const Teuchos::Tuple< double, 3 > &b) const
void parseParams(const std::vector< std::string > ¶ms)
QuarterPlaneMatcher(int index0a, int index0b, int index1, double error)
PlaneMatcher(int index0, int index1)
QuarterPlaneMatcher(const QuarterPlaneMatcher &cm)
void parseParams(const std::vector< std::string > ¶ms)
QuarterPlaneMatcher(int index0a, int index0b, int index1, const std::vector< std::string > ¶ms)
bool operator()(const Teuchos::Tuple< double, 3 > &a, const Teuchos::Tuple< double, 3 > &b) const
PlaneMatcher(int index0, int index1, double error)