FleCSI User API Version: 2.3.1
 
Loading...
Searching...
No Matches
unstructured_base Struct Reference

Specialization-independent definitions. More...

Classes

struct  coloring
 Information for constructing an unstructured mesh. More...
 

Public Types

using index_color
 The type for specifying an index space for a single color.
 

Static Public Member Functions

template<auto C, auto EL, auto V, typename M , typename F >
static auto bounding_box (M mesh, F coords)
 This method computes the bounding box from cell vertices.
 

Detailed Description

Specialization-independent definitions.

Name as base in an unstructured specialization.

Member Typedef Documentation

◆ index_color

using index_color

The type for specifying an index space for a single color.

Member Function Documentation

◆ bounding_box()

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
CIndex space for cells
ELEntity list (owned/shared/ghost) enum type
VIndex space for vertices
Parameters
meshMesh accessor
coordsCoordinate field accessor
Returns
a util::BBox with the bounding box of the mesh.