Celeritas 0.6.0-dev.115+3b60a5fd
|
Initialize track states. More...
#include <InitializeTracksAction.hh>
Public Member Functions | |
InitializeTracksAction (ActionId id) | |
Construct with explicit Id. | |
void | step (CoreParams const ¶ms, CoreStateHost &state) const final |
Execute the action with host data. | |
void | step (CoreParams const ¶ms, CoreStateDevice &state) const final |
Execute the action with device data. | |
ActionId | action_id () const final |
ID of the action. | |
std::string_view | label () const final |
Short name for the action. | |
std::string_view | description () const final |
Description of the action for user interaction. | |
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) | |
Initialize track states.
Tracks created from secondaries produced in this action will have the geometry state copied over from the parent instead of initialized from the position. If there are more empty slots than new secondaries, they will be filled by any track initializers remaining from previous steps using the position.
|
inlinefinalvirtual |
ID of the action.
Implements celeritas::ActionInterface.
|
inlinefinalvirtual |
Description of the action for user interaction.
Implements celeritas::ActionInterface.
|
inlinefinalvirtual |
Short name for the action.
Implements celeritas::ActionInterface.
|
inlinefinalvirtual |
Dependency ordering of the action.
Implements celeritas::StepActionInterface< P, S >.