Crate initial_conditions

Source
Expand description

initial_conditions

A simple physics library

Modules§

kinematics
utils

Constants§

AMU_KG
Atomic Mass Unit (amu) in kg: 1.66 * 10^(-27) kg
AMU_MEV
Atomic Mass Unit (amu) in MeV: 931 MeV
ANGSTROM
1 Angstrom in meters: 10^(-10) m
EARTH_MASS
Mass of the Earth: 5.98 * 10^(24) kg
EARTH_PERIOD_REV
Period of Earth’s revolution: 3.16 * 10^(7) s
EARTH_PERIOD_ROT
Period of Earth’s rotation: 8.64 * 10^(4) s
EARTH_RADIUS
Mean radius of the Earth: 6.37 * 10^(6) m
EARTH_RADIUS_ORBIT
Radius of Earth’s orbit: 1.49 * 10^(11) m
ELECTRON_CHARGE
Electron charge: 1.60218 * 10^(-19) C
ELECTRON_MASS
Electron mass: 9.11 * 10^(-31) kg
G
Gravitational constant G: 6.67 * 10^(-11) N*(m^(2)*k^(-2))
LIGHT_SPEED
Speed of light in a vaccuum c: 3.00 * 10^(8) (m*s^(-1))
LITTLE_G
Acceleration of gravity at Earth’s surface g: 9.8 m * s(-2)
MOON_MASS
Mass of Earth’s Moon: 7.34 * 10^(22) kg
MOON_ORBIT_RAD
Radius of Earth’s Moon’s orbit: 3.84 * 10^(8) m
MOON_RAD
Radius of Earth’s Moon: 1.74 * 10^(6) m
PLANCKS_CONST
Planck’s constant: 6.63 * 10^(-34) J*s
PROTON_MASS
Proton mass: 1.67 * 10^(-27) kg
SUN_MASS
Mass of Earth’s Sun: 1.99 * 10^(30) kg