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