Hello all,

I am using the FieldNumericalPropagator in Master mode with a simple FieldEventDetector that stops the integration at the first occurrence (eventOccurred always returns Action.STOP) and I am looking for a particular implementation of the detector to do the following:

- check for an occurrence at each integrator-defined propagation step without limits on its size
- trigger Action.STOP each time an event occurs
- do NOT trigger any root finding algorithm to precisely locate the event in time
- retrieve the SpacecraftState (date, coordinates) at the last integration step just before the event has been triggered (normally the second-to-last step of the integrator when stopped by the step handler)

Also, the G function of the event detector is a switching function assuming only 2 discrete values (+1, -1) and is not continuous since I do not need to precisely locate the event.

Is it possible to implement such kind of detector (I am particularly interested in point 4) ?

Thank you very much,

Alberto