27 KOKKOS_FUNCTION Real
domain(
const unsigned int i)
const {
return _raw_x[i]; }
28 KOKKOS_FUNCTION Real
range(
const unsigned int i)
const {
return _raw_y[i]; }
Function base which provides a piecewise approximation to a specified (x,y) point data set.
KokkosPiecewiseBase(const InputParameters ¶meters)
Moose::Kokkos::Array< Real > _raw_x
raw function data as read
KOKKOS_FUNCTION Real range(const unsigned int i) const
static InputParameters validParams()
KOKKOS_FUNCTION Real domain(const unsigned int i) const
Moose::Kokkos::Array< Real > _raw_y
KOKKOS_FUNCTION dof_id_type functionSize() const
const InputParameters & parameters() const
Get the parameters of the object.
KOKKOS_FUNCTION index_type size() const
Get the total array size.
The base class for a user to derive their own Kokkos functions.