A simple object holding the dimension information of an inner array. More...
#include <KokkosJaggedArray.h>
Public Member Functions | |
| KOKKOS_FUNCTION unsigned int | operator[] (unsigned int i) const |
| Get the size of a dimension. More... | |
Public Attributes | |
| unsigned int | dim [inner] = {0} |
| Size of each dimension. More... | |
| unsigned int | stride [inner+1] = {0} |
| Stride of each dimension. More... | |
A simple object holding the dimension information of an inner array.
| inner | The inner array dimension size |
Definition at line 22 of file KokkosJaggedArray.h.
|
inline |
Get the size of a dimension.
| i | The dimension index |
Definition at line 39 of file KokkosJaggedArray.h.
| unsigned int Moose::Kokkos::JaggedArrayInnerDim< inner >::dim[inner] = {0} |
Size of each dimension.
Definition at line 27 of file KokkosJaggedArray.h.
Referenced by Moose::Kokkos::JaggedArrayInnerDim< inner >::operator[]().
| unsigned int Moose::Kokkos::JaggedArrayInnerDim< inner >::stride[inner+1] = {0} |
Stride of each dimension.
Definition at line 31 of file KokkosJaggedArray.h.
1.8.14