Celeritas 0.6.0-110+develop.c7dc37d1
Loading...
Searching...
No Matches
Protected Member Functions | List of all members
celeritas::test::OpticalSurfacesTestBase Class Reference

Base for tests with optical surfaces: More...

#include <SurfaceTestBase.hh>

Inheritance diagram for celeritas::test::OpticalSurfacesTestBase:
Inheritance graph
[legend]

Protected Member Functions

std::shared_ptr< SurfaceParamsbuild_surfaces () const override
 Create surface parameters.
 
- Protected Member Functions inherited from celeritas::test::OpticalVolumeTestBase
std::shared_ptr< VolumeParamsbuild_volumes () const override
 

Additional Inherited Members

- Public Member Functions inherited from celeritas::test::VolumeTestBase
void SetUp () override
 
VolumeParams constvolumes () const
 
- Public Member Functions inherited from celeritas::test::Test
std::string make_unique_filename (std::string_view ext={})
 Generate test-unique filename.
 
- Public Member Functions inherited from celeritas::test::SurfaceTestBase
void SetUp () override
 
SurfaceParams constsurfaces () const
 Get the surface parameters.
 
- 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.
 
- 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
 

Detailed Description

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)
* 

Member Function Documentation

◆ build_surfaces()

std::shared_ptr< SurfaceParams > celeritas::test::OpticalSurfacesTestBase::build_surfaces ( ) const
overrideprotectedvirtual

Create surface parameters.

Implements celeritas::test::SurfaceTestBase.


The documentation for this class was generated from the following file: