Celeritas
0.5.0-56+6b053cd
|
Public Member Functions | |
ParticleTrackView | make_particle_track_view (units::MevEnergy energy, PDGNumber pdg) |
Initialize particle state data with given energy. | |
SimTrackView | make_sim_track_view (real_type step_len_cm) |
Initialize sim track state. | |
std::shared_ptr< ParticleParams > const & | particle_params () const |
Get particle params data. | |
std::shared_ptr< SimParams > const & | sim_params () const |
Get SimTrackView. | |
OpticalTestBase () | |
~OpticalTestBase () | |
Public Member Functions inherited from celeritas::test::Test | |
std::string | make_unique_filename (std::string_view ext={}) |
Generate test-unique filename. | |
Additional Inherited Members | |
Static Public Member Functions inherited from celeritas::test::Test | |
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} . More... | |
static std::string | genericize_pointers (std::string_view s) |
Replace pointer addresses with 0x0 for improved testability. | |
static bool | strict_testing () |
True if strict testing is required. More... | |
Static Public Attributes inherited from celeritas::test::Test | |
static constexpr double | inf = HUGE_VAL |
static constexpr float | inff = HUGE_VALF |
static constexpr double | coarse_eps = 1e-6 |
celeritas::test::OpticalTestBase::OpticalTestBase | ( | ) |
Initialize and destroy
celeritas::test::OpticalTestBase::~OpticalTestBase | ( | ) |
Initialize and destroy