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
chameleon.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_Chi
:
public
App_Var
<Particle_v<FTYPE_t>>
36
{
37
public
:
38
// CONSTRUCTORS & DESTRUCTOR
39
App_Var_Chi
(
const
Sim_Param
&
sim
);
40
~App_Var_Chi
();
41
protected
:
42
App_Var_Chi
(
const
Sim_Param
&sim,
const
std::string& app_short,
const
std::string& app_long);
43
// IMPLEMENTATION
44
class
ChiImpl
;
45
const
std::unique_ptr<ChiImpl>
m_impl
;
46
47
private
:
48
// Leapfrog method for chameleon gravity (frozen-potential)
49
void
upd_pos
()
override
;
50
51
// Print additional information about chameleon field
52
void
print_output
()
override
;
53
};
54
60
class
App_Var_Chi_FF
:
public
App_Var_Chi
61
{
62
public
:
63
// CONSTRUCTORS & DESTRUCTOR
64
App_Var_Chi_FF
(
const
Sim_Param
&
sim
);
65
~
App_Var_Chi_FF
();
66
private
:
67
// Leapfrog method for chameleon gravity (frozen-flow)
68
void
upd_pos
()
override
;
69
};
App_Var
class containing core variables and methods for approximations
Definition:
app_var.hpp:41
App_Var_Chi::~App_Var_Chi
~App_Var_Chi()
Sim_Param
: class storing simulation parameters
Definition:
params.hpp:193
class_particles.hpp
define container Particle (with and without velocity)
App_Var_Chi::m_impl
const std::unique_ptr< ChiImpl > m_impl
Definition:
chameleon.hpp:44
App_Var_Chi
< end of anonymous namespace (private definitions)
Definition:
chameleon.hpp:35
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
precision.hpp
single / double / long double definitions
App_Var_Chi::ChiImpl
Definition:
chameleon.cpp:683
App_Var_Chi_FF
: class containing variables and methods for chameleon gravity
Definition:
chameleon.hpp:60
App_Var_Chi::print_output
void print_output() override
Definition:
chameleon.cpp:841
App_Var_Chi::App_Var_Chi
App_Var_Chi(const Sim_Param &sim)
Definition:
chameleon.cpp:836
App_Var_Chi::upd_pos
void upd_pos() override
Definition:
chameleon.cpp:855
App_Var< Particle_v< double > >::sim
const Sim_Param & sim
Definition:
app_var.hpp:59
src
ApproximationsSchemes
include
chameleon.hpp
Generated by
1.8.11