Celeritas 0.6.0-129+develop.846910afa
|
Manage a "heuristic" stepper-like test that accumulates path length. More...
#include <HeuristicGeoTestBase.hh>
Protected Member Functions | |
void | run (size_type num_states, size_type num_steps, real_type tolerance) |
![]() | |
virtual SPConstCoreGeo | build_geometry () |
void | disable_status_checker () |
SPConstSurface const & | surface () const |
SPConstVolume const & | volume () const |
SPConstGeoI | build_geo_from_geant (SPConstGeantGeo const &) const final |
SPConstGeoI | build_geo_from_gdml (std::string const &filename) const final |
Build from a GDML path as a fallback. | |
virtual std::string_view | gdml_basename () const=0 |
Get an identifying key for the geometry (basename, description, etc) | |
Additional Inherited Members | |
![]() | |
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 void | clear_lazy_geo () |
Reset the secondary geometry manually. | |
![]() | |
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 |
Manage a "heuristic" stepper-like test that accumulates path length.
|
protected |
Run tracks on device and host and compare the resulting path length