Commit 047035a2 authored by Luc Maisonobe's avatar Luc Maisonobe
Browse files

Bumped again too stringent Eckstein-Hechler convergence threshold.

parent b635fce4
Pipeline #2094 passed with stages
in 14 minutes and 52 seconds
......@@ -562,7 +562,7 @@ public class EcksteinHechlerPropagator extends AbstractAnalyticalPropagator {
EHModel current = new EHModel(osculating, mass, referenceRadius, mu, ck0);
// threshold for each parameter
final double epsilon = 1.0e-13;
final double epsilon = 1.0e-11;
final double thresholdA = epsilon * (1 + FastMath.abs(current.mean.getA()));
final double thresholdE = epsilon * (1 + current.mean.getE());
final double thresholdAngles = epsilon * MathUtils.TWO_PI;
......
......@@ -578,7 +578,7 @@ public class EcksteinHechlerPropagatorTest {
// it was in fact reconstructed from Cartesian coordinates
double computationErrorV = Vector3D.distance(referenceV, computedV);
double nonKeplerianEffectV = Vector3D.distance(referenceV, keplerianV);
Assert.assertEquals(nonKeplerianEffectV, computationErrorV, 9.0e-13);
Assert.assertEquals(nonKeplerianEffectV, computationErrorV, 2.0e-12);
Assert.assertEquals(2.2e-4, computationErrorV, 3.0e-6);
// perturbed orbit acceleration should be different from Keplerian orbit because
......@@ -586,7 +586,7 @@ public class EcksteinHechlerPropagatorTest {
// perturbed orbit acceleration should be consistent with position evolution
double computationErrorA = Vector3D.distance(referenceA, computedA);
double nonKeplerianEffectA = Vector3D.distance(referenceA, keplerianA);
Assert.assertEquals(1.0e-7, computationErrorA, 6.0e-9);
Assert.assertEquals(8.0e-8, computationErrorA, 2.0e-9);
Assert.assertEquals(6.37e-3, nonKeplerianEffectA, 7.0e-6);
Assert.assertTrue(computationErrorA < nonKeplerianEffectA / 60000);
......
......@@ -98,7 +98,7 @@ public class EcksteinHechlerStateTransitionMatrixTest {
for (int j = 0; j < 6; ++j) {
if (stateVector[i] != 0) {
double error = FastMath.abs((dYdY0.getEntry(i, j) - dYdY0Ref[i][j]) / stateVector[i]) * steps[j];
Assert.assertEquals(0, error, 6.01e-14);
Assert.assertEquals(0, error, 6.9e-14);
}
}
}
......
......@@ -90,7 +90,7 @@ public class LongitudeCrossingDetectorTest {
SpacecraftState state = e.getState();
double longitude = earth.transform(state.getPVCoordinates(earth.getBodyFrame()).getPosition(),
earth.getBodyFrame(), null).getLongitude();
Assert.assertEquals(10.0, FastMath.toDegrees(longitude), 1.6e-7);
Assert.assertEquals(10.0, FastMath.toDegrees(longitude), 3.5e-7);
if (previous != null) {
// same time interval regardless of increasing/decreasing,
// as increasing/decreasing flag is irrelevant for this detector
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment