|
CLASS MANUAL
|
#include "nonlinear.h"
Include dependency graph for nonlinear.c:Functions | |
| int | nonlinear_init (struct precision *ppr, struct background *pba, struct thermo *pth, struct perturbs *ppt, struct primordial *ppm, struct nonlinear *pnl) |
| int | nonlinear_halofit (struct precision *ppr, struct background *pba, struct primordial *ppm, struct nonlinear *pnl, double tau, double *pk_l, double *pk_nl, double *lnk_l, double *lnpk_l, double *ddlnpk_l, double *k_nl) |
Documented nonlinear module
Julien Lesgourgues, 6.03.2014
New module replacing an older one present up to version 2.0 The new module is located in a better place in the main, allowing it to compute non-linear correction to
's and not just
. It will also be easier to generalize to new methods. The old implementation of one-loop calculations and TRG calculations has been dropped from this version, they can still be found in older versions.
| int nonlinear_init | ( | struct precision * | ppr, |
| struct background * | pba, | ||
| struct thermo * | pth, | ||
| struct perturbs * | ppt, | ||
| struct primordial * | ppm, | ||
| struct nonlinear * | pnl | ||
| ) |
Summary
(a) First deal with the case where non non-linear corrections requested
(b) Compute for HALOFIT non-linear spectrum
| int nonlinear_halofit | ( | struct precision * | ppr, |
| struct background * | pba, | ||
| struct primordial * | ppm, | ||
| struct nonlinear * | pnl, | ||
| double | tau, | ||
| double * | pk_l, | ||
| double * | pk_nl, | ||
| double * | lnk_l, | ||
| double * | lnpk_l, | ||
| double * | ddlnpk_l, | ||
| double * | k_nl | ||
| ) |
Determine non linear ratios (from pk)