Celeritas  0.5.0-86+4a8eea4
Public Member Functions | List of all members
celeritas::optical::LocateVacanciesAction Class Referencefinal

Find the vacant track slots at the end of the step. More...

#include <LocateVacanciesAction.hh>

Inheritance diagram for celeritas::optical::LocateVacanciesAction:
Inheritance graph
[legend]

Public Member Functions

 LocateVacanciesAction (ActionId)
 Construct with ID. More...
 
void step (CoreParams const &, CoreStateHost &) const final
 Execute the action with host data.
 
void step (CoreParams const &, CoreStateDevice &) const final
 Execute the action with device data.
 
StepActionOrder order () const final
 Dependency ordering of the action.
 
- 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.
 
- Public Member Functions inherited from celeritas::ConcreteAction
 ConcreteAction (ActionId id, std::string label) noexcept(!CELERITAS_DEBUG)
 Construct a concrete action from a label and ID.
 
 ConcreteAction (ActionId id, std::string label, std::string description) noexcept(!CELERITAS_DEBUG)
 Construct a concrete action from an ID, a unique label, and a description.
 
 ~ConcreteAction () noexcept override
 Default destructor.
 
 CELER_DELETE_COPY_MOVE (ConcreteAction)
 
ActionId action_id () const final
 ID of this action for verification.
 
std::string_view label () const final
 Short label.
 
std::string_view description () const final
 Descriptive label.
 

Additional Inherited Members

- 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 >
 
- Protected Member Functions inherited from celeritas::ActionInterface
 ActionInterface ()=default
 
 CELER_DEFAULT_COPY_MOVE (ActionInterface)
 

Detailed Description

Find the vacant track slots at the end of the step.

Todo:
Create initializers from secondaries here once optical secondaries are produced.
Todo:
Rename?

Constructor & Destructor Documentation

◆ LocateVacanciesAction()

celeritas::optical::LocateVacanciesAction::LocateVacanciesAction ( ActionId  aid)
explicit

Construct with ID.

Construct with action ID.


The documentation for this class was generated from the following files: