XGCa
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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, 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, const View< double *, CLayout, HostType > &y0, const UniformRange &range, const View< double *, CLayout, HostType > &y, double period)
 
template void spline_interpolation_to_uniform (const SplinePrecomputations< DeviceType > &p, const View< double *, CLayout, DeviceType > &x0, const View< double *, CLayout, DeviceType > &y0, const UniformRange &range, const View< double *, CLayout, DeviceType > &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, 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)
 
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)
 

Function Documentation

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:

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:

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:

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 
)
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 
)
int mod_wrap ( int  i,
int  n 
)
inline

Here is the caller graph for this function:

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:

template<class Device >
void spline_interpolation_to_uniform ( const SplinePrecomputations< Device > &  p,
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:

Here is the caller graph for this function:

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