CosmoGRaPH
v0.0
Main Page
Classes
Files
File List
sims
static.h
1
#ifndef COSMO_STATIC_SIM_H
2
#define COSMO_STATIC_SIM_H
3
4
#include "sim.h"
5
#include "../components/static/static.h"
6
#include "../components/Lambda/lambda.h"
7
#include "../components/phase_space_sheet/sheets.h"
8
9
namespace
cosmo
10
{
11
15
class
StaticSim
:
public
CosmoSim
16
{
17
protected
:
18
Sheet
* raySheet;
19
Static
* staticSim;
20
Lambda
* lambda;
21
bool
take_ray_step;
22
idx_t raysheet_flip_step;
23
public
:
24
StaticSim
();
25
~
StaticSim
()
26
{
27
std::cout <<
"Cleaning up..."
;
28
delete
iodata;
29
delete
bssnSim;
30
delete
fourier;
31
if
(use_bardeen)
32
{
33
delete
bardeen;
34
}
35
std::cout <<
"done.\n"
;
36
std::cout << std::flush;
37
}
38
39
void
init();
40
void
setICs
();
41
void
initStaticStep();
42
void
outputStaticStep();
43
void
runStaticStep();
44
void
runStep();
45
};
46
47
}
/* namespace cosmo */
48
49
#endif
cosmo
Definition:
bardeen.cc:5
cosmo::StaticSim
Definition:
static.h:15
cosmo::StaticSim::setICs
void setICs()
Set conformally flat initial conditions for a w=0 fluid in synchronous gauge.
Definition:
static.cc:41
cosmo::CosmoSim
Definition:
sim.h:17
cosmo::Sheet
Definition:
sheets.h:47
cosmo::Static
Definition:
static.h:13
cosmo::Lambda
Definition:
lambda.h:11