21 template <
typename T,
unsigned int dimension>
25 : _qp(datum.qpOffset() + qp),
26 _data(property._default ? nullptr : &property._data[datum.subdomain()]),
27 _value(property._value)
72 KOKKOS_FUNCTION
auto &
75 (*_data)(_qp) =
value;
81 KOKKOS_FUNCTION
auto &
84 (*_data)(_qp) = static_cast<T>(
value);
The Kokkos object that holds thread-private data in the parallel operations of any Kokkos object...
KOKKOS_FUNCTION MaterialPropertyValueBase(const MaterialProperty< T, dimension > &property, const Datum &datum, const unsigned int qp)
Constructor.
The Kokkos wrapper class for accessing the material property values of a single quadrature point...
Real value(unsigned n, unsigned alpha, unsigned beta, Real x)
infix_ostream_iterator< T, charT, traits > & operator=(T const &item)
MOOSE now contains C++17 code, so give a reasonable error message stating what the user can do to add...
MaterialPropertyValueTempl< false > MaterialPropertyValue
The Kokkos material property class.