#include <KokkosMaterialPropertyValueDecl.h>
Public Member Functions | |
| KOKKOS_FUNCTION | MaterialPropertyValue (const MaterialProperty< T, 0 > &property, const Datum &datum, const unsigned int qp) |
| Constructor. More... | |
| KOKKOS_FUNCTION | operator const T & () const |
| Get the const reference of a property value. More... | |
| KOKKOS_FUNCTION auto & | operator= (const T &value) |
| Assign a value to the underlying property. More... | |
| KOKKOS_FUNCTION auto & | operator= (const MaterialPropertyValue< T, 0 > &value) |
| Copy a value from another property. More... | |
| KOKKOS_FUNCTION dof_id_type | n (unsigned int dim) const |
| Get the size of a dimension. More... | |
Protected Attributes | |
| const dof_id_type | _idx |
| Index into the property data storage. More... | |
| Array< T, dimension+1 > const * | _data |
| Pointer to the property data storage. More... | |
| const T & | _value |
| Default value. More... | |
Private Member Functions | |
| usingKokkosMaterialPropertyValueBaseMembers (T, 0) | |
Definition at line 114 of file KokkosMaterialPropertyValueDecl.h.
| KOKKOS_FUNCTION Moose::Kokkos::MaterialPropertyValue< T, 0 >::MaterialPropertyValue | ( | const MaterialProperty< T, 0 > & | 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 40 of file KokkosMaterialPropertyValue.h.
|
inlineinherited |
Get the size of a dimension.
| dim | The dimension index |
Definition at line 52 of file KokkosMaterialPropertyValueDecl.h.
|
inline |
Get the const reference of a property value.
Definition at line 134 of file KokkosMaterialPropertyValueDecl.h.
| KOKKOS_FUNCTION auto & Moose::Kokkos::MaterialPropertyValue< T, 0 >::operator= | ( | const T & | value | ) |
Assign a value to the underlying property.
| value | The value to assign |
Definition at line 49 of file KokkosMaterialPropertyValue.h.
| KOKKOS_FUNCTION auto & Moose::Kokkos::MaterialPropertyValue< T, 0 >::operator= | ( | const MaterialPropertyValue< T, 0 > & | value | ) |
Copy a value from another property.
| value | The property to copy |
Definition at line 58 of file KokkosMaterialPropertyValue.h.
|
private |
|
protectedinherited |
Pointer to the property data storage.
Definition at line 62 of file KokkosMaterialPropertyValueDecl.h.
|
protectedinherited |
Index into the property data storage.
Definition at line 58 of file KokkosMaterialPropertyValueDecl.h.
|
protectedinherited |
Default value.
Definition at line 66 of file KokkosMaterialPropertyValueDecl.h.
1.8.14