CosmoGRaPH v0.0
sheets.h
1 #ifndef COSMO_SHEETS_SIM_H
2 #define COSMO_SHEETS_SIM_H
3 
4 #include "sim.h"
5 #include "../components/phase_space_sheet/sheets.h"
6 #include "../components/Lambda/lambda.h"
7 
8 
9 namespace cosmo
10 {
11 
15 class SheetSim : public CosmoSim
16 {
17 protected:
18  Sheet * sheetSim;
19  Lambda * lambda;
20  real_t tot_mass;
21 
22 public:
23  SheetSim();
24  ~SheetSim()
25  {
26  delete iodata;
27  delete bssnSim;
28  delete fourier;
29  if(use_bardeen)
30  {
31  delete bardeen;
32  }
33  delete sheetSim;
34  delete lambda;
35  }
36 
37  void init();
38  void setICs();
39  void initSheetStep();
40  void outputSheetStep();
41  void runSheetStep();
42  void runStep();
43 };
44 
45 } /* namespace cosmo */
46 
47 #endif
Definition: bardeen.cc:5
Definition: sheets.h:15
Definition: sim.h:17
Definition: sheets.h:47
Definition: lambda.h:11