cloudy  trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
cosmology.h
Go to the documentation of this file.
1 /* This file is part of Cloudy and is copyright (C)1978-2022 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 
23 struct t_cosmology {
24 
25  realnum
29 
30  realnum
32  omega_rad,
35  omega_k;
36 
37  realnum
38  h,
39  H_0;
40 
41  realnum
43 
44  bool lgDo;
45 
46  };
47 extern t_cosmology cosmology;
48 
49 
50 #endif /* COSMOLOGY_H_ */
realnum GetDensity(realnum z)
Definition: cosmology.cpp:28
realnum h
Definition: cosmology.h:38
realnum redshift_step
Definition: cosmology.h:26
realnum redshift_start
Definition: cosmology.h:26
bool lgDo
Definition: cosmology.h:44
realnum H_0
Definition: cosmology.h:38
realnum redshift_current
Definition: cosmology.h:26
realnum f_He
Definition: cosmology.h:42
float realnum
Definition: cddefines.h:124
realnum omega_baryon
Definition: cosmology.h:31
realnum omega_lambda
Definition: cosmology.h:31
realnum omega_k
Definition: cosmology.h:31
t_cosmology cosmology
Definition: cosmology.cpp:8
realnum omega_rad
Definition: cosmology.h:31
realnum GetHubbleFactor(realnum z)
Definition: cosmology.cpp:10
realnum omega_matter
Definition: cosmology.h:31