Celeritas 0.6.0-129+develop.846910afa
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
celeritas::test::SurfaceTestBase Class Referenceabstract

Base class for surface tests. More...

#include <SurfaceTestBase.hh>

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

Public Member Functions

void SetUp () override
 
SurfaceParams constsurfaces () const
 Get the surface parameters.
 
- 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.
 

Protected Member Functions

virtual std::shared_ptr< SurfaceParamsbuild_surfaces () const =0
 Create surface parameters.
 
- Protected Member Functions inherited from celeritas::test::VolumeTestBase
virtual std::shared_ptr< VolumeParamsbuild_volumes () const =0
 

Additional Inherited Members

- 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 class for surface tests.

This provides common functionality for all surface-based tests.

Member Function Documentation

◆ build_surfaces()

virtual std::shared_ptr< SurfaceParams > celeritas::test::SurfaceTestBase::build_surfaces ( ) const
protectedpure virtual

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