Celeritas  0.5.0-86+4a8eea4
Protected Member Functions | List of all members
celeritas::test::InvalidOrangeTestBase Class Reference

Create an ORANGE geometry with errors. More...

#include <InvalidOrangeTestBase.hh>

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

Protected Member Functions

std::string_view geometry_basename () const override
 
SPConstGeo build_geometry () override
 
SPConstGeoMaterial build_geomaterial () override
 
- Protected Member Functions inherited from celeritas::test::SimpleTestBase
std::string_view geometry_basename () const override
 
virtual real_type secondary_stack_factor () const
 
SPConstMaterial build_material () override
 
SPConstGeoMaterial build_geomaterial () override
 
SPConstParticle build_particle () override
 
SPConstCutoff build_cutoff () override
 
SPConstPhysics build_physics () override
 
SPConstSim build_sim () override
 
SPConstTrackInit build_init () override
 
SPConstAction build_along_step () override
 
SPConstWentzelOKVI build_wentzel () override
 
- Protected Member Functions inherited from celeritas::test::GlobalGeoTestBase
SPConstGeoI build_fresh_geometry (std::string_view) override
 Construct a geometry for the first time.
 
- Protected Member Functions inherited from celeritas::test::GlobalTestBase
void disable_status_checker ()
 
- Protected Member Functions inherited from celeritas::test::LazyGeoManager
SPConstGeoI get_geometry (std::string_view key)
 

Additional Inherited Members

- Public Types inherited from celeritas::test::GlobalTestBase
template<class T >
using SP = std::shared_ptr< T >
 
using SPConstGeo = SP< GeoParams const >
 
using SPConstMaterial = SP< MaterialParams const >
 
using SPConstGeoMaterial = SP< GeoMaterialParams const >
 
using SPConstParticle = SP< ParticleParams const >
 
using SPConstCutoff = SP< CutoffParams const >
 
using SPConstPhysics = SP< PhysicsParams const >
 
using SPConstAction = SP< CoreStepActionInterface const >
 
using SPConstRng = SP< RngParams const >
 
using SPConstSim = SP< SimParams const >
 
using SPConstTrackInit = SP< TrackInitParams const >
 
using SPConstWentzelOKVI = SP< WentzelOKVIParams const >
 
using SPConstCore = SP< CoreParams const >
 
using SPActionRegistry = SP< ActionRegistry >
 
using SPOutputRegistry = SP< OutputRegistry >
 
using SPUserRegistry = SP< AuxParamsRegistry >
 
using SPConstCherenkov = SP< optical::CherenkovParams const >
 
using SPConstOpticalMaterial = SP< optical::MaterialParams const >
 
using SPConstScintillation = SP< optical::ScintillationParams const >
 
using SPConstPrimariesAction = SP< ExtendFromPrimariesAction const >
 
using SpanConstPrimary = Span< Primary const >
 
- Public Member Functions inherited from celeritas::test::GlobalTestBase
SPConstPrimariesAction const & primaries_action ()
 
void insert_primaries (CoreStateInterface &state, SpanConstPrimary primaries)
 
SPOutputRegistry const & output_reg () const
 Access output manager.
 
void write_output ()
 Write output to a debug text file.
 
SPConstGeo const & geometry ()
 
SPConstMaterial const & material ()
 
SPConstGeoMaterial const & geomaterial ()
 
SPConstParticle const & particle ()
 
SPConstCutoff const & cutoff ()
 
SPConstPhysics const & physics ()
 
SPConstAction const & along_step ()
 
SPConstRng const & rng ()
 
SPConstSim const & sim ()
 
SPConstTrackInit const & init ()
 
SPConstWentzelOKVI const & wentzel ()
 
SPActionRegistry const & action_reg ()
 
SPUserRegistry const & aux_reg ()
 
SPConstCore const & core ()
 
SPConstCherenkov const & cherenkov ()
 
SPConstOpticalMaterial const & optical_material ()
 
SPConstScintillation const & scintillation ()
 
SPConstGeo const & geometry () const
 
SPConstMaterial const & material () const
 
SPConstGeoMaterial const & geomaterial () const
 
SPConstParticle const & particle () const
 
SPConstCutoff const & cutoff () const
 
SPConstPhysics const & physics () const
 
SPConstAction const & along_step () const
 
SPConstRng const & rng () const
 
SPConstSim const & sim () const
 
SPConstTrackInit const & init () const
 
SPConstWentzelOKVI const & wentzel () const
 
SPActionRegistry const & action_reg () const
 
SPUserRegistry const & aux_reg () const
 
SPConstCore const & core () const
 
SPConstCherenkov const & cherenkov () const
 
SPConstOpticalMaterial const & optical_material () const
 
SPConstScintillation const & scintillation () 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::OnlyCoreTestBase
SPConstCherenkov build_cherenkov () override
 
SPConstOpticalMaterial build_optical_material () override
 
SPConstScintillation build_scintillation () override
 
- 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}. More...
 
static std::string genericize_pointers (std::string_view s)
 Replace pointer addresses with 0x0 for improved testability.
 
static bool strict_testing ()
 True if strict testing is required. More...
 
- Static Public Attributes inherited from celeritas::test::Test
static constexpr double inf = HUGE_VAL
 
static constexpr float inff = HUGE_VALF
 
static constexpr double coarse_eps = 1e-6
 
- Protected Types inherited from celeritas::test::LazyGeoManager
using SPConstGeoI = std::shared_ptr< GeoParamsInterface const >
 
- Static Protected Member Functions inherited from celeritas::test::LazyGeoManager
static void reset_geometry ()
 Destroy the geometry if needed.
 

Detailed Description

Create an ORANGE geometry with errors.

Use the TEST_IF_CELERITAS_ORANGE when subclassing this test.

This is a simple geometry with five spheres, all 1cm radius except for the world which is 10 and outer shell which is 15:

The cross sections are fictional and only gammas are defined: see SimpleTestBase .


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