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
frozen_potential.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_FP
:
public
App_Var
<Particle_v<FTYPE_t>>
36
{
37
public
:
38
// CONSTRUCTORS & DESTRUCTOR
39
App_Var_FP
(
const
Sim_Param
&
sim
);
40
protected
:
41
App_Var_FP
(
const
Sim_Param
&sim,
const
std::string& app_short,
const
std::string& app_long);
42
43
private
:
44
// Leapfrog method for frozen-potential
45
void
upd_pos
()
override
;
46
};
47
48
54
class
App_Var_PM
:
public
App_Var_FP
55
{
56
public
:
57
// CONSTRUCTORS & DESTRUCTOR
58
App_Var_PM
(
const
Sim_Param
&
sim
);
59
60
private
:
61
// Leapfrog method
62
void
upd_pos
()
override
;
63
};
App_Var
class containing core variables and methods for approximations
Definition:
app_var.hpp:41
App_Var_FP
: class containing variables and methods for Frozen-potential approximation
Definition:
frozen_potential.hpp:35
Sim_Param
: class storing simulation parameters
Definition:
params.hpp:193
class_particles.hpp
define container Particle (with and without velocity)
App_Var_PM
: class containing variables and methods for Particle-Mesh code
Definition:
frozen_potential.hpp:54
stdafx.h
system include files and for project-specific include files that are used frequently but are changed ...
app_var.hpp
classes handling approximations data
App_Var_FP::App_Var_FP
App_Var_FP(const Sim_Param &sim)
Definition:
frozen_potential.cpp:15
precision.hpp
single / double / long double definitions
App_Var_FP::upd_pos
void upd_pos() override
Definition:
frozen_potential.cpp:21
App_Var< Particle_v< double > >::sim
const Sim_Param & sim
Definition:
app_var.hpp:59
src
ApproximationsSchemes
include
frozen_potential.hpp
Generated by
1.8.11