MP-Gadget  5.0.1.dev1-76bc7d4726-dirty
Macros
physconst.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define GRAVITY   6.672e-8
 
#define SOLAR_MASS   1.989e33
 
#define SOLAR_LUM   3.826e33
 
#define RAD_CONST   7.565e-15
 
#define AVOGADRO   6.0222e23
 
#define BOLTZMANN   1.38066e-16
 
#define BOLEVK   8.61734e-5
 
#define eVinergs   1.60218e-12
 
#define GAS_CONST   8.31425e7
 
#define LIGHTCGS   2.99792458e10
 
#define PLANCK   6.6262e-27
 
#define CM_PER_MPC   3.085678e24
 
#define PROTONMASS   1.6726e-24
 
#define ELECTRONMASS   9.10953e-28
 
#define THOMPSON   6.65245e-25
 
#define ELECTRONCHARGE   4.8032e-10
 
#define HUBBLE   3.2407789e-18 /* in h/sec */
 
#define LYMAN_ALPHA   1215.6e-8 /* 1215.6 Angstroem */
 
#define LYMAN_ALPHA_HeII   303.8e-8 /* 303.8 Angstroem */
 
#define OSCILLATOR_STRENGTH   0.41615
 
#define OSCILLATOR_STRENGTH_HeII   0.41615
 
#define SEC_PER_MEGAYEAR   3.155e13
 
#define SEC_PER_YEAR   3.155e7
 
#define GAMMA   (5.0/3.0)
 
#define GAMMA_MINUS1   (GAMMA-1)
 
#define HYDROGEN_MASSFRAC   0.76
 

Macro Definition Documentation

◆ AVOGADRO

#define AVOGADRO   6.0222e23

Definition at line 10 of file physconst.h.

◆ BOLEVK

#define BOLEVK   8.61734e-5

The Boltzmann constant in units of eV/K

Definition at line 13 of file physconst.h.

◆ BOLTZMANN

#define BOLTZMANN   1.38066e-16

Definition at line 11 of file physconst.h.

◆ CM_PER_MPC

#define CM_PER_MPC   3.085678e24

Definition at line 20 of file physconst.h.

◆ ELECTRONCHARGE

#define ELECTRONCHARGE   4.8032e-10

Definition at line 24 of file physconst.h.

◆ ELECTRONMASS

#define ELECTRONMASS   9.10953e-28

Definition at line 22 of file physconst.h.

◆ eVinergs

#define eVinergs   1.60218e-12

Definition at line 15 of file physconst.h.

◆ GAMMA

#define GAMMA   (5.0/3.0)

adiabatic index of simulated gas

Definition at line 34 of file physconst.h.

◆ GAMMA_MINUS1

#define GAMMA_MINUS1   (GAMMA-1)

Definition at line 35 of file physconst.h.

◆ GAS_CONST

#define GAS_CONST   8.31425e7

Definition at line 16 of file physconst.h.

◆ GRAVITY

#define GRAVITY   6.672e-8

Definition at line 5 of file physconst.h.

◆ HUBBLE

#define HUBBLE   3.2407789e-18 /* in h/sec */

Definition at line 25 of file physconst.h.

◆ HYDROGEN_MASSFRAC

#define HYDROGEN_MASSFRAC   0.76

mass fraction of hydrogen, relevant only for radiative cooling

Definition at line 37 of file physconst.h.

◆ LIGHTCGS

#define LIGHTCGS   2.99792458e10

Speed of light in cm/s: used to be called 'C'

Definition at line 18 of file physconst.h.

◆ LYMAN_ALPHA

#define LYMAN_ALPHA   1215.6e-8 /* 1215.6 Angstroem */

Definition at line 26 of file physconst.h.

◆ LYMAN_ALPHA_HeII

#define LYMAN_ALPHA_HeII   303.8e-8 /* 303.8 Angstroem */

Definition at line 27 of file physconst.h.

◆ OSCILLATOR_STRENGTH

#define OSCILLATOR_STRENGTH   0.41615

Definition at line 28 of file physconst.h.

◆ OSCILLATOR_STRENGTH_HeII

#define OSCILLATOR_STRENGTH_HeII   0.41615

Definition at line 29 of file physconst.h.

◆ PLANCK

#define PLANCK   6.6262e-27

Definition at line 19 of file physconst.h.

◆ PROTONMASS

#define PROTONMASS   1.6726e-24

Definition at line 21 of file physconst.h.

◆ RAD_CONST

#define RAD_CONST   7.565e-15

Definition at line 9 of file physconst.h.

◆ SEC_PER_MEGAYEAR

#define SEC_PER_MEGAYEAR   3.155e13

Definition at line 31 of file physconst.h.

◆ SEC_PER_YEAR

#define SEC_PER_YEAR   3.155e7

Definition at line 32 of file physconst.h.

◆ SOLAR_LUM

#define SOLAR_LUM   3.826e33

Definition at line 7 of file physconst.h.

◆ SOLAR_MASS

#define SOLAR_MASS   1.989e33

Definition at line 6 of file physconst.h.

◆ THOMPSON

#define THOMPSON   6.65245e-25

Definition at line 23 of file physconst.h.