Functions | |
| bool | elementSubdomainIdInList (const Elem *const elem, const std::vector< subdomain_id_type > &subdomain_id_list) |
| Determines whether the given element's subdomain id is in the given subdomain_id_list. | |
| bool | normalsWithinTol (const Point &normal_1, const Point &normal_2, const Real tol) |
| Determines whether two normal vectors are within normal_tol of each other. | |
|
inline |
Determines whether the given element's subdomain id is in the given subdomain_id_list.
| elem | pointer to the element to consider |
| subdomain_id_list | vector of subdomains to consider |
Definition at line 23 of file MeshTraversingUtils.h.
Referenced by SurfaceMeshGeneratorBase::elementSatisfiesRequirements(), SideSetsGeneratorBase::elemSideSatisfiesRequirements(), SideSetsGeneratorBase::flood(), SurfaceMeshGeneratorBase::flood(), ParsedGenerateSideset::generate(), SideSetsAroundSubdomainGenerator::generate(), and SideSetsBetweenSubdomainsGenerator::generate().
|
inline |
Determines whether two normal vectors are within normal_tol of each other.
| normal_1 | The first normal vector to compare to normal_2. |
| normal_2 | The second normal vector to compare to normal_1. |
| tol | The comparison tolerance. |
Definition at line 38 of file MeshTraversingUtils.h.
Referenced by SurfaceMeshGeneratorBase::elementSatisfiesRequirements(), SideSetsGeneratorBase::elemSideSatisfiesRequirements(), SideSetsFromAllNormalsGenerator::generate(), SideSetsFromNormalsGenerator::generate(), and SideSetsFromPointsGenerator::generate().