28 bool sPassive =
false)
63 template <
typename Selector = SurfaceSelector>
88 template <
typename propagator_state_t,
typename stepper_t>
92 if (state.navigation.currentSurface &&
93 selector(*state.navigation.currentSurface)) {
96 surface_hit.
surface = state.navigation.currentSurface;
97 surface_hit.
position = stepper.position(state.stepping);
98 surface_hit.
direction = stepper.direction(state.stepping);
103 std::stringstream dstream;
104 dstream <<
"Collect surface "
105 << state.navigation.currentSurface->geoID();
106 return dstream.str();
113 template <
typename propagator_state_t,
typename stepper_t>
115 const stepper_t& )
const {}
129 template <
typename propagator_state_t>
132 if (state.options.debug) {
133 std::stringstream dstream;
134 dstream <<
" " << std::setw(state.options.debugPfxWidth);
135 dstream <<
"surface collector"
137 dstream << std::setw(state.options.debugMsgWidth) << logAction() <<
'\n';
138 state.options.debugString += dstream.str();