Celeritas
0.5.0-86+4a8eea4
|
Along-step kernel with optional MSC and uniform magnetic field. More...
#include <AlongStepUniformMscAction.hh>
Public Types | |
Type aliases | |
using | SPConstFluctuations = std::shared_ptr< FluctuationParams const > |
using | SPConstMsc = std::shared_ptr< UrbanMscParams const > |
Public Types inherited from celeritas::ActionTypeTraits< P, S > | |
using | CoreParams = P |
using | CoreStateHost = S< MemSpace::host > |
using | CoreStateDevice = S< MemSpace::device > |
using | SpanCoreStateHost = Span< S< MemSpace::host > *const > |
using | SpanCoreStateDevice = Span< S< MemSpace::device > *const > |
Public Member Functions | |
AlongStepUniformMscAction (ActionId id, UniformFieldParams const &field_params, SPConstFluctuations fluct, SPConstMsc msc) | |
Construct with MSC data and field driver options. | |
~AlongStepUniformMscAction () final | |
Default destructor. | |
void | step (CoreParams const &, CoreStateHost &) const final |
Launch the along-step action on host. | |
void | step (CoreParams const &, CoreStateDevice &) const final |
Launch the along-step action on device. | |
ActionId | action_id () const final |
ID of the model. | |
std::string_view | label () const final |
Short name for the interaction kernel. | |
std::string_view | description () const final |
Short description of the action. | |
StepActionOrder | order () const final |
Dependency ordering of the action. | |
bool | has_fluct () const |
Whether energy flucutation is in use. | |
bool | has_msc () const |
Whether MSC is in use. | |
Real3 const & | field () const |
Field strength. | |
Public Member Functions inherited from celeritas::StepActionInterface< P, S > | |
virtual void | step (P const &, S< MemSpace::host > &) const =0 |
Execute the action with host data. | |
virtual void | step (P const &, S< MemSpace::device > &) const =0 |
Execute the action with device data. | |
Public Member Functions inherited from celeritas::ActionInterface | |
virtual | ~ActionInterface () noexcept=0 |
Default destructor. | |
Static Public Member Functions | |
static std::shared_ptr< AlongStepUniformMscAction > | from_params (ActionId id, MaterialParams const &materials, ParticleParams const &particles, UniformFieldParams const &field_params, SPConstMsc msc, bool eloss_fluctuation) |
Construct the along-step action from input parameters. | |
Additional Inherited Members | |
Protected Member Functions inherited from celeritas::ActionInterface | |
ActionInterface ()=default | |
CELER_DEFAULT_COPY_MOVE (ActionInterface) | |
Along-step kernel with optional MSC and uniform magnetic field.