FleCSI Core API Version: 2.3.2
 
Loading...
Searching...
No Matches
unstructured< Policy > Struct Template Reference

Topology type. More...

Classes

struct  access
 Topology interface base. More...
 

Public Member Functions

template<index_space F, index_space T>
auto & get_connectivity ()
 Return the connectivity between two index spaces.
 
template<index_space S, typename Policy::entity_list E>
auto & get_special_entities ()
 Get the special entities for a given index space.
 

Static Public Attributes

static const field< util::id >::definition< array< Policy > > special_field
 Field that holds each list of special entity IDs.
 

Additional Inherited Members

- Public Types inherited from unstructured_base
using index_color
 The type for specifying an index space for a single color.
 
- Static Public Member Functions inherited from unstructured_base
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

template<typename Policy>
struct flecsi::topo::unstructured< Policy >

Topology type.

Template Parameters
Policythe specialization, following unstructured_specialization

Member Function Documentation

◆ get_connectivity()

template<typename Policy >
template<index_space F, index_space T>
auto & get_connectivity ( )

Return the connectivity between two index spaces.

Template Parameters
FThe "from" index space.
TThe "to" index space.
Returns
a ragged field (of type flecsi::field::definition) that maps each element of F to zero or more elements of T.

◆ get_special_entities()

template<typename Policy >
template<index_space S, typename Policy::entity_list E>
auto & get_special_entities ( )

Get the special entities for a given index space.

Returns
topology instance on which special_field is registered

Member Data Documentation

◆ special_field

template<typename Policy >
const field<util::id>::definition<array<Policy> > special_field
static

Field that holds each list of special entity IDs.