Celeritas 0.6.0-110+develop.c7dc37d1
|
Base for tests with optical surfaces: More...
#include <SurfaceTestBase.hh>
Protected Member Functions | |
std::shared_ptr< SurfaceParams > | build_surfaces () const override |
Create surface parameters. | |
![]() | |
std::shared_ptr< VolumeParams > | build_volumes () const override |
Additional Inherited Members | |
![]() | |
void | SetUp () override |
VolumeParams const & | volumes () const |
![]() | |
std::string | make_unique_filename (std::string_view ext={}) |
Generate test-unique filename. | |
![]() | |
void | SetUp () override |
SurfaceParams const & | surfaces () const |
Get the surface parameters. | |
![]() | |
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 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 |
Base for tests with optical surfaces:
sphere_skin : boundary for 0 (lar_sphere) tube2_skin : boundary for 1 (tube2) below_to_1 : interface 1 -> 2 (tube2_below_pv -> tube1_mid_pv) mid_to_below : interface 2 -> 1 (tube1_mid_pv -> tube2_below_pv) mid_to_above : interface 2 -> 3 (tube1_mid_pv -> tube2_above_pv) *
|
overrideprotectedvirtual |
Create surface parameters.
Implements celeritas::test::SurfaceTestBase.