Struct SurfaceReached

Struct Documentation

struct Acts::SurfaceReached

This is the condition that the Surface has been reached it then triggers an propagation abort of the propagation.

Public Functions

SurfaceReached() = default
template<typename propagator_state_t, typename stepper_t>
bool operator()(propagator_state_t &state, const stepper_t &stepper) const

boolean operator for abort condition without using the result

Template Parameters
  • propagator_state_t: Type of the propagator state

  • stepper_t: Type of the stepper

Parameters
  • [inout] state: The propagation state object

  • [in] stepper: Stepper used for propagation

template<typename propagator_state_t, typename stepper_t>
bool operator()(propagator_state_t &state, const stepper_t &stepper, const Surface &targetSurface) const

boolean operator for abort condition without using the result

Template Parameters
  • propagator_state_t: Type of the propagator state

  • stepper_t: Type of the stepper

Parameters
  • [inout] state: The propagation state object

  • [in] stepper: Stepper used for the progation

  • [in] targetSurface: The target surface