Refactoring ForceModel and DSSTForceModel
Following this forum thread, ForceModel
and DSSTForceModel
should be refactored for 12.0.
-
ParameterDriver
-related methods could go up in interfaceParametersDriversProvider
(this could also reduce duplications inDiscreteTroposphericModel
andIonosphericModel
). -
get(Field)EventDetectors
methods could be gathered in an interfaceEventDetectorsprovider
that both force models would implement (following @bryan suggestion) - Javadoc of the previous interface should stress the fact that these methods are not intended to be called several times, only once by the propagator, as it has a side effect of rebuilding the events detectors when called (following @luc suggestion)
- Signature of
get(Field)EventDetectors
should return either aStream
or, if possible, anIterable
(following @luc suggestion) -
init
methods should stay as they are in both interfaces since their signatures may be different in the future (see @bryan suggestion)