Specialization-independent definitions.
Name as base
in an unstructured
specialization.
template<auto C, auto EL, auto V, typename M , typename F >
static auto bounding_box |
( |
M | mesh, |
|
|
F | coords ) |
|
static |
This method computes the bounding box from cell vertices.
It allows computing bbox for owned/shared/ghost part through the template parameter EL. This method can be used as a task to obtain the bounding box of a mesh topology instance.
- Template Parameters
-
C | Index space for cells |
EL | Entity list (owned/shared/ghost) enum type |
V | Index space for vertices |
- Parameters
-
mesh | Mesh accessor |
coords | Coordinate field accessor |
- Returns
- a
util::BBox
with the bounding box of the mesh.