Celeritas 0.6.0-dev.115+3b60a5fd
|
Reuse geometry across individual tests. More...
#include <GlobalGeoTestBase.hh>
Protected Member Functions | |
SPConstGeoI | build_fresh_geometry (std::string_view) override |
Construct a geometry for the first time. | |
![]() | |
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 SPConstCherenkov | build_cherenkov ()=0 |
virtual SPConstOpticalMaterial | build_optical_material ()=0 |
virtual SPConstScintillation | build_scintillation ()=0 |
void | disable_status_checker () |
![]() | |
SPConstGeoI | get_geometry (std::string_view key) |
Reuse geometry across individual tests.
This is helpful for slow geometry construction or if the geometry has trouble building/destroying multiple times per execution due to global variable usage (VecGeom, Geant4).
The "geometry basename" should be the filename without extension of a geometry file inside test/celeritas/data
.
|
overrideprotectedvirtual |
Construct a geometry for the first time.
Implements celeritas::test::LazyGeoManager.
Reimplemented in celeritas::test::SDTestBase.
|
overridevirtual |
Implements celeritas::test::GlobalTestBase.