Interface Documentation
Version: invalid
Classes | Public Types | List of all members
flecsi::field< T, L > Struct Template Reference

#include <field.hh>

Classes

struct  definition
 

Public Types

template<std::size_t Priv>
using accessor1 = data::accessor< L, T, Priv >
 
template<partition_privilege_t... PP>
using accessor = accessor1< privilege_pack< PP... > >
 

Detailed Description

template<class T, data::layout L = data::dense>
struct flecsi::field< T, L >

Helper type to define and access fields.

Template Parameters
Tfield value type: a trivially copyable type with no pointers or references
Ldata layout

Member Typedef Documentation

◆ accessor

template<class T, data::layout L = data::dense>
template<partition_privilege_t... PP>
using flecsi::field< T, L >::accessor = accessor1<privilege_pack<PP...> >

The accessor to use as a parameter to receive this sort of field.

Template Parameters
PPthe appropriate number of privilege values

The documentation for this struct was generated from the following file: