FleCSI User API Version: 2.3.0
 
Loading...
Searching...
No Matches
accessor< sparse, T, P > Struct Template Reference

Accessor for sparse fields. More...

Classes

struct  row
 A mapping backed by a row. Use the ragged interface to iterate. More...
 

Public Member Functions

row operator[] (typename accessor::size_type i) const
 Get the row at an index point.
 

Detailed Description

template<class T, Privileges P>
struct flecsi::data::accessor< sparse, T, P >

Accessor for sparse fields.

This class is supported for GPU execution.

Template Parameters
Pcannot be write-only
See also
the base class

Member Function Documentation

◆ operator[]()

template<class T , Privileges P>
row operator[] ( typename accessor< sparse, T, P >::size_type  i) const

Get the row at an index point.