Celeritas
0.5.0-86+4a8eea4
|
Mock process. More...
#include <MockProcess.hh>
Classes | |
struct | Input |
Public Types | |
Type aliases | |
using | BarnMicroXs = Quantity< 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 | UPConstGridBuilder = std::unique_ptr< ValueGridBuilder const > |
using | VecModel = std::vector< SPConstModel > |
using | StepLimitBuilders = ValueGridArray< UPConstGridBuilder > |
using | ActionIdIter = RangeIter< ActionId > |
Public Member Functions | |
MockProcess (Input data) | |
VecModel | build_models (ActionIdIter start_id) const final |
Construct the models associated with this process. | |
StepLimitBuilders | step_limits (Applicability range) const final |
Get the interaction cross sections for the given energy range. | |
bool | use_integral_xs () const final |
Whether to use the integral method to sample interaction length. | |
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 | |
Process ()=default | |
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.