The Kokkos wrapper class for accessing the material property values of a single quadrature point. More...
#include <KokkosMaterialPropertyDecl.h>
Public Member Functions | |
| KOKKOS_FUNCTION | MaterialPropertyValueBase (const MaterialProperty< T, dimension > &property, const Datum &datum, const unsigned int qp) |
| Constructor. More... | |
| KOKKOS_FUNCTION dof_id_type | n (unsigned int dim) const |
| Get the size of a dimension. More... | |
Protected Attributes | |
| const dof_id_type | _qp |
| Global quadrature point index. More... | |
| Array< T, dimension+1 > const * | _data |
| Pointer to the property data storage. More... | |
| const T & | _value |
| Default value. More... | |
The Kokkos wrapper class for accessing the material property values of a single quadrature point.
The instances of this class are expected to be only created by the Kokkos material properties as temporary objects.
Definition at line 31 of file KokkosMaterialPropertyDecl.h.
| KOKKOS_FUNCTION Moose::Kokkos::MaterialPropertyValueBase< T, dimension >::MaterialPropertyValueBase | ( | const MaterialProperty< T, dimension > & | property, |
| const Datum & | datum, | ||
| const unsigned int | qp | ||
| ) |
Constructor.
| property | The material property constructing this object |
| datum | The Datum object of the current thread |
| qp | The local quadrature point index |
Definition at line 23 of file KokkosMaterialPropertyValue.h.
|
inline |
Get the size of a dimension.
| dim | The dimension index |
Definition at line 54 of file KokkosMaterialPropertyValueDecl.h.
|
protected |
Pointer to the property data storage.
Definition at line 64 of file KokkosMaterialPropertyValueDecl.h.
Referenced by Moose::Kokkos::MaterialPropertyValueBase< T, 4 >::n().
|
protected |
Global quadrature point index.
Definition at line 60 of file KokkosMaterialPropertyValueDecl.h.
|
protected |
Default value.
Definition at line 68 of file KokkosMaterialPropertyValueDecl.h.
1.8.14