Celeritas 0.6.0-dev.115+3b60a5fd
|
Along-step kernel for particles without fields or energy loss. More...
#include <AlongStepNeutralAction.hh>
Public Member Functions | |
AlongStepNeutralAction (ActionId id) | |
Construct with next action ID. | |
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 along-step kernel. | |
std::string_view | description () const final |
Short description of the action. | |
StepActionOrder | order () const final |
Dependency ordering of the action. | |
![]() | |
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. | |
![]() | |
virtual | ~ActionInterface () noexcept=0 |
Default destructor. | |
Additional Inherited Members | |
![]() | |
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 > |
![]() | |
CELER_DEFAULT_COPY_MOVE (ActionInterface) | |
Along-step kernel for particles without fields or energy loss.
This should only be used for testing and demonstration purposes because real EM physics always has continuous energy loss for charged particles.
|
inlinefinalvirtual |
ID of the model.
Implements celeritas::ActionInterface.
|
inlinefinalvirtual |
Short description of the action.
Implements celeritas::ActionInterface.
|
inlinefinalvirtual |
Short name for the along-step kernel.
Implements celeritas::ActionInterface.
|
inlinefinalvirtual |
Dependency ordering of the action.
Implements celeritas::StepActionInterface< P, S >.