29 template <
class TCheckType>
31 const TCheckType& rEntity,
32 const std::vector<std::set<TCheckType>>& mUnionSets)
34 bool is_valid =
false;
36 for (
const auto& r_set : mUnionSets) {
37 if (r_set.find(rEntity) != r_set.end()) {
48 template <
class TCheckType>
50 const TCheckType& rEntity,
51 const std::vector<std::set<TCheckType>>& mSubstractionSets)
55 for (
const auto& r_set : mSubstractionSets) {
56 if (r_set.find(rEntity) != r_set.end()) {
67 template <
class TCheckType>
69 const TCheckType& rEntity,
70 const std::vector<std::set<TCheckType>>& mIntersectionSets)
74 for (
const auto& r_set : mIntersectionSets) {
75 if (r_set.find(rEntity) == r_set.end()) {
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
Definition: model_part_operator_utilities.h:66
static bool IsValid(const TCheckType &rEntity, const std::vector< std::set< TCheckType >> &mIntersectionSets)
Definition: model_part_operator_utilities.h:68
Definition: model_part_operator_utilities.h:47
static bool IsValid(const TCheckType &rEntity, const std::vector< std::set< TCheckType >> &mSubstractionSets)
Definition: model_part_operator_utilities.h:49
Definition: model_part_operator_utilities.h:28
static bool IsValid(const TCheckType &rEntity, const std::vector< std::set< TCheckType >> &mUnionSets)
Definition: model_part_operator_utilities.h:30