SpECTRE
v2024.05.11
|
Functions, constants, and classes for converting between different units. More...
Namespaces | |
namespace | cgs |
Entities for converting between geometric units where \(G=c=M_{\odot}=1\) and CGS units. | |
namespace | geometric |
Quantities given in terms of geometric units G = c = M_odot = 1. | |
namespace | nuclear |
The defining quantities of the nuclear fm-MeV/c^2-fm/c unit system. | |
Functions, constants, and classes for converting between different units.
In SpECTRE we prefer to use geometric units where \(G=c=M_{\odot}=1\), as is standard in numerical relativity. However, in order to interface with other codes, we need to sometimes convert units. This namespace is designed to hold the various conversion factors and functions. A unit library/system would be nice, but is a non-trivial amount of work.