Celeritas
0.5.0-56+6b053cd
|
Classes | |
struct | RunResult |
Public Member Functions | |
void | SetUp () override |
RunResult | run (size_type num_tracks, size_type num_steps) |
Public Member Functions inherited from celeritas::test::SimpleLoopTestBase | |
virtual VecPrimary | make_primaries (size_type count) const =0 |
virtual size_type | initial_occupancy (size_type num_tracks) const |
Public Member Functions inherited from celeritas::test::GlobalTestBase | |
SPConstPrimariesAction const & | primaries_action () |
void | insert_primaries (CoreStateInterface &state, SpanConstPrimary primaries) |
SPOutputRegistry const & | output_reg () const |
Access output manager. | |
void | write_output () |
Write output to a debug text file. | |
SPConstGeo const & | geometry () |
SPConstMaterial const & | material () |
SPConstGeoMaterial const & | geomaterial () |
SPConstParticle const & | particle () |
SPConstCutoff const & | cutoff () |
SPConstPhysics const & | physics () |
SPConstAction const & | along_step () |
SPConstRng const & | rng () |
SPConstSim const & | sim () |
SPConstTrackInit const & | init () |
SPConstWentzelOKVI const & | wentzel () |
SPActionRegistry const & | action_reg () |
SPUserRegistry const & | aux_reg () |
SPConstCore const & | core () |
SPConstCerenkov const & | cerenkov () |
SPConstOpticalMaterial const & | optical_material () |
SPConstScintillation const & | scintillation () |
SPConstGeo const & | geometry () const |
SPConstMaterial const & | material () const |
SPConstGeoMaterial const & | geomaterial () const |
SPConstParticle const & | particle () const |
SPConstCutoff const & | cutoff () const |
SPConstPhysics const & | physics () const |
SPConstAction const & | along_step () const |
SPConstRng const & | rng () const |
SPConstSim const & | sim () const |
SPConstTrackInit const & | init () const |
SPConstWentzelOKVI const & | wentzel () const |
SPActionRegistry const & | action_reg () const |
SPUserRegistry const & | aux_reg () const |
SPConstCore const & | core () const |
SPConstCerenkov const & | cerenkov () const |
SPConstOpticalMaterial const & | optical_material () const |
SPConstScintillation const & | scintillation () const |
Public Member Functions inherited from celeritas::test::Test | |
std::string | make_unique_filename (std::string_view ext={}) |
Generate test-unique filename. | |
Protected Attributes | |
std::shared_ptr< ExampleMctruth > | example_mctruth_ |
std::shared_ptr< StepCollector > | collector_ |
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 |
Protected Member Functions inherited from celeritas::test::SimpleLoopTestBase | |
template<MemSpace M> | |
void | run_impl (size_type num_tracks, size_type num_steps) |
Protected Member Functions inherited from celeritas::test::GlobalTestBase | |
virtual SPConstGeo | build_geometry ()=0 |
virtual SPConstMaterial | build_material ()=0 |
virtual SPConstGeoMaterial | build_geomaterial ()=0 |
virtual SPConstParticle | build_particle ()=0 |
virtual SPConstCutoff | build_cutoff ()=0 |
virtual SPConstPhysics | build_physics ()=0 |
virtual SPConstSim | build_sim ()=0 |
virtual SPConstTrackInit | build_init ()=0 |
virtual SPConstWentzelOKVI | build_wentzel ()=0 |
virtual SPConstAction | build_along_step ()=0 |
virtual SPConstCerenkov | build_cerenkov ()=0 |
virtual SPConstOpticalMaterial | build_optical_material ()=0 |
virtual SPConstScintillation | build_scintillation ()=0 |
void | disable_status_checker () |