Fast Methods for Cosmological Simulations
FastSim serves as a tool for quick N-body simulations in modified gravity.
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
zeldovich.hpp
Go to the documentation of this file.
1
9
#pragma once
10
11
#include "
stdafx.h
"
12
#include "
app_var.hpp
"
13
#include "
precision.hpp
"
14
#include "
class_particles.hpp
"
15
16
/********************/
20
class
Sim_Param
;
21
22
/**************/
26
/**************/
35
class
App_Var_ZA
:
public
App_Var
<Particle_v<FTYPE_t>>
36
{
37
public
:
38
// CONSTRUCTORS & DESTRUCTOR
39
App_Var_ZA
(
const
Sim_Param
&
sim
);
40
41
protected
:
42
// for TZA
43
App_Var_ZA
(
const
Sim_Param
&sim,
const
std::string& app_short,
const
std::string& app_long);
44
45
private
:
46
// no CIC correction for ZA
47
void
pot_corr
(std::vector<Mesh>& vel_field,
Mesh
& pot_k)
override
;
48
49
// ZA with velocitites
50
void
upd_pos
()
override
;
51
};
52
53
class
App_Var_TZA
:
public
App_Var_ZA
54
{
55
public
:
56
// CONSTRUCTORS & DESTRUCTOR
57
App_Var_TZA
(
const
Sim_Param
&
sim
);
58
59
// truncation of initial power spectrum for TZA
60
void
update_cosmo
(
Cosmo_Param
&
cosmo
)
override
;
61
};
App_Var
class containing core variables and methods for approximations
Definition:
app_var.hpp:41
App_Var_TZA
Definition:
zeldovich.hpp:53
Sim_Param
: class storing simulation parameters
Definition:
params.hpp:193
Mesh
: creates a mesh of N*N*(N+2) cells
Definition:
class_mesh.hpp:95
class_particles.hpp
define container Particle (with and without velocity)
stdafx.h
system include files and for project-specific include files that are used frequently but are changed ...
Cosmo_Param
cosmological & CCL parameters
Definition:
params.hpp:22
App_Var_ZA::App_Var_ZA
App_Var_ZA(const Sim_Param &sim)
Definition:
zeldovich.cpp:13
App_Var_ZA
: class containing variables and methods for Zel`dovich approximation
Definition:
zeldovich.hpp:35
App_Var_ZA::upd_pos
void upd_pos() override
Definition:
zeldovich.cpp:19
app_var.hpp
classes handling approximations data
precision.hpp
single / double / long double definitions
App_Var_ZA::pot_corr
void pot_corr(std::vector< Mesh > &vel_field, Mesh &pot_k) override
Definition:
zeldovich.cpp:24
cl_cmbl_bm.cosmo
cosmo
Definition:
cl_cmbl_bm.py:10
App_Var< Particle_v< double > >::sim
const Sim_Param & sim
Definition:
app_var.hpp:59
App_Var< Particle_v< double > >::update_cosmo
virtual void update_cosmo(Cosmo_Param &cosmo)
no truncation by default
src
ApproximationsSchemes
include
zeldovich.hpp
Generated by
1.8.11