File indexing completed on 2025-07-13 08:04:57
0001
0002
0003
0004
0005
0006
0007
0008
0009 #pragma once
0010
0011 #include "Acts/Propagator/NavigatorOptions.hpp"
0012 namespace Acts {
0013
0014 class Surface;
0015
0016
0017
0018
0019
0020
0021 struct VoidNavigator {
0022 struct Config {};
0023
0024 struct Options : public NavigatorPlainOptions {
0025 void setPlainOptions(const NavigatorPlainOptions& options) {
0026 static_cast<NavigatorPlainOptions&>(*this) = options;
0027 }
0028 };
0029
0030
0031 struct State {
0032 Options options;
0033 };
0034
0035 State makeState(const Options& options) const {
0036 State state;
0037 state.options = options;
0038 return state;
0039 }
0040
0041 const Surface* currentSurface(const State& ) const {
0042 return nullptr;
0043 }
0044
0045 const Surface* startSurface(const State& ) const { return nullptr; }
0046
0047 const Surface* targetSurface(const State& ) const { return nullptr; }
0048
0049 bool targetReached(const State& ) const { return false; }
0050
0051 bool navigationBreak(const State& ) const { return false; }
0052
0053 void currentSurface(State& , const Surface* ) const {}
0054
0055 void targetReached(State& , bool ) const {}
0056
0057 void navigationBreak(State& , bool ) const {}
0058
0059
0060
0061
0062
0063
0064
0065 template <typename propagator_state_t, typename stepper_t>
0066 void initialize(propagator_state_t& ,
0067 const stepper_t& ) const {}
0068
0069
0070
0071
0072
0073
0074
0075 template <typename propagator_state_t, typename stepper_t>
0076 void preStep(propagator_state_t& ,
0077 const stepper_t& ) const {}
0078
0079
0080
0081
0082
0083
0084
0085 template <typename propagator_state_t, typename stepper_t>
0086 void postStep(propagator_state_t& ,
0087 const stepper_t& ) const {}
0088 };
0089
0090 }