31 std::shared_ptr<const Surface>
surface =
nullptr;
56 template <
typename propagator_state_t,
typename stepper_t>
60 if (
sterile or state.navigation.targetReached) {
65 step.
stepSize = state.stepping.stepSize;
66 step.
position = stepper.position(state.stepping);
68 stepper.momentum(state.stepping) * stepper.direction(state.stepping);
70 if (state.navigation.currentSurface !=
nullptr) {
72 step.
surface = state.navigation.currentSurface->getSharedPtr();
75 step.
volume = state.navigation.currentVolume;
76 result.
steps.push_back(std::move(step));
81 template <
typename propagator_state_t,
typename stepper_t>
83 const stepper_t& )
const {}