Celeritas
0.6.0-dev.115+3b60a5fd
Loading...
Searching...
No Matches
celeritas
test
InteractorHostTestBase
List of all members
celeritas::test::InteractorHostTestBase Class Reference
Inheritance diagram for celeritas::test::InteractorHostTestBase:
[
legend
]
Additional Inherited Members
Public Types inherited from
celeritas::test::InteractorHostBase
using
RandomEngine
=
DiagnosticRngEngine
< std::mt19937 >
using
MevEnergy
=
units::MevEnergy
using
Action
=
Interaction::Action
using
SecondaryAllocator
=
StackAllocator
<
Secondary
>
using
constSpanSecondaries
=
Span
<
Secondary
const
>
Public Member Functions inherited from
celeritas::test::InteractorHostBase
ImportProcess
make_import_process
(
PDGNumber
particle,
PDGNumber
secondary
,
ImportProcessClass
ipc
, std::vector<
ImportModelClass
> models)
const
void
check_conservation
(
Interaction
const
&
interaction
)
const
void
check_energy_conservation
(
Interaction
const
&
interaction
)
const
void
check_momentum_conservation
(
Interaction
const
&
interaction
)
const
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_cutoff_params
(
CutoffParams::Input
inp)
std::shared_ptr<
CutoffParams
const
>
const
&
cutoff_params
()
const
void
set_imported_processes
(std::vector<
ImportProcess
> inp)
std::shared_ptr<
ImportedProcesses
const
>
const
&
imported_processes
()
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
void
resize_secondaries
(
int
count
)
SecondaryAllocator
&
secondary_allocator
()
RandomEngine
&
rng
()
InteractorHostBase
()
~InteractorHostBase
()
Public Member Functions inherited from
celeritas::test::Test
std::string
make_unique_filename
(std::string_view ext={})
Generate test-unique filename.
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
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.
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
= 1
e
-6
The documentation for this class was generated from the following file:
phys/InteractorHostTestBase.hh
Generated by
1.9.8