SplineInterpolator1DStack< NT, Coordinates, DefaultMemorySpace > Class Template Reference#
|
DiFfRG
Discretization Framework for functional Renormalization Group flows
|
Public Types |
Public Member Functions |
Static Public Attributes |
Private Types |
Private Member Functions |
Private Attributes |
Friends |
List of all members
DiFfRG::SplineInterpolator1DStack< NT, Coordinates, DefaultMemorySpace > Class Template Reference
A linear interpolator for 1D data, using texture memory on the GPU and floating point arithmetic on the CPU. More...
#include <spline_interpolator_1d_stack.hh>
Public Types | |
| using | memory_space = DefaultMemorySpace |
| using | other_memory_space = other_memory_space_t< DefaultMemorySpace > |
| using | ctype = typename Coordinates::ctype |
| using | value_type = NT |
Static Public Attributes | |
| static constexpr size_t | dim = 2 |
Private Types | |
| using | ValueViewType = Kokkos::View< NT **, DefaultMemorySpace, Kokkos::MemoryTraits< Kokkos::RandomAccess > > |
| using | CoeffViewType = Kokkos::View< NT **, DefaultMemorySpace, Kokkos::MemoryTraits< Kokkos::RandomAccess > > |
| using | HostValueViewType = typename ValueViewType::host_mirror_type |
| using | HostCoeffViewType = typename CoeffViewType::host_mirror_type |
Private Member Functions | |
| void | build_y2 (const size_t sidx, const ctype lower_y1, const ctype upper_y1) |
Friends | |
| class | SplineInterpolator1DStack< NT, Coordinates, other_memory_space > |
Detailed Description
template<typename NT, typename Coordinates, typename DefaultMemorySpace = CPU_memory>
class DiFfRG::SplineInterpolator1DStack< NT, Coordinates, DefaultMemorySpace >
class DiFfRG::SplineInterpolator1DStack< NT, Coordinates, DefaultMemorySpace >
A linear interpolator for 1D data, using texture memory on the GPU and floating point arithmetic on the CPU.
- Template Parameters
-
NT input data type Coordinates coordinate system of the input data
Member Typedef Documentation
◆ CoeffViewType
|
private |
◆ ctype
| using DiFfRG::SplineInterpolator1DStack< NT, Coordinates, DefaultMemorySpace >::ctype = typename Coordinates::ctype |
◆ HostCoeffViewType
|
private |
◆ HostValueViewType
|
private |
◆ memory_space
| using DiFfRG::SplineInterpolator1DStack< NT, Coordinates, DefaultMemorySpace >::memory_space = DefaultMemorySpace |
◆ other_memory_space
| using DiFfRG::SplineInterpolator1DStack< NT, Coordinates, DefaultMemorySpace >::other_memory_space = other_memory_space_t<DefaultMemorySpace> |
◆ value_type
| using DiFfRG::SplineInterpolator1DStack< NT, Coordinates, DefaultMemorySpace >::value_type = NT |
◆ ValueViewType
|
private |
Constructor & Destructor Documentation
◆ SplineInterpolator1DStack() [1/2]
|
inline |
Construct a SplineInterpolator1DStack with zeroed data and a coordinate system.
- Parameters
-
coordinates coordinate system of the data
◆ SplineInterpolator1DStack() [2/2]
|
inline |
Copy constructor for SplineInterpolator1DStack. This is ONLY for usage inside Kokkos parallel loops.
◆ ~SplineInterpolator1DStack()
|
inline |
Member Function Documentation
◆ build_y2()
|
inlineprivate |
◆ CPU()
|
inline |
◆ data()
|
inline |
◆ get_coordinates()
|
inline |
Get the coordinate system of the data.
- Returns
- const Coordinates& the coordinate system
◆ get_on()
template<typename MemorySpace >
|
inline |
◆ GPU()
|
inline |
◆ operator()()
|
inline |
Interpolate the data at a given point.
- Parameters
-
x the point at which to interpolate
- Returns
- NT the interpolated value
◆ operator[]()
|
inline |
◆ update() [1/2]
|
inline |
◆ update() [2/2]
|
inline |
Friends And Related Symbol Documentation
◆ SplineInterpolator1DStack< NT, Coordinates, other_memory_space >
|
friend |
Member Data Documentation
◆ coordinates
|
private |
◆ device_coeffs
|
private |
◆ device_values
|
private |
◆ dim
|
staticconstexpr |
◆ host_coeffs
|
private |
◆ host_values
|
private |
◆ other_instance
|
mutableprivate |
◆ owns_other_instance
|
mutableprivate |
◆ sizes
|
private |
The documentation for this class was generated from the following file:
- /__w/DiFfRG_current/DiFfRG_current/DiFfRG/include/DiFfRG/physics/interpolation/spline_interpolator_1d_stack.hh
Generated by