|
Fast Methods for Cosmological Simulations
FastSim serves as a tool for quick N-body simulations in modified gravity.
|
: linear interpolation (Steffen) of data [x, y] More...
#include <core_power.h>

Public Member Functions | |
| Interp_obj () | |
| ~Interp_obj () | |
| double | operator() (double x) const |
| template<typename T , size_t N> | |
| void | init (const Data_Vec< T, N > &data) |
Public Attributes | |
| double | x_min |
| double | x_max |
Private Attributes | |
| bool | is_init |
| gsl_spline * | spline |
| gsl_interp_accel * | acc |
: linear interpolation (Steffen) of data [x, y]
Definition at line 96 of file core_power.h.
|
inline |
| Interp_obj::~Interp_obj | ( | ) |
| template void Interp_obj::init | ( | const Data_Vec< T, N > & | data | ) |
EXPLICIT INSTANTIATION *
Definition at line 496 of file core_power.cpp.
References Catch::begin, Catch::end, and Data_Vec< T, N >::size().
Referenced by Extrap_Pk< T, N >::Extrap_Pk(), gen_sigma_func_binned_gsl_qawf_nl(), and Interp_obj().
Definition at line 520 of file core_power.cpp.
Referenced by Interp_obj(), and Extrap_Pk< T, N >::operator()().
|
private |
Definition at line 109 of file core_power.h.
|
private |
Definition at line 107 of file core_power.h.
|
private |
Definition at line 108 of file core_power.h.
| double Interp_obj::x_max |
Definition at line 104 of file core_power.h.
Referenced by print_pow_spec_diff().
| double Interp_obj::x_min |
Definition at line 104 of file core_power.h.
Referenced by print_pow_spec_diff().