27 KOKKOS_FUNCTION Real
value(Real t,
Real3 p)
const;
28 KOKKOS_FUNCTION Real
integral()
const;
29 KOKKOS_FUNCTION Real
average()
const;
36KOKKOS_FUNCTION
inline Real
44 constexpr Real tolerance = 1.0e-14;
55 x > (1 + tolerance * sign(
domain(len - 1))) *
domain(len - 1)) ||
57 x > (1 - tolerance * sign(
domain(len - 1))) *
domain(len - 1)) ||
59 x > (1 - tolerance * sign(
domain(len - 1))) *
domain(len - 1)) ||
61 x > (1 + tolerance * sign(
domain(len - 1))) *
domain(len - 1)))
64 for (
unsigned int i = 1; i < len; ++i)
81KOKKOS_FUNCTION
inline Real
86 unsigned int offset = 0;
93 for (
unsigned int i = 0; i < len - 1; ++i)
99KOKKOS_FUNCTION
inline Real
KOKKOS_FUNCTION Real range(const unsigned int i) const
KOKKOS_FUNCTION Real domain(const unsigned int i) const
KOKKOS_FUNCTION dof_id_type functionSize() const
Function which provides a piecewise constant interpolation of a provided (x,y) point data set.
enum KokkosPiecewiseConstant::Direction _direction
KokkosPiecewiseConstant(const InputParameters ¶meters)
KOKKOS_FUNCTION Real average() const
Direction
Enum for which direction to apply values.
KOKKOS_FUNCTION Real integral() const
KOKKOS_FUNCTION Real value(Real t, Real3 p) const
static InputParameters validParams()
Piecewise tabular base class which provides a piecewise approximation to a provided (x,...
Moose::Kokkos::Scalar< const Real > _scale_factor
function value scale factor
const InputParameters & parameters() const
Get the parameters of the object.
unsigned int _axis
if _has_axis is true point component to use as function argument, otherwise use t
KOKKOS_INLINE_FUNCTION T sign(T x)
Returns the sign of a value.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real