Celeritas  0.5.0-56+6b053cd
Public Member Functions | List of all members
celeritas::StepActionInterface< P, S > Class Template Referenceabstract

Interface for kernel actions in a stepping loop. More...

#include <ActionInterface.hh>

Inheritance diagram for celeritas::StepActionInterface< P, S >:
Inheritance graph
[legend]

Public Member Functions

virtual StepActionOrder order () const =0
 Dependency ordering of the action inside the step.
 
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.
 
virtual ActionId action_id () const =0
 ID of this action for verification and ordering.
 
virtual std::string_view label () const =0
 Short unique label of the action.
 
virtual std::string_view description () const =0
 Description of the action.
 

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

template<class P, template< MemSpace M > class S>
class celeritas::StepActionInterface< P, S >

Interface for kernel actions in a stepping loop.

Template Parameters
PCore param class
SCore state class

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