MP-Gadget
5.0.1.dev1-76bc7d4726-dirty
|
Go to the source code of this file.
Classes | |
struct | power_params |
Enumerations | |
enum | TransferType { DELTA_BAR = 0 , DELTA_CDM = 1 , DELTA_NU = 2 , DELTA_CB = 3 , VEL_BAR = 4 , VEL_CDM = 5 , VEL_NU = 6 , VEL_CB = 7 , VEL_TOT = 8 , DELTA_TOT = 9 } |
Functions | |
double | DeltaSpec (double kmag, enum TransferType Type) |
double | dlogGrowth (double kmag, enum TransferType Type) |
int | init_powerspectrum (int ThisTask, double InitTime, double UnitLength_in_cm_in, Cosmology *CPin, struct power_params *ppar) |
void | save_all_transfer_tables (BigFile *bf, int ThisTask) |
enum TransferType |
double DeltaSpec | ( | double | kmag, |
enum TransferType | Type | ||
) |
Definition at line 52 of file power.c.
References Delta_EH(), Delta_Tabulated(), Norm, and WhichSpectrum.
Referenced by density_transfer(), disp_transfer(), print_spec(), sigma2_int(), test_growth_numerical(), test_read_no_rescale(), and test_read_rescale_sigma8().
double dlogGrowth | ( | double | kmag, |
enum TransferType | Type | ||
) |
Definition at line 101 of file power.c.
References DELTA_BAR, DELTA_CB, get_Tabulated(), VEL_BAR, and VEL_TOT.
Referenced by disp_transfer(), and test_growth_numerical().
int init_powerspectrum | ( | int | ThisTask, |
double | InitTime, | ||
double | UnitLength_in_cm_in, | ||
Cosmology * | CPin, | ||
struct power_params * | ppar | ||
) |
Definition at line 394 of file power.c.
References CM_PER_MPC, CP, power_params::DifferentTransferFunctions, endrun(), power_params::FileWithInputSpectrum, GrowthFactor(), init_transfer_table(), power_params::InputPowerRedshift, table::logD, table::logk, table::mat_intp, message(), table::Nentry, Norm, parse_power(), power_table, PrimordialIndex, power_params::PrimordialIndex, read_power_table(), power_params::ScaleDepVelocity, power_params::Sigma8, ThisTask, TopHatSigma2(), transfer_table, UnitLength_in_cm, WhichSpectrum, and power_params::WhichSpectrum.
Referenced by main(), test_growth_numerical(), test_read_no_rescale(), and test_read_rescale_sigma8().
void save_all_transfer_tables | ( | BigFile * | bf, |
int | ThisTask | ||
) |
Definition at line 150 of file power.c.
References MAXCOLS, power_table, save_transfer(), ThisTask, tnames, and transfer_table.
Referenced by main().