Cloudy
Spectral Synthesis Code for Astrophysics
Loading...
Searching...
No Matches
cosmology.h
Go to the documentation of this file.
1/* This file is part of Cloudy and is copyright (C)1978-2025 by Gary J. Ferland and
2 * others. For conditions of distribution and use see copyright notice in license.txt */
3
4#ifndef COSMOLOGY_H_
5#define COSMOLOGY_H_
6
10#define CMB_TEMP 2.725
11
16
21
24
28
34
37
39
40 bool lgDo;
41
43 {
44 redshift_current = 0.f;
45 redshift_start = 0.f;
46 redshift_step = 0.f;
47 omega_baryon = 0.04592f;
48 omega_rad = 8.23e-5f;
49 omega_lambda = 0.7299177f;
50 omega_matter = 0.27f;
51 omega_k = 0.f;
52 /* the Hubble parameter in 100 km/s/Mpc */
53 h = 0.71f;
54 /* the Hubble parameter in km/s/Mpc */
55 H_0 = 100.f*h;
56 lgDo = false;
57 }
58};
60
61
62#endif /* COSMOLOGY_H_ */
float realnum
Definition cddefines.h:127
t_cosmology cosmology
Definition cosmology.cpp:8
realnum GetHubbleFactor(realnum z)
Definition cosmology.cpp:10
realnum GetDensity(realnum z)
Definition cosmology.cpp:28
Definition cosmology.h:23
realnum omega_rad
Definition cosmology.h:30
realnum H_0
Definition cosmology.h:36
realnum omega_matter
Definition cosmology.h:32
realnum redshift_current
Definition cosmology.h:25
realnum f_He
Definition cosmology.h:38
t_cosmology()
Definition cosmology.h:42
realnum omega_lambda
Definition cosmology.h:31
bool lgDo
Definition cosmology.h:40
realnum redshift_start
Definition cosmology.h:26
realnum h
Definition cosmology.h:35
realnum omega_baryon
Definition cosmology.h:29
realnum omega_k
Definition cosmology.h:33
realnum redshift_step
Definition cosmology.h:27