FairShip
Loading...
Searching...
No Matches
ShipUnit Namespace Reference

Variables

constexpr double cm = 1.
constexpr double m = 100. * cm
constexpr double mm = 0.1 * cm
constexpr double um = 1e-6 * m
constexpr double km = 1000. * m
constexpr double ns = 1.
constexpr double s = 1e9 * ns
constexpr double GeV = 1.
constexpr double MeV = 1e-3 * GeV
constexpr double keV = 1e-6 * GeV
constexpr double kilogauss = 1.
constexpr double gauss = 1e-3 * kilogauss
constexpr double tesla = 10. * kilogauss
constexpr double c_light = 299792458. * m / s

Variable Documentation

◆ c_light

double ShipUnit::c_light = 299792458. * m / s
constexpr

Definition at line 44 of file ShipUnit.h.

◆ cm

double ShipUnit::cm = 1.
constexpr

Definition at line 23 of file ShipUnit.h.

◆ gauss

double ShipUnit::gauss = 1e-3 * kilogauss
constexpr

Definition at line 40 of file ShipUnit.h.

◆ GeV

double ShipUnit::GeV = 1.
constexpr

Definition at line 34 of file ShipUnit.h.

◆ keV

double ShipUnit::keV = 1e-6 * GeV
constexpr

Definition at line 36 of file ShipUnit.h.

◆ kilogauss

double ShipUnit::kilogauss = 1.
constexpr

Definition at line 39 of file ShipUnit.h.

◆ km

double ShipUnit::km = 1000. * m
constexpr

Definition at line 27 of file ShipUnit.h.

◆ m

double ShipUnit::m = 100. * cm
constexpr

Definition at line 24 of file ShipUnit.h.

◆ MeV

double ShipUnit::MeV = 1e-3 * GeV
constexpr

Definition at line 35 of file ShipUnit.h.

◆ mm

double ShipUnit::mm = 0.1 * cm
constexpr

Definition at line 25 of file ShipUnit.h.

◆ ns

double ShipUnit::ns = 1.
constexpr

Definition at line 30 of file ShipUnit.h.

◆ s

double ShipUnit::s = 1e9 * ns
constexpr

Definition at line 31 of file ShipUnit.h.

◆ tesla

double ShipUnit::tesla = 10. * kilogauss
constexpr

Definition at line 41 of file ShipUnit.h.

◆ um

double ShipUnit::um = 1e-6 * m
constexpr

Definition at line 26 of file ShipUnit.h.