#include <cub_interp.hpp>
|
| CubInterp (OneDCoeff *one_d_cub_acoef_in, int ncoeff_in, double max_psi_in, double min_psi_in, double one_d_cub_dpsi_inv_in) |
|
| CubInterp () |
|
KOKKOS_INLINE_FUNCTION double | value (double psi) const |
|
KOKKOS_INLINE_FUNCTION double | derivative (double psi) const |
|
template<class Device >
CubInterp< Device >::CubInterp |
( |
OneDCoeff * |
one_d_cub_acoef_in, |
|
|
int |
ncoeff_in, |
|
|
double |
max_psi_in, |
|
|
double |
min_psi_in, |
|
|
double |
one_d_cub_dpsi_inv_in |
|
) |
| |
template<class Device >
KOKKOS_INLINE_FUNCTION double CubInterp< Device >::derivative |
( |
double |
psi | ) |
const |
1D cubic spline interpolation
- Parameters
-
[in] | x | Input |
[in] | ideriv | Order of derivative to be returned (0,1,2) |
- Returns
- The interpolation
template<class Device >
KOKKOS_INLINE_FUNCTION double CubInterp< Device >::value |
( |
double |
psi | ) |
const |
1D cubic spline interpolation
- Parameters
-
[in] | x | Input |
[in] | ideriv | Order of derivative to be returned (0,1,2) |
- Returns
- The interpolation
max psi cutoff for the interpolation
min psi cutoff for the interpolation
Length of one_d_cub_acoef.
I data for interpolation.
template<class Device >
double CubInterp< Device >::one_d_cub_dpsi_inv |
|
private |
Increment dpsi on which one_d_cub_acoef is mapped.
The documentation for this class was generated from the following files:
- /u/gitlab-xgc/builds/YGMz2TJ8/0/xgc/XGC-Devel/XGC_core/cpp/cub_interp.hpp
- /u/gitlab-xgc/builds/YGMz2TJ8/0/xgc/XGC-Devel/XGC_core/cpp/cub_interp.tpp