| 
    Celeritas 0.7.0-dev.174+develop.3cfbeaa01
    
   | 
 
Annotated unit struct definitions for use with Quantity. More...
#include <utility>#include "corecel/Config.hh"#include "corecel/math/Constant.hh"#include "corecel/math/UnitUtils.hh"#include "Constants.hh"#include "Types.hh"#include "Units.hh"
Namespaces | |
| namespace | celeritas::units | 
| Units in Celeritas for macro-scale quantities.  | |
Macros | |
| #define | CELER_US_VISIT_CASE(TYPE) | 
Typedefs | |
Type aliases for unit system traits  | |
| using | celeritas::units::CgsTraits = UnitSystemTraits< UnitSystem::cgs > | 
| using | celeritas::units::SiTraits = UnitSystemTraits< UnitSystem::si > | 
| using | celeritas::units::ClhepTraits = UnitSystemTraits< UnitSystem::clhep > | 
| using | celeritas::units::NativeTraits = UnitSystemTraits< UnitSystem::native > | 
Functions | |
| template<class F > | |
| constexpr decltype(auto) | celeritas::units::visit_unit_system (F &&func, UnitSystem sys) | 
| Expand a macro to a switch statement over all possible unit system types.   | |
Annotated unit struct definitions for use with Quantity.
| #define CELER_US_VISIT_CASE | ( | TYPE | ) |