|
Celeritas 0.7-develop+ddcb429
|
#include "corecel/Config.hh"#include "corecel/Macros.hh"#include "corecel/Types.hh"#include "corecel/cont/Array.hh"#include "geocel/detail/LengthQuantities.hh"#include "geocel/detail/LengthUnits.hh"Namespaces | |
| namespace | 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 double | celeritas::test::to_cm (lengthunits::ClhepLength q) |
| Convert CLHEP length wrappers to cm in the most lossless way possible. | |
| 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< double, 3 > | celeritas::test::to_cm (Array< lengthunits::ClhepLength, 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. | |