FleCSI User API Version: 2.3.0
 
Loading...
Searching...
No Matches
field_reference< T, L, Topo, Space > Struct Template Reference

Identifies a field on a particular topology instance. More...

Public Member Functions

auto & get_elements () const
 Get the dynamic element storage (for resizing it).
 

Detailed Description

template<class T, layout L, class Topo, typename Topo::index_space Space>
struct flecsi::data::field_reference< T, L, Topo, Space >

Identifies a field on a particular topology instance.

Declare a task parameter as an accessor to use the field.

Template Parameters
Tdata type (merely for type safety)
Ldata layout (similarly)
Spacetopology-relative index space

Member Function Documentation

◆ get_elements()

template<class T , layout L, class Topo , typename Topo::index_space Space>
auto & get_elements ( ) const

Get the dynamic element storage (for resizing it).

Returns
topo::repartition
Note
L must be ragged or sparse.