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

Mutator for sparse fields. More...

Classes

struct  row
 A row handle. More...
 

Public Member Functions

row operator[] (size_type i) const
 Get the row at an index point.
 
size_type size () const noexcept
 Get the number of rows.
 

Detailed Description

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

Mutator for sparse fields.

Cannot be used while tracing or in a GPU task.

Template Parameters
Pif write-only, all rows are discarded

Member Function Documentation

◆ operator[]()

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

Get the row at an index point.

◆ size()

template<class T , Privileges P>
size_type size ( ) const
noexcept

Get the number of rows.