Struct Acts::SurfaceReached

struct 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>
inline 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
  • state[inout] The propagation state object

  • stepper[in] Stepper used for propagation

template<typename propagator_state_t, typename stepper_t>
inline 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
  • state[inout] The propagation state object

  • stepper[in] Stepper used for the progation

  • targetSurface[in] The target surface