12 #include "libmesh/elem.h" 13 #include "libmesh/point.h" 24 const std::vector<subdomain_id_type> & subdomain_id_list)
26 return std::find(subdomain_id_list.begin(), subdomain_id_list.end(), elem->subdomain_id()) !=
27 subdomain_id_list.end();
40 return (1.0 - normal_1 * normal_2) <= tol;
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.
KOKKOS_INLINE_FUNCTION const T * find(const T &target, const T *const begin, const T *const end)
Find a value in an array.
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.