|
FML
|
A particle-mesh N-body simulation (optionally with COLA). More...
#include <Simulation.h>
Data Structures | |
| struct | StepInfo |
Public Types | |
| template<int N> | |
| using | FFTWGrid = FML::GRID::FFTWGrid<N> |
| using | MPIParticles = FML::PARTICLE::MPIParticles<T> |
| using | ParameterMap = FML::UTILS::ParameterMap |
| using | Spline = FML::INTERPOLATION::SPLINE::Spline |
| using | DVector = FML::INTERPOLATION::SPLINE::DVector |
| using | LinearTransferData = FML::FILEUTILS::LinearTransferData |
| using | PowerSpectrumBinning = FML::CORRELATIONFUNCTIONS::PowerSpectrumBinning<NDIM> |
| using | Parameters = SIMCODE::SimulationParameters |
Public Member Functions | |
| NBodySimulation ()=default | |
| NBodySimulation (std::shared_ptr< Cosmology > cosmo, std::shared_ptr< GravityModel< NDIM > > grav) | |
| NBodySimulation (std::shared_ptr< Cosmology > cosmo, std::shared_ptr< GravityModel< NDIM > > grav, MPIParticles &&_part) | |
| void | read_parameters (ParameterMap ¶m) |
| Read (and check) the parameters. | |
| void | init () |
| Generate the initial conditions. | |
| void | run () |
| Run simulation. | |
| void | free () |
| Free all memory. | |
| const Parameters & | get_parameters () const |
| MPIParticles & | get_particles () |
| bool | has_baryons () const |
| Separate CDM and baryon particles? Then get_particles() are the CDM particles. | |
| MPIParticles & | get_baryon_particles () |
| bool | has_neutrino_particles () const |
| Massive neutrinos as particles (delta-f method)? | |
| SIMCODE::NeutrinoParticles< NDIM > & | get_neutrinos () |
| SIMCODE::NeutrinoParticles< NDIM >::Container & | get_neutrino_particles () |
| const std::vector< SIMCODE::SpeciesInfo > & | get_species () const |
| The particle species (in the order of the IDs) | |
| template<class F > | |
| void | for_each_cb_species (F &&f) |
| Call f(particles, info) for the CDM+baryon species ("cb", or "cdm" and "baryon"; all of type T) | |
| template<class F > | |
| void | for_each_species (F &&f) |
| Call f(particles, info) for all the species (the particle types differ, so use a generic lambda) | |
| double | species_shotnoise (const SIMCODE::SpeciesInfo &info) |
| The shot noise of the density field of a species (in units of the box volume): 1/N (sum w^2 / N^2 for the delta-f neutrinos). | |
| double | cb_shotnoise () |
| The shot noise of delta_cb = sum_i w_i delta_i: sum_i w_i^2 / N_i. | |
| double | total_shotnoise (double a=-1.0) |
| The shot noise of the total delta_m = (1 - f_nu) delta_cb + f_nu delta_nu with neutrino particles (with force_neutrino_energy_density and a > 0: of (1 - f_nu) delta_cb + f_nu <E/m>(a) delta_nu, the source of the Poisson equation). | |
| double | neutrino_energy_factor (double a) const |
| The mean energy per mass of the neutrinos <E/m>(a) with force_neutrino_energy_density, otherwise 1. | |
| bool | neutrino_energy_density () const |
| Use the energy density of the neutrinos (force_neutrino_energy_density) | |
| std::shared_ptr< Cosmology > | get_cosmology () const |
| std::shared_ptr< GravityModel< NDIM > > | get_gravity_model () const |
| std::shared_ptr< GravityModel< NDIM > > | get_gravity_model_ic () const |
| std::shared_ptr< LinearTransferData > | get_transferdata () const |
| const Spline & | get_power_initial_spline () const |
| const auto & | get_pofk_cb_every_step () const |
| const auto & | get_pofk_total_every_step () const |
| const auto & | get_pofk_species_every_step () const |
| const auto & | get_pofk_every_output () const |
| const auto & | get_pofk_multipoles_every_output () const |
| const FFTWGrid< NDIM > & | get_hybridbias_linear_field () const |
| The linear density field delta_cb(zini,k) of the initial conditions (only if hybridbias) | |
| SIMCODE::TimeStepping< NDIM > | time_stepping () const |
| The time-stepping (where the steps are and their sizes) | |
| std::pair< std::vector< double >, std::vector< double > > | compute_scalefactors_KDK (double amin, double amax, int nsteps) |
| The scale factors of positions and velocities after each step from amin to amax. | |
| std::pair< std::vector< double >, std::vector< double > > | compute_deltatime_KDK (double amin, double amax, int nsteps) |
| The size of the drift and kick steps from amin to amax. | |
Protected Member Functions | |
| void | compute_lightcone_potential (const FFTWGrid< NDIM > &density_grid_fourier, double a) |
| Phi/c^2 in real space from the density contrast delta(k) of the step: Phi/c^2(k) = -1.5 Omega_M (H0/c)^2 delta(k) / (a k^2) (the GR Poisson equation, k in h/Mpc), with the same window deconvolution as the force. | |
| void | set_force_settings_for_step (double a) |
| Choose the force settings for a step where the force is evaluated at scale factor a: the early-time settings (force_early_method) for z > force_early_until_redshift, otherwise the normal ones. | |
| void | output_background_and_growth_functions () |
| void | setup_initial_power_spectrum () |
| Read the input P(k) / T(k), bring it to the initial redshift, make splines and (optionally) normalize it to a given sigma8. | |
| void | generate_initial_conditions () |
| Create the particles: either generate the initial conditions from a random field (gaussian / non-gaussian / phases taken from a file) or read them from file. | |
| void | generate_initial_conditions_two_species (const FFTWGrid< NDIM > &delta_cb_fourier) |
| The initial conditions with separate CDM and baryon particles (see two_species_ic_splines and generate_species_from_delta_cb in InitialConditions.h). | |
| void | apply_lattice_offset () |
| Offset the particle lattice from the nodes of the force grid. | |
| void | read_ic () |
| Read the particles from gadget files. With COLA we also reconstruct the LPT displacement fields. | |
| void | read_phases (FFTWGrid< NDIM > &delta_fourier) |
| Compute delta(k) from particles in gadget files (used to take the phases from them) | |
| void | setup_nbody_gauge () |
| Read the N-body gauge source, check it and store the initial density field of the particles. | |
| void | step (const StepInfo &s) |
| One kick-drift step: density -> force -> kick -> COLA kick -> lightcone -> COLA drift -> drift. | |
| void | drift_and_lightcone (const StepInfo &s) |
| The rest of a step after the (PM) kick: COLA kick-drift, lightcone and drift. | |
| void | kick_with_interlaced_force (const StepInfo &s) |
| The kick with force interlacing: the force is computed for force_interlacing_order copies of the particles shifted by a fraction of a cell relative to the grid (see FML::INTERPOLATION::generate_interlacing_shifts), interpolated to the shifted particles and averaged. | |
| void | compute_density_field_fourier (FFTWGrid< NDIM > &density_grid_fourier, double a) |
| Assign the particles to a grid, Fourier transform it and add the other contributions to delta_m (see above). | |
| void | assign_cb_particles_to_grid (FFTWGrid< NDIM > &density_grid_fourier, double a, bool bin_pofk=true) |
| The CDM+baryon density delta_cb(k): particles to grid and Fourier transform (or NUFFT / sheet interpolation). | |
| void | store_initial_density_field (const FFTWGrid< NDIM > &density_grid_fourier, double a) |
| Store delta_cb(k,zini) from the density field of the first force evaluation (at zini). | |
| void | add_nbody_gauge_source (FFTWGrid< NDIM > &density_grid_fourier, double a) |
| N-body gauge: add the linear source from radiation, neutrinos and GR delta_extra(k,a) = delta_cb(k,aini) T_extra(k,a) / T_cb(k,aini) | |
| void | add_neutrino_particles (FFTWGrid< NDIM > &density_grid_fourier, double a) |
| Neutrino particles: delta_m = (1 - f_nu) delta_cb + f_nu delta_nu (and P_nu(k)) | |
| void | add_linear_neutrinos (FFTWGrid< NDIM > &density_grid_fourier, double a) |
| Linear massive neutrinos: delta_m = (1 - f_nu) delta_cb + f_nu delta_cb(k,zini) T_nu(k,z) / T_cb(k,zini) (needs the transfer functions, i.e. | |
| const FFTWGrid< NDIM > & | initial_density_in_particle_frame () |
| The initial density field in the frame of the particles (with force interlacing the particles are shifted by density_shift relative to the grid: delta_s(k) = exp(-ik.s) delta(k)). | |
| bool | particles_shifted () const |
| void | bin_up_power_spectrum_every_step (const FFTWGrid< NDIM > &grid, bool deconvolve, double shotnoise, double a, std::vector< std::pair< double, PowerSpectrumBinning > > &list) |
| Bin up P(k) of a density field (deconvolving the window of the force density assignment), subtract the shot noise (if pofk_subtract_shotnoise; shotnoise in units of the box volume) and add it to the list. | |
| void | analyze_and_output (int ioutput, double redshift) |
| Do all the on the fly analysis that is turned on and write the output. | |
Protected Attributes | |
| std::shared_ptr< Cosmology > | cosmo |
| Everything related to the background evolution. | |
| std::shared_ptr< GravityModel< NDIM > > | grav |
| Everything related to gravity: growth factors, computing forces. | |
| std::shared_ptr< GravityModel< NDIM > > | grav_ic |
| The gravity model used to make the IC (GR if ic_use_gravity_model_GR, otherwise grav) | |
| std::shared_ptr< LinearTransferData > | transferdata |
| Linear perturbations, transfer functions, initial pofk This is only used if ic_type_of_input == transferinfofile. | |
| std::shared_ptr< FML::INITIALCONDITIONS::TransferProvider > | ic_transfers |
| std::shared_ptr< ParameterMap > | parameters |
| A copy of the parameterfile (passed on to the models we create) | |
| Parameters | params |
| The parameters of the simulation. | |
| std::vector< SIMCODE::SpeciesInfo > | species |
| The particle species (see Species.h): "cb", or "cdm" and "baryon", and "nu". | |
| MPIParticles | part |
| All the particles (CDM+baryons as one species "cb", or the CDM particles if particle_baryons) | |
| MPIParticles | part_baryon |
| The baryon particles (only if particle_baryons) | |
| SIMCODE::NeutrinoParticles< NDIM > | neutrinos |
| The massive neutrino particles (only if particle_neutrinos; delta-f method) | |
| FFTWGrid< NDIM > | lightcone_potential |
| Phi/c^2 in real space for the lightcone (plc_relativistic_effects), computed at scale factor lightcone_potential_a from the density field of the step. | |
| double | lightcone_potential_a {-1.0} |
| FFTWGrid< NDIM > | initial_density_field_fourier |
| The initial density field delta_cb(zini,k) computed with the same Nmesh as the forces (used for linear massive neutrinos and the N-body gauge - not allocated otherwise) | |
| FFTWGrid< NDIM > | initial_density_field_early |
| FFTWGrid< NDIM > | initial_density_field_shifted |
| FFTWGrid< NDIM > | hybridbias_linear_field_fourier |
| The linear density field delta_cb(zini,k) the particles were displaced with, on a grid of the size of the particle lattice (only if hybridbias) | |
| std::array< double, NDIM > | density_shift {} |
| SIMCODE::ForceSettings | current_force |
| bool | early_force {false} |
| FML::NBODY::ForceOptions | force_options |
| std::shared_ptr< SIMCODE::NBodyGaugeSource > | nbody_gauge |
| The linear N-body gauge source (if force_nbody_gauge) | |
| ColaState< NDIM, T > | cola |
| COLA settings and the LPT potentials at the initial time. | |
| bool | ic_velocities_relative_to_cola_frame {false} |
| std::shared_ptr< Lightcone< NDIM, T > > | lightcone |
| The lightcone construction. | |
| FML::UTILS::Timings | timer |
| Timings of the code. | |
| Spline | power_primordial_spline {"P_primordial(k)"} |
| Spline | power_initial_spline {"P(k,zini)"} |
| std::vector< std::pair< double, PowerSpectrumBinning > > | pofk_cb_every_step |
| std::vector< std::pair< double, PowerSpectrumBinning > > | pofk_total_every_step |
| std::map< std::string, std::vector< std::pair< double, PowerSpectrumBinning > > > | pofk_species_every_step |
| std::vector< std::pair< double, PowerSpectrumBinning > > | pofk_every_output |
| std::vector< std::pair< double, std::vector< PowerSpectrumBinning > > > | pofk_multipoles_every_output |
A particle-mesh N-body simulation (optionally with COLA).
Usage: construct with a cosmology and a gravity model, then call read_parameters(param), init() (creates the initial conditions) and run().
The pieces live in separate headers: SimulationParameters.h : all the parameters (read, printed and validated) TimeStepping.h : where the steps are and the size of the kick/drift steps InitialPowerSpectrum.h : P(k,zini) / T(k,zini) the initial conditions are made from InitialConditions.h : the initial density field and making the particles of a species from it ExternalIC.h : starting from particles read from file COLA.h : the COLA method (ColaState) Species.h : the particle species (CDM+baryons, or CDM and baryons, and neutrinos) NeutrinoParticles.h : massive neutrinos as particles (delta-f method) KickDrift.h : the kick and drift of a species (non-relativistic or relativistic) SimulationDensity.h : the density field the force is computed from (part of this class) AnalyzeOutput.h : on the fly analysis and output
Definition at line 71 of file Simulation.h.
| using NBodySimulation< NDIM, T >::DVector = FML::INTERPOLATION::SPLINE::DVector |
Definition at line 78 of file Simulation.h.
| using NBodySimulation< NDIM, T >::FFTWGrid = FML::GRID::FFTWGrid<N> |
Definition at line 74 of file Simulation.h.
| using NBodySimulation< NDIM, T >::LinearTransferData = FML::FILEUTILS::LinearTransferData |
Definition at line 79 of file Simulation.h.
| using NBodySimulation< NDIM, T >::MPIParticles = FML::PARTICLE::MPIParticles<T> |
Definition at line 75 of file Simulation.h.
| using NBodySimulation< NDIM, T >::ParameterMap = FML::UTILS::ParameterMap |
Definition at line 76 of file Simulation.h.
| using NBodySimulation< NDIM, T >::Parameters = SIMCODE::SimulationParameters |
Definition at line 81 of file Simulation.h.
| using NBodySimulation< NDIM, T >::PowerSpectrumBinning = FML::CORRELATIONFUNCTIONS::PowerSpectrumBinning<NDIM> |
Definition at line 80 of file Simulation.h.
| using NBodySimulation< NDIM, T >::Spline = FML::INTERPOLATION::SPLINE::Spline |
Definition at line 77 of file Simulation.h.
|
default |
|
inline |
Definition at line 171 of file Simulation.h.
|
inline |
Definition at line 177 of file Simulation.h.
|
protected |
Linear massive neutrinos: delta_m = (1 - f_nu) delta_cb + f_nu delta_cb(k,zini) T_nu(k,z) / T_cb(k,zini) (needs the transfer functions, i.e.
transferinfofile). The first time we store delta_cb(k,zini)
Definition at line 206 of file SimulationDensity.h.
|
protected |
N-body gauge: add the linear source from radiation, neutrinos and GR delta_extra(k,a) = delta_cb(k,aini) T_extra(k,a) / T_cb(k,aini)
Definition at line 148 of file SimulationDensity.h.
|
protected |
Neutrino particles: delta_m = (1 - f_nu) delta_cb + f_nu delta_nu (and P_nu(k))
Definition at line 174 of file SimulationDensity.h.
|
protected |
Do all the on the fly analysis that is turned on and write the output.
Definition at line 1508 of file Simulation.h.
|
protected |
Offset the particle lattice from the nodes of the force grid.
With a force grid finer than the particle grid the particles would otherwise start exactly on grid nodes where CIC responds to |displacement| (a rectified response) and this gives large spurious forces (see notes/force_grid_and_lattice.md). This is a uniform translation of all the particles (all species) so it does not change the physics
Definition at line 878 of file Simulation.h.
|
protected |
The CDM+baryon density delta_cb(k): particles to grid and Fourier transform (or NUFFT / sheet interpolation).
With CDM and baryons as separate particles delta_cb = w_c delta_c + w_b delta_b (and P(k) of each species)
Definition at line 76 of file SimulationDensity.h.
|
protected |
Bin up P(k) of a density field (deconvolving the window of the force density assignment), subtract the shot noise (if pofk_subtract_shotnoise; shotnoise in units of the box volume) and add it to the list.
Definition at line 289 of file SimulationDensity.h.
|
inline |
The shot noise of delta_cb = sum_i w_i delta_i: sum_i w_i^2 / N_i.
Definition at line 235 of file Simulation.h.
|
inline |
The size of the drift and kick steps from amin to amax.
Definition at line 286 of file Simulation.h.
|
protected |
Assign the particles to a grid, Fourier transform it and add the other contributions to delta_m (see above).
Also bins up P(k) at every step (if pofk_every_step)
Definition at line 19 of file SimulationDensity.h.
|
protected |
Phi/c^2 in real space from the density contrast delta(k) of the step: Phi/c^2(k) = -1.5 Omega_M (H0/c)^2 delta(k) / (a k^2) (the GR Poisson equation, k in h/Mpc), with the same window deconvolution as the force.
Stored in lightcone_potential (with the boundaries communicated, ready for interpolation)
Definition at line 1608 of file Simulation.h.
|
inline |
The scale factors of positions and velocities after each step from amin to amax.
Definition at line 281 of file Simulation.h.
|
protected |
The rest of a step after the (PM) kick: COLA kick-drift, lightcone and drift.
Definition at line 1347 of file Simulation.h.
|
inline |
Call f(particles, info) for the CDM+baryon species ("cb", or "cdm" and "baryon"; all of type T)
Definition at line 211 of file Simulation.h.
|
inline |
Call f(particles, info) for all the species (the particle types differ, so use a generic lambda)
Definition at line 221 of file Simulation.h.
| void NBodySimulation< NDIM, T >::free | ( | ) |
Free all memory.
Definition at line 1591 of file Simulation.h.
|
protected |
Create the particles: either generate the initial conditions from a random field (gaussian / non-gaussian / phases taken from a file) or read them from file.
Definition at line 614 of file Simulation.h.
|
protected |
The initial conditions with separate CDM and baryon particles (see two_species_ic_splines and generate_species_from_delta_cb in InitialConditions.h).
The 2LPT displacement is that of the total (CDM+baryon) field for both. By default (particle_baryon_lattice = same) the baryons start from the same lattice as the CDM. With "offset" their lattice is offset by half a particle spacing in each direction. Their IDs follow those of the CDM. NB: interleaved (offset) lattices give a large spurious growth of the baryon-CDM difference on scales k > k_Ny/8 of the particles (and a few % too little CDM+baryon power at k ~ k_Ny/2) in this PM code; with the same lattice the difference follows linear theory on all scales and the CDM+baryon P(k) is that of one species (see the README)
Definition at line 921 of file Simulation.h.
|
inline |
Definition at line 201 of file Simulation.h.
|
inline |
Definition at line 264 of file Simulation.h.
|
inline |
Definition at line 265 of file Simulation.h.
|
inline |
Definition at line 266 of file Simulation.h.
|
inline |
The linear density field delta_cb(zini,k) of the initial conditions (only if hybridbias)
Definition at line 275 of file Simulation.h.
|
inline |
Definition at line 205 of file Simulation.h.
|
inline |
Definition at line 204 of file Simulation.h.
|
inline |
Definition at line 197 of file Simulation.h.
|
inline |
Definition at line 198 of file Simulation.h.
|
inline |
Definition at line 269 of file Simulation.h.
|
inline |
Definition at line 272 of file Simulation.h.
|
inline |
Definition at line 273 of file Simulation.h.
|
inline |
Definition at line 271 of file Simulation.h.
|
inline |
Definition at line 270 of file Simulation.h.
|
inline |
Definition at line 268 of file Simulation.h.
|
inline |
|
inline |
Definition at line 267 of file Simulation.h.
|
inline |
Separate CDM and baryon particles? Then get_particles() are the CDM particles.
Definition at line 200 of file Simulation.h.
|
inline |
| void NBodySimulation< NDIM, T >::init | ( | ) |
Generate the initial conditions.
Definition at line 426 of file Simulation.h.
|
protected |
The initial density field in the frame of the particles (with force interlacing the particles are shifted by density_shift relative to the grid: delta_s(k) = exp(-ik.s) delta(k)).
During the early-time force: the one with its density assignment
Definition at line 274 of file SimulationDensity.h.
|
protected |
The kick with force interlacing: the force is computed for force_interlacing_order copies of the particles shifted by a fraction of a cell relative to the grid (see FML::INTERPOLATION::generate_interlacing_shifts), interpolated to the shifted particles and averaged.
This cancels the leading aliasing terms of both the density assignment and the force interpolation
Definition at line 1439 of file Simulation.h.
|
inline |
Use the energy density of the neutrinos (force_neutrino_energy_density)
Definition at line 263 of file Simulation.h.
|
inline |
The mean energy per mass of the neutrinos <E/m>(a) with force_neutrino_energy_density, otherwise 1.
Definition at line 255 of file Simulation.h.
|
protected |
Definition at line 496 of file Simulation.h.
|
inlineprotected |
Definition at line 321 of file Simulation.h.
|
protected |
Read the particles from gadget files. With COLA we also reconstruct the LPT displacement fields.
Definition at line 1125 of file Simulation.h.
| void NBodySimulation< NDIM, T >::read_parameters | ( | ParameterMap & | param | ) |
Read (and check) the parameters.
Definition at line 333 of file Simulation.h.
|
protected |
Compute delta(k) from particles in gadget files (used to take the phases from them)
Definition at line 1119 of file Simulation.h.
| void NBodySimulation< NDIM, T >::run | ( | ) |
Run simulation.
Definition at line 1148 of file Simulation.h.
|
protected |
Choose the force settings for a step where the force is evaluated at scale factor a: the early-time settings (force_early_method) for z > force_early_until_redshift, otherwise the normal ones.
Definition at line 1237 of file Simulation.h.
|
protected |
Read the input P(k) / T(k), bring it to the initial redshift, make splines and (optionally) normalize it to a given sigma8.
Definition at line 516 of file Simulation.h.
|
protected |
Read the N-body gauge source, check it and store the initial density field of the particles.
Definition at line 1079 of file Simulation.h.
|
inline |
The shot noise of the density field of a species (in units of the box volume): 1/N (sum w^2 / N^2 for the delta-f neutrinos).
Collective
Definition at line 229 of file Simulation.h.
|
protected |
One kick-drift step: density -> force -> kick -> COLA kick -> lightcone -> COLA drift -> drift.
Definition at line 1264 of file Simulation.h.
|
protected |
Store delta_cb(k,zini) from the density field of the first force evaluation (at zini).
The linear sources are delta_cb(k,zini) times a transfer function ratio and are added to the density field of each step, so delta_cb(k,zini) must have the same window (and aliasing) as that field. With the early-time force (force_early_method: NUFFT, no window, or interlaced with another assignment) the first field is kept for the early steps only, and the field for the later steps is computed again from the particles with the late-time settings (it used to be the early-time one for all steps)
Definition at line 246 of file SimulationDensity.h.
|
inline |
The time-stepping (where the steps are and their sizes)
Definition at line 278 of file Simulation.h.
|
inline |
The shot noise of the total delta_m = (1 - f_nu) delta_cb + f_nu delta_nu with neutrino particles (with force_neutrino_energy_density and a > 0: of (1 - f_nu) delta_cb + f_nu <E/m>(a) delta_nu, the source of the Poisson equation).
Collective
Definition at line 245 of file Simulation.h.
|
protected |
COLA settings and the LPT potentials at the initial time.
Definition at line 140 of file Simulation.h.
|
protected |
Everything related to the background evolution.
Definition at line 85 of file Simulation.h.
|
protected |
Definition at line 131 of file Simulation.h.
|
protected |
Definition at line 129 of file Simulation.h.
|
protected |
Definition at line 132 of file Simulation.h.
|
protected |
Definition at line 133 of file Simulation.h.
|
protected |
Everything related to gravity: growth factors, computing forces.
Definition at line 88 of file Simulation.h.
|
protected |
The gravity model used to make the IC (GR if ic_use_gravity_model_GR, otherwise grav)
Definition at line 90 of file Simulation.h.
|
protected |
The linear density field delta_cb(zini,k) the particles were displaced with, on a grid of the size of the particle lattice (only if hybridbias)
Definition at line 127 of file Simulation.h.
|
protected |
Definition at line 95 of file Simulation.h.
|
protected |
Definition at line 143 of file Simulation.h.
|
protected |
Definition at line 122 of file Simulation.h.
|
protected |
The initial density field delta_cb(zini,k) computed with the same Nmesh as the forces (used for linear massive neutrinos and the N-body gauge - not allocated otherwise)
Definition at line 120 of file Simulation.h.
|
protected |
Definition at line 124 of file Simulation.h.
|
protected |
The lightcone construction.
Definition at line 146 of file Simulation.h.
|
protected |
Phi/c^2 in real space for the lightcone (plc_relativistic_effects), computed at scale factor lightcone_potential_a from the density field of the step.
Definition at line 114 of file Simulation.h.
|
protected |
Definition at line 115 of file Simulation.h.
|
protected |
The linear N-body gauge source (if force_nbody_gauge)
Definition at line 137 of file Simulation.h.
|
protected |
The massive neutrino particles (only if particle_neutrinos; delta-f method)
Definition at line 110 of file Simulation.h.
|
protected |
A copy of the parameterfile (passed on to the models we create)
Definition at line 98 of file Simulation.h.
|
protected |
The parameters of the simulation.
Definition at line 101 of file Simulation.h.
|
protected |
All the particles (CDM+baryons as one species "cb", or the CDM particles if particle_baryons)
Definition at line 106 of file Simulation.h.
|
protected |
The baryon particles (only if particle_baryons)
Definition at line 108 of file Simulation.h.
|
protected |
Definition at line 160 of file Simulation.h.
|
protected |
Definition at line 165 of file Simulation.h.
|
protected |
Definition at line 167 of file Simulation.h.
|
protected |
Definition at line 163 of file Simulation.h.
|
protected |
Definition at line 161 of file Simulation.h.
|
protected |
Definition at line 153 of file Simulation.h.
|
protected |
Definition at line 152 of file Simulation.h.
|
protected |
The particle species (see Species.h): "cb", or "cdm" and "baryon", and "nu".
Definition at line 104 of file Simulation.h.
|
protected |
Timings of the code.
Definition at line 149 of file Simulation.h.
|
protected |
Linear perturbations, transfer functions, initial pofk This is only used if ic_type_of_input == transferinfofile.
Definition at line 94 of file Simulation.h.