|
Celeritas 0.7+28f01d9
|
Base for stress tests with a uniform tree of configurable depth and width. More...
#include <VolumeTestBase.hh>

Static Public Attributes | |
| static constexpr unsigned int | num_levels_ {4} |
| static constexpr unsigned int | num_children_ {1024} |
Static Public Attributes inherited from celeritas::test::Test | |
| 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 |
Protected Member Functions | |
| std::shared_ptr< VolumeParams > | build_volumes () const override |
Additional Inherited Members | |
Public Member Functions inherited from celeritas::test::VolumeTestBase | |
| void | SetUp () override |
| VolumeParams const & | volumes () const |
Public Member Functions inherited from celeritas::test::Test | |
| virtual std::string | make_unique_filename (std::string_view ext) |
| Generate test-unique filename. | |
| std::string | make_unique_filename () |
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}. | |
| static bool | strict_testing () |
| True if strict testing is required. | |
Base for stress tests with a uniform tree of configurable depth and width.
The volume hierarchy is a regular tree: each non-leaf volume has exactly num_children child instances pointing one level down, plus one additional instance pointing two levels down (a "skip" child) when the volume is at least two levels above the leaves. There is one logical volume per depth level (level 0 = world, level depth-1 = leaf), for a total of depth volumes, (depth-1)*num_children regular instances, and (depth-2) skip instances.
Regular instance labels use Label{"X->Y", "N"} where X and Y are depth labels and N is the sibling index (0 to num_children-1). Skip instance labels use Label{"X->Z", "0"} where Z is two levels below X.
|
overrideprotectedvirtual |
Implements celeritas::test::VolumeTestBase.