Function pcms::GetOwningElementId
Defined in File point_search.h
Function Documentation
-
LO pcms::GetOwningElementId(Omega_h::Mesh &mesh, int mesh_dim, int entity_dim, LO element_id)
Get the owning element (face for 2D, region for 3D) for a given entity.
Given an entity of dimension
entity_dimwith IDelement_id, returns the smallest ID of the owning element of dimensionmesh_dim(the mesh’s top-level dimension).