sfof
cosmo.hpp
Go to the documentation of this file.
1 
7 #ifndef COSMO_H
8 #define COSMO_H
9 
19 class Cosmo { // Class structure for cosmology functions
20 
21 public:
22 
24  double OmegaM;
25 
27  double OmegaL;
28 
33  void set_up(double, double);
34 
40  double angdidis(double);
41 
47  double angdidis2(double, double);
48 
54  double comdis(double);
55 
61  double comvol(double);
62 
68  double dcomdisdz(double);
69 
76  double dcomvoldz(double);
77 
84  double dlookbackdz(double);
85 
92  double doptdepthdz(double);
93 
101  double dpropmotdisdz(double);
102 
108  double intcomvol(double);
109 
114  double lookback(double);
115 
121  double lumdis(double);
122 
128  double optdepth(double);
129 
136  double propmotdis(double);
137 
138 };
139 
140 #endif // COSMO_H
Cosmo::propmotdis
double propmotdis(double)
This function calculates the proper motion distance d_M as a function of z, Omega_M and Omega_L in a ...
Definition: cosmo.cpp:248
Cosmo::optdepth
double optdepth(double)
This function calculates the optical depth tau as a function of z, OmegaM and OmegaL by integrating t...
Definition: cosmo.cpp:230
Cosmo::OmegaM
double OmegaM
Matter density parameter value.
Definition: cosmo.hpp:24
Cosmo::angdidis
double angdidis(double)
This function calculates the angular diameter distance d_A as a function of z, Omega_M and Omega_L in...
Definition: cosmo.cpp:29
Cosmo::lookback
double lookback(double)
This function calculates the lookback time t(0)-t(z) as a function of z, OmegaM and OmegaL by integra...
Definition: cosmo.cpp:202
Cosmo::doptdepthdz
double doptdepthdz(double)
This function calculates the change in optical depth dtau/dz with redshift z as a function of z,...
Definition: cosmo.cpp:147
Cosmo::dcomvoldz
double dcomvoldz(double)
This function calculates the one-steradian differential comoving volume dV/dz as a function of z,...
Definition: cosmo.cpp:116
Cosmo::set_up
void set_up(double, double)
This function sets the cosmological parameter values for the Cosmo functions.
Definition: cosmo.cpp:11
Cosmo::angdidis2
double angdidis2(double, double)
This function calculates the angular diameter distance d_A from z1 to z2 as a function of Omega_M and...
Definition: cosmo.cpp:40
Cosmo::dcomdisdz
double dcomdisdz(double)
This function calculates the differential line-of-sight comoving distance dD_c/dz as a function of z,...
Definition: cosmo.cpp:101
Cosmo
Class containing basic functions required for Cosmology.
Definition: cosmo.hpp:19
Cosmo::intcomvol
double intcomvol(double)
This function calculates the all-sky comoving volume V as a function of z, Omega_M and Omega_L in a m...
Definition: cosmo.cpp:186
Cosmo::dlookbackdz
double dlookbackdz(double)
This function calculates the change in lookback time dt/dz with redshift z as a function of z,...
Definition: cosmo.cpp:132
Cosmo::OmegaL
double OmegaL
Dark energy density parameter value.
Definition: cosmo.hpp:27
Cosmo::dpropmotdisdz
double dpropmotdisdz(double)
This function calculates the derivative of the proper motion distance d_M with respect to redshift z ...
Definition: cosmo.cpp:163
Cosmo::comdis
double comdis(double)
This function calculates the line-of-sight comoving distance d_C as a function of z,...
Definition: cosmo.cpp:59
Cosmo::comvol
double comvol(double)
This function calculates the all-sky comoving volume V as a function of z, Omega_M and Omega_L in a m...
Definition: cosmo.cpp:78
Cosmo::lumdis
double lumdis(double)
This function calculates the luminosity distance d_L as a function of z, Omega_M and Omega_L in a mat...
Definition: cosmo.cpp:219