Function pcms::GetOwningElementId

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_dim with ID element_id, returns the smallest ID of the owning element of dimension mesh_dim (the mesh’s top-level dimension).