Fast Methods for Cosmological Simulations
FastSim serves as a tool for quick N-body simulations in modified gravity.
frozen_flow.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_FF: public App_Var<Particle_v<FTYPE_t>>
36 {
37 public:
38  // CONSTRUCTORS & DESTRUCTOR
39  App_Var_FF(const Sim_Param &sim);
40 
41 private:
42  // Leapfrog method for frozen-flow
43  void upd_pos() override;
44 };
class containing core variables and methods for approximations
Definition: app_var.hpp:41
: class storing simulation parameters
Definition: params.hpp:193
define container Particle (with and without velocity)
system include files and for project-specific include files that are used frequently but are changed ...
: class containing variables and methods for Frozen-flow approximation
Definition: frozen_flow.hpp:35
classes handling approximations data
void upd_pos() override
Definition: frozen_flow.cpp:18
single / double / long double definitions
App_Var_FF(const Sim_Param &sim)
Definition: frozen_flow.cpp:15