Celeritas  0.5.0-56+6b053cd
Namespaces | Functions | Variables
test/geocel/UnitUtils.hh File Reference
#include "corecel/Config.hh"
#include "corecel/Types.hh"
#include "corecel/cont/Array.hh"
#include "geocel/detail/LengthUnits.hh"
This graph shows which files directly or indirectly include this file:

Namespaces

 celeritas::test
 Test harness base class for optical physics.
 

Functions

constexpr real_type celeritas::test::to_cm (real_type v)
 Convert a value to centimeters from the native system.
 
constexpr real_type celeritas::test::from_cm (real_type v)
 Convert a value from centimeters to the native system.
 
constexpr Array< real_type, 3 > celeritas::test::to_cm (Array< real_type, 3 > const &v)
 Convert an array to centimeters from the native system.
 
constexpr Array< real_type, 3 > celeritas::test::from_cm (Array< real_type, 3 > const &v)
 Convert an array from centimeters to the native system.
 

Variables

constexpr bool celeritas::test::unit_scaling_enabled
 Whether the current geometry can correctly scale the input as needed. More...