Clear EphemerisGenerators from Propagator


In Orekit 10 after calling Propagator.setEphemerisMode() I could call Propagator.setSlaveMode() to stop storing all the intermediate states. How do I do the same in Orekit 11.0? Propagator.clearStepHandlers() doesn’t seem to clear the generators list.


It’s a bug! There is currently no way to remove a generator once added, but their should be a way to do it.
A dedicated clearEphemerisGenerators method should be added.

created #879 for it: Add method to clean ephemeris generators from Propagator (#879) · Issues · Orekit / Orekit · GitLab