The base class of the inner array wrapper. More...
#include <KokkosJaggedArray.h>
Public Member Functions | |
| KOKKOS_FUNCTION | JaggedArrayInnerDataBase (T *data, JaggedArrayInnerDim< inner > dim) |
| Constructor. More... | |
| KOKKOS_FUNCTION dof_id_type | size () const |
| Get the total inner array size. More... | |
| KOKKOS_FUNCTION dof_id_type | n (unsigned int dim) const |
| Get the size of a dimension of the inner array. More... | |
| KOKKOS_FUNCTION T & | operator[] (dof_id_type i) const |
| Get an array entry. More... | |
Protected Attributes | |
| T * | _data |
| Pointer to the inner array data. More... | |
| JaggedArrayInnerDim< inner > | _dim |
| Inner array dimension information. More... | |
The base class of the inner array wrapper.
This object provides access to an inner array with local multi-dimensional indexing and is created as a temporary object by the jagged array class.
| T | The data type |
| inner | The inner array dimension size |
Definition at line 53 of file KokkosJaggedArray.h.
|
inline |
Constructor.
| data | The pointer to the inner array data |
| dim | The inner array dimension information |
Definition at line 61 of file KokkosJaggedArray.h.
|
inline |
Get the size of a dimension of the inner array.
| dim | The dimension index |
Definition at line 76 of file KokkosJaggedArray.h.
|
inline |
Get an array entry.
| i | The dimensionless inner array index |
Definition at line 81 of file KokkosJaggedArray.h.
|
inline |
Get the total inner array size.
Definition at line 70 of file KokkosJaggedArray.h.
|
protected |
Pointer to the inner array data.
Definition at line 92 of file KokkosJaggedArray.h.
Referenced by Moose::Kokkos::JaggedArrayInnerDataBase< T, 1 >::operator[]().
|
protected |
Inner array dimension information.
Definition at line 96 of file KokkosJaggedArray.h.
Referenced by Moose::Kokkos::JaggedArrayInnerDataBase< T, 1 >::n(), Moose::Kokkos::JaggedArrayInnerDataBase< T, 1 >::operator[](), and Moose::Kokkos::JaggedArrayInnerDataBase< T, 1 >::size().
1.8.14