XGC1
Functions
spline_1d_interpolation.cpp File Reference
#include "timer_macro.hpp"
#include "spline_1d_interpolation.hpp"
Include dependency graph for spline_1d_interpolation.cpp:

Functions

template<class Device >
View< double *, CLayout, Device > get_dx (const View< double *, CLayout, Device > &x, double period)
 
template<class Device >
View< int *, CLayout, Device > get_xmap (const View< double *, CLayout, Device > &x, const UniformRange &range)
 
int mod_wrap (int i, int n)
 
template<class Device >
void solve_tridiagonal_system (const SplinePrecomputations< Device > &p, const View< double *, CLayout, Device > &y, const View< double *, CLayout, Device > &b, const View< double *, CLayout, Device > &c, const View< double *, CLayout, Device > &d, bool periodic)
 
template<class Device >
void spline_interpolation_to_uniform (const SplinePrecomputations< Device > &p, const View< double *, CLayout, Device > &x0, int x0_surf_offset, const View< double *, CLayout, Device > &y0, const UniformRange &range, const View< double *, CLayout, Device > &y, double period)
 
template void spline_interpolation_to_uniform (const SplinePrecomputations< HostType > &p, const View< double *, CLayout, HostType > &x0, int x0_surf_offset, const View< double *, CLayout, HostType > &y0, const UniformRange &range, const View< double *, CLayout, HostType > &y, double period)
 
template<class Device >
View< double *, CLayout, Device > linear_interpolation_to_uniform (const View< double *, CLayout, Device > &x0, const View< double *, CLayout, Device > &y0, const UniformRange &range, const View< double *, CLayout, Device > &y, double period)
 
template View< double *, CLayout, HostTypelinear_interpolation_to_uniform (const View< double *, CLayout, HostType > &x0, const View< double *, CLayout, HostType > &y0, const UniformRange &range, const View< double *, CLayout, HostType > &y, double period)
 
template View< double *, CLayout, DeviceTypelinear_interpolation_to_uniform (const View< double *, CLayout, DeviceType > &x0, const View< double *, CLayout, DeviceType > &y0, const UniformRange &range, const View< double *, CLayout, DeviceType > &y, double period)
 

Function Documentation

◆ get_dx()

template<class Device >
View<double*, CLayout, Device> get_dx ( const View< double *, CLayout, Device > &  x,
double  period 
)
Here is the call graph for this function:

◆ get_xmap()

template<class Device >
View<int*, CLayout, Device> get_xmap ( const View< double *, CLayout, Device > &  x,
const UniformRange range 
)
Here is the call graph for this function:

◆ linear_interpolation_to_uniform() [1/3]

template<class Device >
View<double*, CLayout, Device> linear_interpolation_to_uniform ( const View< double *, CLayout, Device > &  x0,
const View< double *, CLayout, Device > &  y0,
const UniformRange range,
const View< double *, CLayout, Device > &  y,
double  period 
)
Here is the call graph for this function:

◆ linear_interpolation_to_uniform() [2/3]

template View<double*, CLayout, DeviceType> linear_interpolation_to_uniform ( const View< double *, CLayout, DeviceType > &  x0,
const View< double *, CLayout, DeviceType > &  y0,
const UniformRange range,
const View< double *, CLayout, DeviceType > &  y,
double  period 
)

◆ linear_interpolation_to_uniform() [3/3]

template View<double*, CLayout, HostType> linear_interpolation_to_uniform ( const View< double *, CLayout, HostType > &  x0,
const View< double *, CLayout, HostType > &  y0,
const UniformRange range,
const View< double *, CLayout, HostType > &  y,
double  period 
)

◆ mod_wrap()

int mod_wrap ( int  i,
int  n 
)
inline
Here is the caller graph for this function:

◆ solve_tridiagonal_system()

template<class Device >
void solve_tridiagonal_system ( const SplinePrecomputations< Device > &  p,
const View< double *, CLayout, Device > &  y,
const View< double *, CLayout, Device > &  b,
const View< double *, CLayout, Device > &  c,
const View< double *, CLayout, Device > &  d,
bool  periodic 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ spline_interpolation_to_uniform() [1/2]

template<class Device >
void spline_interpolation_to_uniform ( const SplinePrecomputations< Device > &  p,
const View< double *, CLayout, Device > &  x0,
int  x0_surf_offset,
const View< double *, CLayout, Device > &  y0,
const UniformRange range,
const View< double *, CLayout, Device > &  y,
double  period 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ spline_interpolation_to_uniform() [2/2]

template void spline_interpolation_to_uniform ( const SplinePrecomputations< HostType > &  p,
const View< double *, CLayout, HostType > &  x0,
int  x0_surf_offset,
const View< double *, CLayout, HostType > &  y0,
const UniformRange range,
const View< double *, CLayout, HostType > &  y,
double  period 
)