Celeritas
0.5.0-86+4a8eea4
|
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. | |
Propagate (move) a particle in a straight line.