|
Celeritas 0.7.0-dev.194+develop.0df4cab59
|
Sequence of step actions to invoke as part of a single step. More...
#include <ActionSequence.hh>
Classes | |
| struct | Options |
| Construction/execution options. More... | |
Public Types | |
Type aliases | |
| using | ActionGroupsT = ActionGroups< CoreParams, CoreState > |
| using | SPActionTimes = std::shared_ptr< ActionTimes > |
| using | MapStrDbl = ActionTimes::MapStrDbl |
Public Member Functions | |
| ActionSequence (ActionRegistry const &, Options options) | |
| Construct from an action registry and sequence options. | |
| template<MemSpace M> | |
| void | begin_run (CoreParams const ¶ms, CoreState< M > &state) |
| Initialize actions and states. | |
| template<MemSpace M> | |
| void | step (CoreParams const &, CoreState< M > &state) |
| Call all explicit actions with host or device data. | |
| MapStrDbl | get_action_times (AuxStateVec const &) const |
| Get the accumulated action times. | |
| ActionGroupsT const & | actions () const |
| Get the ordered vector of actions in the sequence. | |
Sequence of step actions to invoke as part of a single step.
TODO accessors here are used by diagnostic output from celer-sim etc.; perhaps make this public or add a diagnostic output for it?