|
Fast Methods for Cosmological Simulations
FastSim serves as a tool for quick N-body simulations in modified gravity.
|
: class containing variables and methods for Particle-Mesh code More...
#include <frozen_potential.hpp>


Public Member Functions | |
| App_Var_PM (const Sim_Param &sim) | |
Public Member Functions inherited from App_Var_FP | |
| App_Var_FP (const Sim_Param &sim) | |
Public Member Functions inherited from App_Var< Particle_v< double > > | |
| App_Var (const Sim_Param &sim, const std::string &app_short, const std::string &app_long) | |
| virtual | ~App_Var () |
| void | run_simulation () |
| virtual void | update_cosmo (Cosmo_Param &cosmo) |
| no truncation by default More... | |
| std::string | get_out_dir () const |
Private Member Functions | |
| void | upd_pos () override |
Additional Inherited Members | |
Protected Member Functions inherited from App_Var_FP | |
| App_Var_FP (const Sim_Param &sim, const std::string &app_short, const std::string &app_long) | |
Protected Member Functions inherited from App_Var< Particle_v< double > > | |
| double | a () |
| double | a_half () |
| double | da () |
| std::string | get_z_suffix () const |
| virtual void | print_output () |
| virtual void | pot_corr (std::vector< Mesh > &vel_field, Mesh &pot_k) |
Protected Attributes inherited from App_Var< Particle_v< double > > | |
| const Sim_Param & | sim |
| uint64_t | memory_alloc |
| std::vector< Mesh > | app_field |
| std::vector< Mesh > | power_aux |
| std::vector< Particle_v< double > > | particles |
| Data_Vec< double, 2 > | corr_func_binned |
| Data_Vec< double, 2 > | pwr_spec_binned |
| Data_Vec< double, 2 > | pwr_spec_binned_0 |
| Data_Vec< double, 2 > | vel_pwr_spec_binned_0 |
| FFTW_PLAN_TYPE | p_F |
| FFTW_PLAN_TYPE | p_B |
| FFTW_PLAN_TYPE | p_F_pwr |
| FFTW_PLAN_TYPE | p_B_pwr |
| std::vector< size_t > | dens_binned |
: class containing variables and methods for Particle-Mesh code
Definition at line 54 of file frozen_potential.hpp.
| App_Var_PM::App_Var_PM | ( | const Sim_Param & | sim | ) |
Definition at line 27 of file frozen_potential.cpp.
|
overrideprivatevirtual |
Reimplemented from App_Var_FP.
Definition at line 30 of file frozen_potential.cpp.
References App_Var< Particle_v< double > >::a_half(), App_Var< Particle_v< double > >::app_field, Sim_Param::box_opt, Sim_Param::cosmo, App_Var< Particle_v< double > >::da(), fftw_execute_dft_r2c(), gen_pot_k(), get_rho_from_par(), kick_step_w_momentum_pm(), Box_Opt::mesh_num, App_Var< Particle_v< double > >::p_F, App_Var< Particle_v< double > >::particles, App_Var< Particle_v< double > >::pot_corr(), App_Var< Particle_v< double > >::sim, and stream_kick_stream().