#include <KokkosMaterialPropertyValueDecl.h>
Public Member Functions | |
KOKKOS_FUNCTION | MaterialPropertyValue (const MaterialProperty< T, 0 > &property, const Datum &datum, 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 | _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... | |
Private Member Functions | |
usingKokkosMaterialPropertyValueBaseMembers (T, 0) | |
Definition at line 75 of file KokkosMaterialPropertyValueDecl.h.
Moose::Kokkos::MaterialPropertyValue< T, 0 >::MaterialPropertyValue | ( | const MaterialProperty< T, 0 > & | property, |
const Datum & | datum, | ||
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 32 of file KokkosMaterialPropertyValue.h.
|
inlineinherited |
Get the size of a dimension.
dim | The dimension index |
Definition at line 54 of file KokkosMaterialPropertyValueDecl.h.
|
inline |
Get the const reference of a property value.
Definition at line 95 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 73 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 82 of file KokkosMaterialPropertyValue.h.
|
private |
|
protectedinherited |
Pointer to the property data storage.
Definition at line 64 of file KokkosMaterialPropertyValueDecl.h.
|
protectedinherited |
Global quadrature point index.
Definition at line 60 of file KokkosMaterialPropertyValueDecl.h.
|
protectedinherited |
Default value.
Definition at line 68 of file KokkosMaterialPropertyValueDecl.h.