Exception when event on start or end date of IntegratedEphemeris
When an event is near the boundary and the duration between the start date and then end date rounds up when expressed as a double then an exception occurs similar to: org.orekit.errors.PropagationException: out of range date for ephemerides: 2000-01-01T12:00:35.816, [2000-01-01T11:58:55.816, 2000-01-01T12:00:35.816] This is because the root solver used to find events expresses time as a double.
I will fix by using a comparison of doubles to test whether a point is contained instead of the more accurate AbsoluteDate comparison. The error will be at most half an ulp of the the propagation duration.
(from redmine: issue id 238, created on 2016-04-11, closed on 2016-06-29)
- Changesets:
- Revision 70f1527d by Evan Ward on 2016-04-11T13:34:53Z:
Fix events near ends of IntegratedEphemeris
Fixed a precision issue for event finding near the ends of the interval of a
generated ephemeris. Fixes #238
- Revision 70f1527d by Evan Ward on 2016-04-11T13:34:53Z:
Fix events near ends of IntegratedEphemeris
Fixed a precision issue for event finding near the ends of the interval of a
generated ephemeris. Fixes #238
- Revision 70f1527d by Evan Ward on 2016-04-11T13:34:53Z:
Fix events near ends of IntegratedEphemeris
Fixed a precision issue for event finding near the ends of the interval of a
generated ephemeris. Fixes #238
- Revision 70f1527d by Evan Ward on 2016-04-11T13:34:53Z:
Fix events near ends of IntegratedEphemeris
Fixed a precision issue for event finding near the ends of the interval of a
generated ephemeris. Fixes #238
- Revision 70f1527d by Evan Ward on 2016-04-11T13:34:53Z:
Fix events near ends of IntegratedEphemeris
Fixed a precision issue for event finding near the ends of the interval of a
generated ephemeris. Fixes #238