Celeritas  0.5.0-86+4a8eea4
Public Member Functions | Public Attributes | List of all members
celeritas::InteractionApplierBaseImpl< F > Struct Template Reference

Wrap an Interaction executor to apply it to a track. More...

#include <InteractionApplier.hh>

Inheritance diagram for celeritas::InteractionApplierBaseImpl< F >:
Inheritance graph
[legend]

Public Member Functions

CELER_FUNCTION void operator() (celeritas::CoreTrackView const &)
 Sample an interaction and apply to the track view. More...
 

Public Attributes

sample_interaction
 

Detailed Description

template<class F>
struct celeritas::InteractionApplierBaseImpl< F >

Wrap an Interaction executor to apply it to a track.

The function F must take a CoreTrackView and return a Interaction

Member Function Documentation

◆ operator()()

template<class F >
CELER_FUNCTION void celeritas::InteractionApplierBaseImpl< F >::operator() ( celeritas::CoreTrackView const &  track)

Sample an interaction and apply to the track view.

The given track must be an active track with the correct step limit action ID.


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