MIDSX 0.1
A x-ray transport code system for dosimetry
Loading...
Searching...
No Matches
Variables
constants.h File Reference

Contains constants used throughout the code. More...

#include <limits>
#include <cmath>
Include dependency graph for constants.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Variables

const double PI = 3.14159265358979323846
 
const double EPSILON = 1e-9
 
const double INF = std::numeric_limits<double>::infinity()
 
const double ELECTRON_REST_MASS = 0.51099895000E6
 
const double ELECTRON_CHARGE = 1.6021766208e-19
 
const double ELECTRON_RADIUS = 2.8179403227e-13
 
const double SPEED_OF_LIGHT = 299792458E2
 
const double PLANCK_CONSTANT = 4.135667662e-15
 
const double NUMBER_DENSITY_AT_STP = 0.02504E21
 
const double AVOGADRO_CONSTANT = 6.022140857e23
 
const double ALPHA = ELECTRON_REST_MASS/(sqrt(2)*PLANCK_CONSTANT*SPEED_OF_LIGHT*1E8)
 

Detailed Description

Contains constants used throughout the code.

Definition in file constants.h.

Variable Documentation

◆ ALPHA

const double ALPHA = ELECTRON_REST_MASS/(sqrt(2)*PLANCK_CONSTANT*SPEED_OF_LIGHT*1E8)

Definition at line 23 of file constants.h.

◆ AVOGADRO_CONSTANT

const double AVOGADRO_CONSTANT = 6.022140857e23

Definition at line 22 of file constants.h.

◆ ELECTRON_CHARGE

const double ELECTRON_CHARGE = 1.6021766208e-19

Definition at line 17 of file constants.h.

◆ ELECTRON_RADIUS

const double ELECTRON_RADIUS = 2.8179403227e-13

Definition at line 18 of file constants.h.

◆ ELECTRON_REST_MASS

const double ELECTRON_REST_MASS = 0.51099895000E6

Definition at line 16 of file constants.h.

◆ EPSILON

const double EPSILON = 1e-9

Definition at line 14 of file constants.h.

◆ INF

const double INF = std::numeric_limits<double>::infinity()

Definition at line 15 of file constants.h.

◆ NUMBER_DENSITY_AT_STP

const double NUMBER_DENSITY_AT_STP = 0.02504E21

Definition at line 21 of file constants.h.

◆ PI

const double PI = 3.14159265358979323846

Definition at line 13 of file constants.h.

◆ PLANCK_CONSTANT

const double PLANCK_CONSTANT = 4.135667662e-15

Definition at line 20 of file constants.h.

◆ SPEED_OF_LIGHT

const double SPEED_OF_LIGHT = 299792458E2

Definition at line 19 of file constants.h.