Celeritas 0.6.0-93+develop.7a7d9941
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
celeritas::test::SurfaceTestBase Class Reference

Construct volume params at setup time. More...

#include <SurfaceTestBase.hh>

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

Public Member Functions

void SetUp () override
 
inp::Surfaces make_many_surfaces_inp () const
 
- Public Member Functions inherited from celeritas::test::Test
std::string make_unique_filename (std::string_view ext={})
 Generate test-unique filename.
 

Protected Attributes

VolumeParams volumes_
 

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

Construct volume params at setup time.

It constructs volumes A through E with three instances of C (one inside A, two inside B), placing them in the hierarchy with the following volume instances:

  {parent} -> {daughter} "{volume instance label}"
    A -> B "0"
    A -> C "1"
    B -> C "2"
    B -> C "3"
    C -> D "4"
    C -> E "5"
* 

The "many surface" constructor builds the following surfaces:

   c2b : interface 2 -> 0
   c2c2: interface 2 -> 2
   b   : boundary for A
   cc2 : interface 1 -> 2
   c3c : interface 3 -> 1
   bc  : interface 0 -> 1
   bc2 : interface 0 -> 2
   ec  : interface 5 -> 1
   db  : interface 4 -> 1
* 

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