Celeritas 0.7.0-dev.558+develop.788a828f7
Loading...
Searching...
No Matches
Classes | Functions | Variables
UnitLength.hh File Reference
#include <ostream>
#include "corecel/math/Constant.hh"
#include "detail/LengthUnits.hh"

Classes

struct  celeritas::UnitLength
 Unit system used for reference output or test results. More...
 
struct  celeritas::StreamableLength< T >
 Print a length/position as a quantity with units. More...
 

Functions

template<class T >
 celeritas::StreamableLength (T const &, UnitLength) -> StreamableLength< T >
 

Variables

constexpr UnitLength celeritas::native_unit_length
 Native unit length.
 

Variable Documentation

◆ native_unit_length

constexpr UnitLength celeritas::native_unit_length
inlineconstexpr
Initial value:
{Constant{1},
lengthunits::native_label}

Native unit length.