Celeritas  0.5.0-56+6b053cd
Public Member Functions | Static Public Member Functions | List of all members
celeritas::LinearPropagator< GTV > Class Template Reference

Propagate (move) a particle in a straight line. More...

#include <LinearPropagator.hh>

Public Types

Type aliases
using result_type = Propagation
 

Public Member Functions

CELER_FUNCTION LinearPropagator (GTV &&track)
 Construct from a geo track view.
 
CELER_FUNCTION result_type operator() ()
 Move track to next volume boundary.
 
CELER_FUNCTION result_type operator() (real_type dist)
 Move track by a user-provided distance up to the next boundary.
 

Static Public Member Functions

static CELER_CONSTEXPR_FUNCTION bool tracks_can_loop ()
 Whether it's possible to have tracks that are looping.
 

Detailed Description

template<class GTV>
class celeritas::LinearPropagator< GTV >

Propagate (move) a particle in a straight line.


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