|
MP-Gadget
5.0.1.dev1-76bc7d4726-dirty
|
#include <stdarg.h>#include <stddef.h>#include <setjmp.h>#include <cmocka.h>#include <math.h>#include <stdio.h>#include <stdint.h>#include <stdlib.h>#include "stub.h"#include <libgadget/config.h>#include <libgenic/power.h>#include <libgadget/cosmology.h>Go to the source code of this file.
Classes | |
| struct | test_state |
Functions | |
| void | _bigfile_utils_create_block_from_c_array (BigFile *bf, void *baseptr, char *name, char *dtype, size_t dims[], ptrdiff_t elsize, int64_t TotNumPart, MPI_Comm comm) |
| static void | test_read_no_rescale (void **state) |
| static void | test_growth_numerical (void **state) |
| static void | test_read_rescale_sigma8 (void **state) |
| static int | setup (void **state) |
| int | main (void) |
| void _bigfile_utils_create_block_from_c_array | ( | BigFile * | bf, |
| void * | baseptr, | ||
| char * | name, | ||
| char * | dtype, | ||
| size_t | dims[], | ||
| ptrdiff_t | elsize, | ||
| int64_t | TotNumPart, | ||
| MPI_Comm | comm | ||
| ) |
Definition at line 23 of file test_power.c.
| int main | ( | void | ) |
Definition at line 161 of file test_power.c.
|
static |
Definition at line 133 of file test_power.c.
References Cosmology::CMBTemperature, test_state::CP, power_params::DifferentTransferFunctions, power_params::FileWithInputSpectrum, power_params::FileWithTransferFunction, get_unitsystem(), Cosmology::HubbleParam, init_cosmology(), power_params::InputPowerRedshift, Cosmology::MNu, Cosmology::Omega0, Cosmology::Omega_fld, Cosmology::OmegaBaryon, Cosmology::OmegaLambda, test_state::PowerP, power_params::PrimordialIndex, Cosmology::RadiationOn, power_params::Sigma8, Cosmology::w0_fld, Cosmology::wa_fld, and power_params::WhichSpectrum.
|
static |
Definition at line 73 of file test_power.c.
References CP, DELTA_BAR, DELTA_CDM, DELTA_TOT, DeltaSpec(), power_params::DifferentTransferFunctions, dlogGrowth(), F_Omega(), init_powerspectrum(), power_params::InputPowerRedshift, and test_state::PowerP.
|
static |
Definition at line 30 of file test_power.c.
References CP, DELTA_BAR, DELTA_CB, DELTA_CDM, DELTA_TOT, DeltaSpec(), power_params::DifferentTransferFunctions, init_powerspectrum(), power_params::InputPowerRedshift, and test_state::PowerP.
|
static |
Definition at line 118 of file test_power.c.
References CP, DELTA_TOT, DeltaSpec(), power_params::DifferentTransferFunctions, init_powerspectrum(), power_params::InputPowerRedshift, and test_state::PowerP.