Interpolators are not thread safe
Hi everyone,
@luc found that the Ephemeris
class is not thread safe. After investigation, it is due to the line 360 in Ephemeris
:
final SpacecraftState evaluatedState = stateInterpolator.interpolate(date, states);
Indeed, the "interpolate" method overwrites the cache which can then cause the "neighborList" to not be consistent anymore. It means that all interpolators are currently not thread safe.
I'm working on it.
Cheers, Vincent
Edited by Vincent CUCCHIETTI