Celeritas 0.6.0-67+develop.47f47c88
|
Additional Inherited Members | |
![]() | |
using | RandomEngine = DiagnosticRngEngine< std::mt19937 > |
using | Energy = units::MevEnergy |
using | Action = Interaction::Action |
![]() | |
InteractorHostBase () | |
Initialize test base. | |
virtual | ~InteractorHostBase ()=default |
Clean up test base. | |
RandomEngine & | rng () |
Get random number generator with clean counter. | |
void | set_inc_direction (Real3 const &dir) |
Set incident photon direction. | |
void | set_inc_energy (Energy energy) |
Set incident photon energy. | |
void | set_inc_polarization (Real3 const &pol) |
Set incident photon polarization. | |
Real3 const & | direction () const |
Get incident photon direction. | |
ParticleTrackView const & | particle_track () const |
Get incident photon track view. | |
SimTrackView const & | sim_track () const |
Get simulation track view. | |
void | check_direction_polarization (Real3 const &dir, Real3 const &pol) const |
void | check_direction_polarization (Interaction const &interaction) const |
![]() | |
std::string | make_unique_filename (std::string_view ext={}) |
Generate test-unique filename. | |
![]() | |
static std::string | test_data_path (std::string_view subdir, std::string_view filename) |
Get the path to a test file at {source}/test/{subdir}/data/{filename} . | |
static bool | strict_testing () |
True if strict testing is required. | |
![]() | |
static constexpr double | inf = HUGE_VAL |
static constexpr float | inff = HUGE_VALF |
static constexpr double | fine_eps = 1e-12 |
static constexpr double | coarse_eps = 1e-6 |