|
Celeritas 0.7.0-dev.172+develop.fe2a0acd4
|
Test harness base class for Neutron physics models. More...
#include <NeutronTestBase.hh>

Public Member Functions | |
| void | set_material_params (MaterialParams::Input inp) |
| std::shared_ptr< MaterialParams const > const & | material_params () const |
| void | set_particle_params (ParticleParams::Input inp) |
| std::shared_ptr< ParticleParams const > const & | particle_params () const |
| void | set_material (std::string const &name) |
| MaterialTrackView & | material_track () |
| void | set_inc_particle (PDGNumber n, MevEnergy energy) |
| void | set_inc_direction (Real3 const &dir) |
| Real3 const & | direction () const |
| ParticleTrackView const & | particle_track () const |
| RandomEngine & | rng () |
Public Member Functions inherited from celeritas::test::Test | |
| virtual std::string | make_unique_filename (std::string_view ext) |
| Generate test-unique filename. | |
| std::string | make_unique_filename () |
Type aliases | |
| using | RandomEngine = DiagnosticRngEngine< std::mt19937 > |
| using | MevEnergy = units::MevEnergy |
| using | Action = Interaction::Action |
| NeutronTestBase () | |
| ~NeutronTestBase () | |
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 |
Test harness base class for Neutron physics models.
Initialize and destroy
Initialize and destroy
| using celeritas::test::NeutronTestBase::RandomEngine = DiagnosticRngEngine<std::mt19937> |
Initialize and destroy
| celeritas::test::NeutronTestBase::NeutronTestBase | ( | ) |
Initialize and destroy
| celeritas::test::NeutronTestBase::~NeutronTestBase | ( | ) |
Initialize and destroy
Incident particle properties and access
|
inline |
Set and get material properties
|
inline |
Material properties
|
inline |
Set and get particle params
|
inline |
Incident particle properties and access
|
inline |
Get random number generator with clean counter
Incident particle properties and access
Incident particle properties and access
| void celeritas::test::NeutronTestBase::set_material_params | ( | MaterialParams::Input | inp | ) |
Set and get material properties
| void celeritas::test::NeutronTestBase::set_particle_params | ( | ParticleParams::Input | inp | ) |
Set and get particle params