Celeritas 0.7-develop+fa62b79
Loading...
Searching...
No Matches
Public Member Functions | List of all members
celeritas::EndTransportActionInterface< P, S > Class Template Referenceabstract

Interface for completing deferred work once a stepping loop has finished. More...

#include <ActionInterface.hh>

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

Public Member Functions

virtual void end_transport (P const &, S< MemSpace::host > &) const =0
 Complete buffered work with host data.
 
virtual void end_transport (P const &, S< MemSpace::device > &) const =0
 Complete buffered work 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 (ActionInterface const &)=default
 
ActionInterface & operator= (ActionInterface const &)=default
 
 ActionInterface (ActionInterface &&)=default
 
ActionInterface & operator= (ActionInterface &&)=default
 

Detailed Description

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

Interface for completing deferred work once a stepping loop has finished.

Actions that buffer work across steps based on asynchronously copied counters (for example, launching a secondary stepping loop once enough work has accumulated) cannot reliably detect the last step of a stepping loop. The driver of the loop calls this once all tracks have been transported so that the remaining buffered work is completed.

Template Parameters
PCore param class
SCore state class

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