22 template <typename T, typename = typename std::enable_if<std::is_arithmetic<T>::value>::type>
49 class Scalar<const T, typename
std::enable_if<std::is_arithmetic<T>::value>::type>
The Kokkos object that can hold the reference of a variable.
The Kokkos wrapper class that can hold the reference of an arithmetic scalar variable.
T & _reference
Writeable host reference of the variable.
Scalar(const T &value)
Constructor.
auto & operator=(T value)
Assign a scalar value to the underlying host reference.
Real value(unsigned n, unsigned alpha, unsigned beta, Real x)
Scalar(T &value)
Constructor.
MOOSE now contains C++17 code, so give a reasonable error message stating what the user can do to add...