FleCSI User API Version: 2.3.0
 
Loading...
Searching...
No Matches
multi< A > Struct Template Reference

A sequence of accessors obtained from a launch::mapping. More...

Public Member Functions

auto components () const
 Get the components for each color.
 

Detailed Description

template<class A>
struct flecsi::data::multi< A >

A sequence of accessors obtained from a launch::mapping.

Pass a multi_reference or mapping to a task that accepts one.

Template Parameters
Aan accessor, mutator, or topology_accessor specialization

Member Function Documentation

◆ components()

template<class A >
auto components ( ) const

Get the components for each color.

for(auto [c,a] : m.components())
auto components() const
Get the components for each color.
Definition accessor.hh:1518
Returns
a range of color-accessor pairs