|
Fast Methods for Cosmological Simulations
FastSim serves as a tool for quick N-body simulations in modified gravity.
|
QAWO adaptive integration for oscillatory functions. More...


Public Member Functions | |
| Integr_obj_qawo (double(*f)(double, void *), const double a, const double b, const double epsabs, const double epsrel, size_t limit, size_t n) | |
| ~Integr_obj_qawo () | |
| double | operator() (double r, void *params) |
Public Member Functions inherited from anonymous_namespace{core_power.cpp}::Integr_obj | |
| Integr_obj (double(*f)(double, void *), const double a, const double b, const double epsabs, const double epsrel, const size_t limit) | |
| ~Integr_obj () | |
| void | set_a (double a_new) |
| void | set_b (double b_new) |
Protected Attributes | |
| gsl_integration_qawo_table * | wf |
Protected Attributes inherited from anonymous_namespace{core_power.cpp}::Integr_obj | |
| double | result |
| double | error |
| double | a |
| double | b |
| double | L |
| double | epsabs |
| double | epsrel |
| size_t | limit |
| gsl_function | F |
| gsl_integration_workspace * | w |
| int | gsl_errno |
QAWO adaptive integration for oscillatory functions.
The QAWO algorithm is designed for integrands with an oscillatory factor,
or
.
Definition at line 148 of file core_power.cpp.
|
inline |
Definition at line 152 of file core_power.cpp.
|
inline |
Definition at line 159 of file core_power.cpp.
|
inline |
Definition at line 164 of file core_power.cpp.
References halomod_bm::params, and w.
|
protected |
Definition at line 173 of file core_power.cpp.