|
Celeritas 0.7.0-dev.194+develop.0df4cab59
|
Mock process. More...
#include <MockProcess.hh>

Classes | |
| struct | Input |
Public Types | |
Type aliases | |
| using | BarnMicroXs = RealQuantity< units::Barn > |
| using | VecApplicability = std::vector< Applicability > |
| using | VecMicroXs = std::vector< BarnMicroXs > |
| using | SPConstMaterials = std::shared_ptr< MaterialParams const > |
| using | ModelCallback = std::function< void(ActionId)> |
Public Types inherited from celeritas::Process | |
| using | SPConstModel = std::shared_ptr< Model const > |
| using | VecModel = std::vector< SPConstModel > |
| using | ActionIdIter = RangeIter< ActionId > |
| using | XsGrid = inp::XsGrid |
| using | EnergyLossGrid = inp::UniformGrid |
Public Member Functions | |
| MockProcess (Input data) | |
| VecModel | build_models (ActionIdIter start_id) const final |
| Construct the models associated with this process. | |
| XsGrid | macro_xs (Applicability range) const final |
| Get the interaction cross sections [l/len] for the given energy range. | |
| EnergyLossGrid | energy_loss (Applicability range) const final |
| Get the energy loss [MeV/len] for the given energy range. | |
| bool | supports_integral_xs () const final |
| Whether the integral method can be used to sample interaction length. | |
| bool | applies_at_rest () const final |
| Whether the process applies when the particle is stopped. | |
| std::string_view | label () const final |
| Name of the process. | |
Public Member Functions inherited from celeritas::Process | |
| virtual | ~Process () |
| Default destructor. | |
Additional Inherited Members | |
Protected Member Functions inherited from celeritas::Process | |
| CELER_DEFAULT_COPY_MOVE (Process) | |
Mock process.
Multiple instances of this process can be created to test out the physics. The value grids are all parameterized:
The given applicability vector has one element per model that it will create. Each model can have a different particle type and/or energy range.
|
finalvirtual |
Whether the process applies when the particle is stopped.
Implements celeritas::Process.
|
finalvirtual |
Construct the models associated with this process.
Implements celeritas::Process.
|
finalvirtual |
Get the energy loss [MeV/len] for the given energy range.
Implements celeritas::Process.
|
finalvirtual |
Name of the process.
Implements celeritas::Process.
|
finalvirtual |
Get the interaction cross sections [l/len] for the given energy range.
Implements celeritas::Process.
|
finalvirtual |
Whether the integral method can be used to sample interaction length.
Implements celeritas::Process.