11 template<
class Device>
23 Kokkos::View<OneDCoeff*,Kokkos::LayoutRight,Device>
acoef;
28 CubInterp(
const View<double*, HostType>& x,
const View<double*, HostType>& y);
31 template<
class Device2>
47 KOKKOS_INLINE_FUNCTION
double value(
double x)
const;
48 KOKKOS_INLINE_FUNCTION
double derivative(
double x)
const;
double min_x
min x cutoff for the interpolation
Definition: cub_interp.hpp:20
void mirror_copy(T1 &view_dest, const T2 &view_src)
Definition: my_mirror_view.hpp:122
KOKKOS_INLINE_FUNCTION double value(double x) const
Definition: cub_interp.tpp:6
Definition: cub_interp.hpp:12
KOKKOS_INLINE_FUNCTION double derivative(double x) const
Definition: cub_interp.tpp:25
double coeff[4]
Definition: cub_interp.hpp:8
Kokkos::View< OneDCoeff *, Kokkos::LayoutRight, Device > acoef
y data for interpolation
Definition: cub_interp.hpp:23
CubInterp< Device2 > mirror() const
Definition: cub_interp.hpp:32
Definition: cub_interp.hpp:7
View< T *, CLayout, Device > my_mirror_view(const View< T *, CLayout, Device > &view, Device nd)
Definition: my_mirror_view.hpp:14
double max_x
max x cutoff for the interpolation
Definition: cub_interp.hpp:19
int ncoeff
Length of acoef.
Definition: cub_interp.hpp:18
CubInterp()
Definition: cub_interp.hpp:45
double dx_inv
Increment dx on which acoef is mapped.
Definition: cub_interp.hpp:21