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

Accessor for ordinary fields. More...

Public Member Functions

accessor::element_type & operator() (size_type index) const
 Index with bounds checking (except with NDEBUG).
 
accessor::element_type & operator[] (size_type index) const
 Index without bounds checking (even without NDEBUG).
 

Detailed Description

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

Accessor for ordinary fields.

This class is supported for GPU execution.

See also
the base class

Member Function Documentation

◆ operator()()

template<class T , Privileges P>
accessor::element_type & operator() ( size_type  index) const

Index with bounds checking (except with NDEBUG).

◆ operator[]()

template<class T , Privileges P>
accessor::element_type & operator[] ( size_type  index) const

Index without bounds checking (even without NDEBUG).