Commit efc3cabc authored by Bryan Cazabonne's avatar Bryan Cazabonne
Browse files

Updated Hipparchus version to 2.0-SNAPSHOT.

Fixes #587
parent 41613276
Pipeline #1084 passed with stages
in 27 minutes and 1 second
......@@ -2,7 +2,7 @@
<project name="orekit" default="jar" basedir=".">
<property name="project.version" value="10.3" />
<property name="project.version" value="11.0-SNAPSHOT" />
<property name="src.dir" location="src" />
<property name="main.src.dir" value="${src.dir}/main/java" />
......@@ -18,7 +18,7 @@
<property name="lib.dir" location="lib" />
<property name="hipparchus.version" value="1.8" />
<property name="hipparchus.version" value="2.0-SNAPSHOT" />
<property name="hipparchus.core.jar" value="hipparchus-core-${hipparchus.version}.jar" />
<property name="hipparchus.geometry.jar" value="hipparchus-geometry-${hipparchus.version}.jar" />
<property name="hipparchus.ode.jar" value="hipparchus-ode-${hipparchus.version}.jar" />
......
......@@ -50,7 +50,7 @@
<orekit.maven-install-plugin.version>3.0.0-M1</orekit.maven-install-plugin.version>
<orekit.mathjax.config>&lt;script type=&quot;text/x-mathjax-config&quot;&gt;MathJax.Hub.Config({ TeX: { extensions: [&quot;autoload.js&quot;]}});&lt;/script&gt;</orekit.mathjax.config>
<orekit.mathjax.enable>&lt;script type=&quot;text/javascript&quot; src=&quot;https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS_CHTML&quot;&gt;&lt;/script&gt;</orekit.mathjax.enable>
<orekit.hipparchus.version>1.9-SNAPSHOT</orekit.hipparchus.version>
<orekit.hipparchus.version>2.0-SNAPSHOT</orekit.hipparchus.version>
<orekit.junit.version>4.13.1</orekit.junit.version>
<orekit.compiler.source>1.8</orekit.compiler.source>
<orekit.compiler.target>1.8</orekit.compiler.target>
......
......@@ -745,7 +745,7 @@ public class DragForceTest extends AbstractLegacyForceModelTest {
AdaptiveStepsizeFieldIntegrator<DerivativeStructure> integrator =
new DormandPrince853FieldIntegrator<>(field, 0.001, 200, tolerance[0], tolerance[1]);
integrator.setInitialStepSize(zero.add(60));
integrator.setInitialStepSize(60);
AdaptiveStepsizeIntegrator RIntegrator =
new DormandPrince853Integrator(0.001, 200, tolerance[0], tolerance[1]);
RIntegrator.setInitialStepSize(60);
......
......@@ -275,7 +275,7 @@ public class HarmonicAccelerationModelTest extends AbstractForceModelTest {
// (hence mass remains constant)
AdaptiveStepsizeFieldIntegrator<T> integrator0 =
new DormandPrince853FieldIntegrator<>(field, 0.001, 100, tolerance[0], tolerance[1]);
integrator0.setInitialStepSize(field.getZero().add(60));
integrator0.setInitialStepSize(60);
final FieldNumericalPropagator<T> propagator0 = new FieldNumericalPropagator<>(field, integrator0);
propagator0.setInitialState(initialState);
propagator0.setAttitudeProvider(maneuverLaw);
......@@ -287,7 +287,7 @@ public class HarmonicAccelerationModelTest extends AbstractForceModelTest {
// propagator 1 uses a constant acceleration
AdaptiveStepsizeFieldIntegrator<T> integrator1 =
new DormandPrince853FieldIntegrator<>(field, 0.001, 100, tolerance[0], tolerance[1]);
integrator1.setInitialStepSize(field.getZero().add(60));
integrator1.setInitialStepSize(60);
final FieldNumericalPropagator<T> propagator1 = new FieldNumericalPropagator<>(field, integrator1);
propagator1.setInitialState(initialState);
propagator1.setAttitudeProvider(accelerationLaw);
......
......@@ -252,7 +252,7 @@ public class PolynomialAccelerationModelTest extends AbstractForceModelTest {
// (hence mass remains constant)
AdaptiveStepsizeFieldIntegrator<T> integrator0 =
new DormandPrince853FieldIntegrator<>(field, 0.001, 100, tolerance[0], tolerance[1]);
integrator0.setInitialStepSize(field.getZero().add(60));
integrator0.setInitialStepSize(60);
final FieldNumericalPropagator<T> propagator0 = new FieldNumericalPropagator<>(field, integrator0);
propagator0.setInitialState(initialState);
propagator0.setAttitudeProvider(maneuverLaw);
......@@ -264,7 +264,7 @@ public class PolynomialAccelerationModelTest extends AbstractForceModelTest {
// propagator 1 uses a constant acceleration
AdaptiveStepsizeFieldIntegrator<T> integrator1 =
new DormandPrince853FieldIntegrator<>(field, 0.001, 100, tolerance[0], tolerance[1]);
integrator1.setInitialStepSize(field.getZero().add(60));
integrator1.setInitialStepSize(60);
final FieldNumericalPropagator<T> propagator1 = new FieldNumericalPropagator<>(field, integrator1);
propagator1.setInitialState(initialState);
propagator1.setAttitudeProvider(accelerationLaw);
......
......@@ -234,7 +234,6 @@ public class DeSitterRelativityTest extends AbstractLegacyForceModelTest {
Gradient mu = Gradient.constant(freeParameters, Constants.EIGEN5C_EARTH_MU);
Field<Gradient> field = a_0.getField();
Gradient zero = field.getZero();
FieldAbsoluteDate<Gradient> J2000 = new FieldAbsoluteDate<>(field);
......@@ -255,7 +254,7 @@ public class DeSitterRelativityTest extends AbstractLegacyForceModelTest {
AdaptiveStepsizeFieldIntegrator<Gradient> integrator =
new DormandPrince853FieldIntegrator<>(field, 0.001, 200, tolerance[0], tolerance[1]);
integrator.setInitialStepSize(zero.add(60));
integrator.setInitialStepSize(60);
AdaptiveStepsizeIntegrator RIntegrator =
new DormandPrince853Integrator(0.001, 200, tolerance[0], tolerance[1]);
RIntegrator.setInitialStepSize(60);
......
......@@ -502,7 +502,7 @@ public class HolmesFeatherstoneAttractionModelTest extends AbstractLegacyForceMo
AdaptiveStepsizeFieldIntegrator<DerivativeStructure> integrator =
new DormandPrince853FieldIntegrator<>(field, 0.001, 200, tolerance[0], tolerance[1]);
integrator.setInitialStepSize(zero.add(60));
integrator.setInitialStepSize(60);
AdaptiveStepsizeIntegrator RIntegrator =
new DormandPrince853Integrator(0.001, 200, tolerance[0], tolerance[1]);
RIntegrator.setInitialStepSize(60);
......@@ -569,7 +569,7 @@ public class HolmesFeatherstoneAttractionModelTest extends AbstractLegacyForceMo
AdaptiveStepsizeFieldIntegrator<DerivativeStructure> integrator =
new DormandPrince853FieldIntegrator<>(field, 0.001, 200, tolerance[0], tolerance[1]);
integrator.setInitialStepSize(zero.add(60));
integrator.setInitialStepSize(60);
AdaptiveStepsizeIntegrator RIntegrator =
new DormandPrince853Integrator(0.001, 200, tolerance[0], tolerance[1]);
RIntegrator.setInitialStepSize(60);
......
......@@ -186,7 +186,6 @@ public class LenseThirringRelativityTest extends AbstractLegacyForceModelTest {
Gradient mu = Gradient.constant(freeParameters, Constants.EIGEN5C_EARTH_MU);
Field<Gradient> field = a_0.getField();
Gradient zero = field.getZero();
FieldAbsoluteDate<Gradient> J2000 = new FieldAbsoluteDate<>(field);
......@@ -207,7 +206,7 @@ public class LenseThirringRelativityTest extends AbstractLegacyForceModelTest {
AdaptiveStepsizeFieldIntegrator<Gradient> integrator =
new DormandPrince853FieldIntegrator<>(field, 0.001, 200, tolerance[0], tolerance[1]);
integrator.setInitialStepSize(zero.add(60));
integrator.setInitialStepSize(60);
AdaptiveStepsizeIntegrator RIntegrator =
new DormandPrince853Integrator(0.001, 200, tolerance[0], tolerance[1]);
RIntegrator.setInitialStepSize(60);
......
......@@ -268,7 +268,6 @@ public class RelativityTest extends AbstractLegacyForceModelTest {
DerivativeStructure mu = factory.constant(Constants.EIGEN5C_EARTH_MU);
Field<DerivativeStructure> field = a_0.getField();
DerivativeStructure zero = field.getZero();
FieldAbsoluteDate<DerivativeStructure> J2000 = new FieldAbsoluteDate<>(field);
......@@ -289,7 +288,7 @@ public class RelativityTest extends AbstractLegacyForceModelTest {
AdaptiveStepsizeFieldIntegrator<DerivativeStructure> integrator =
new DormandPrince853FieldIntegrator<>(field, 0.001, 200, tolerance[0], tolerance[1]);
integrator.setInitialStepSize(zero.add(60));
integrator.setInitialStepSize(60);
AdaptiveStepsizeIntegrator RIntegrator =
new DormandPrince853Integrator(0.001, 200, tolerance[0], tolerance[1]);
RIntegrator.setInitialStepSize(60);
......@@ -331,7 +330,6 @@ public class RelativityTest extends AbstractLegacyForceModelTest {
Gradient mu = Gradient.constant(freeParameters, Constants.EIGEN5C_EARTH_MU);
Field<Gradient> field = a_0.getField();
Gradient zero = field.getZero();
FieldAbsoluteDate<Gradient> J2000 = new FieldAbsoluteDate<>(field);
......@@ -352,7 +350,7 @@ public class RelativityTest extends AbstractLegacyForceModelTest {
AdaptiveStepsizeFieldIntegrator<Gradient> integrator =
new DormandPrince853FieldIntegrator<>(field, 0.001, 200, tolerance[0], tolerance[1]);
integrator.setInitialStepSize(zero.add(60));
integrator.setInitialStepSize(60);
AdaptiveStepsizeIntegrator RIntegrator =
new DormandPrince853Integrator(0.001, 200, tolerance[0], tolerance[1]);
RIntegrator.setInitialStepSize(60);
......@@ -413,7 +411,7 @@ public class RelativityTest extends AbstractLegacyForceModelTest {
AdaptiveStepsizeFieldIntegrator<DerivativeStructure> integrator =
new DormandPrince853FieldIntegrator<>(field, 0.001, 200, tolerance[0], tolerance[1]);
integrator.setInitialStepSize(zero.add(60));
integrator.setInitialStepSize(60);
AdaptiveStepsizeIntegrator RIntegrator =
new DormandPrince853Integrator(0.001, 200, tolerance[0], tolerance[1]);
RIntegrator.setInitialStepSize(60);
......
......@@ -140,7 +140,6 @@ public class SingleBodyAbsoluteAttractionTest extends AbstractLegacyForceModelTe
DerivativeStructure mu = factory.constant(Constants.EIGEN5C_EARTH_MU);
Field<DerivativeStructure> field = a_0.getField();
DerivativeStructure zero = field.getZero();
FieldAbsoluteDate<DerivativeStructure> J2000 = new FieldAbsoluteDate<>(field);
......@@ -161,7 +160,7 @@ public class SingleBodyAbsoluteAttractionTest extends AbstractLegacyForceModelTe
AdaptiveStepsizeFieldIntegrator<DerivativeStructure> integrator =
new DormandPrince853FieldIntegrator<>(field, 0.001, 200, tolerance[0], tolerance[1]);
integrator.setInitialStepSize(zero.add(60));
integrator.setInitialStepSize(60);
AdaptiveStepsizeIntegrator RIntegrator =
new DormandPrince853Integrator(0.001, 200, tolerance[0], tolerance[1]);
RIntegrator.setInitialStepSize(60);
......@@ -197,7 +196,6 @@ public class SingleBodyAbsoluteAttractionTest extends AbstractLegacyForceModelTe
Gradient mu = Gradient.constant(freeParameters, Constants.EIGEN5C_EARTH_MU);
Field<Gradient> field = a_0.getField();
Gradient zero = field.getZero();
FieldAbsoluteDate<Gradient> J2000 = new FieldAbsoluteDate<>(field);
......@@ -218,7 +216,7 @@ public class SingleBodyAbsoluteAttractionTest extends AbstractLegacyForceModelTe
AdaptiveStepsizeFieldIntegrator<Gradient> integrator =
new DormandPrince853FieldIntegrator<>(field, 0.001, 200, tolerance[0], tolerance[1]);
integrator.setInitialStepSize(zero.add(60));
integrator.setInitialStepSize(60);
AdaptiveStepsizeIntegrator RIntegrator =
new DormandPrince853Integrator(0.001, 200, tolerance[0], tolerance[1]);
RIntegrator.setInitialStepSize(60);
......@@ -274,7 +272,7 @@ public class SingleBodyAbsoluteAttractionTest extends AbstractLegacyForceModelTe
AdaptiveStepsizeFieldIntegrator<DerivativeStructure> integrator =
new DormandPrince853FieldIntegrator<>(field, 0.001, 200, tolerance[0], tolerance[1]);
integrator.setInitialStepSize(zero.add(60));
integrator.setInitialStepSize(60);
AdaptiveStepsizeIntegrator RIntegrator =
new DormandPrince853Integrator(0.001, 200, tolerance[0], tolerance[1]);
RIntegrator.setInitialStepSize(60);
......
......@@ -142,7 +142,6 @@ public class SingleBodyRelativeAttractionTest extends AbstractLegacyForceModelTe
DerivativeStructure mu = factory.constant(Constants.EIGEN5C_EARTH_MU);
Field<DerivativeStructure> field = a_0.getField();
DerivativeStructure zero = field.getZero();
FieldAbsoluteDate<DerivativeStructure> J2000 = new FieldAbsoluteDate<>(field);
......@@ -163,7 +162,7 @@ public class SingleBodyRelativeAttractionTest extends AbstractLegacyForceModelTe
AdaptiveStepsizeFieldIntegrator<DerivativeStructure> integrator =
new DormandPrince853FieldIntegrator<>(field, 0.001, 200, tolerance[0], tolerance[1]);
integrator.setInitialStepSize(zero.add(60));
integrator.setInitialStepSize(60);
AdaptiveStepsizeIntegrator RIntegrator =
new DormandPrince853Integrator(0.001, 200, tolerance[0], tolerance[1]);
RIntegrator.setInitialStepSize(60);
......@@ -199,7 +198,6 @@ public class SingleBodyRelativeAttractionTest extends AbstractLegacyForceModelTe
Gradient mu = Gradient.constant(freeParameters, Constants.EIGEN5C_EARTH_MU);
Field<Gradient> field = a_0.getField();
Gradient zero = field.getZero();
FieldAbsoluteDate<Gradient> J2000 = new FieldAbsoluteDate<>(field);
......@@ -220,7 +218,7 @@ public class SingleBodyRelativeAttractionTest extends AbstractLegacyForceModelTe
AdaptiveStepsizeFieldIntegrator<Gradient> integrator =
new DormandPrince853FieldIntegrator<>(field, 0.001, 200, tolerance[0], tolerance[1]);
integrator.setInitialStepSize(zero.add(60));
integrator.setInitialStepSize(60);
AdaptiveStepsizeIntegrator RIntegrator =
new DormandPrince853Integrator(0.001, 200, tolerance[0], tolerance[1]);
RIntegrator.setInitialStepSize(60);
......@@ -276,7 +274,7 @@ public class SingleBodyRelativeAttractionTest extends AbstractLegacyForceModelTe
AdaptiveStepsizeFieldIntegrator<DerivativeStructure> integrator =
new DormandPrince853FieldIntegrator<>(field, 0.001, 200, tolerance[0], tolerance[1]);
integrator.setInitialStepSize(zero.add(60));
integrator.setInitialStepSize(60);
AdaptiveStepsizeIntegrator RIntegrator =
new DormandPrince853Integrator(0.001, 200, tolerance[0], tolerance[1]);
RIntegrator.setInitialStepSize(60);
......
......@@ -187,7 +187,6 @@ public class ThirdBodyAttractionTest extends AbstractLegacyForceModelTest {
DerivativeStructure mu = factory.constant(Constants.EIGEN5C_EARTH_MU);
Field<DerivativeStructure> field = a_0.getField();
DerivativeStructure zero = field.getZero();
FieldAbsoluteDate<DerivativeStructure> J2000 = new FieldAbsoluteDate<>(field);
......@@ -208,7 +207,7 @@ public class ThirdBodyAttractionTest extends AbstractLegacyForceModelTest {
AdaptiveStepsizeFieldIntegrator<DerivativeStructure> integrator =
new DormandPrince853FieldIntegrator<>(field, 0.001, 200, tolerance[0], tolerance[1]);
integrator.setInitialStepSize(zero.add(60));
integrator.setInitialStepSize(60);
AdaptiveStepsizeIntegrator RIntegrator =
new DormandPrince853Integrator(0.001, 200, tolerance[0], tolerance[1]);
RIntegrator.setInitialStepSize(60);
......@@ -249,7 +248,6 @@ public class ThirdBodyAttractionTest extends AbstractLegacyForceModelTest {
Gradient mu = Gradient.constant(freeParameters, Constants.EIGEN5C_EARTH_MU);
Field<Gradient> field = a_0.getField();
Gradient zero = field.getZero();
FieldAbsoluteDate<Gradient> J2000 = new FieldAbsoluteDate<>(field);
......@@ -270,7 +268,7 @@ public class ThirdBodyAttractionTest extends AbstractLegacyForceModelTest {
AdaptiveStepsizeFieldIntegrator<Gradient> integrator =
new DormandPrince853FieldIntegrator<>(field, 0.001, 200, tolerance[0], tolerance[1]);
integrator.setInitialStepSize(zero.add(60));
integrator.setInitialStepSize(60);
AdaptiveStepsizeIntegrator RIntegrator =
new DormandPrince853Integrator(0.001, 200, tolerance[0], tolerance[1]);
RIntegrator.setInitialStepSize(60);
......@@ -330,7 +328,7 @@ public class ThirdBodyAttractionTest extends AbstractLegacyForceModelTest {
AdaptiveStepsizeFieldIntegrator<DerivativeStructure> integrator =
new DormandPrince853FieldIntegrator<>(field, 0.001, 200, tolerance[0], tolerance[1]);
integrator.setInitialStepSize(zero.add(60));
integrator.setInitialStepSize(60);
AdaptiveStepsizeIntegrator RIntegrator =
new DormandPrince853Integrator(0.001, 200, tolerance[0], tolerance[1]);
RIntegrator.setInitialStepSize(60);
......
......@@ -199,7 +199,7 @@ public class InertialForcesTest extends AbstractLegacyForceModelTest {
final double maxstep = 3600.0;
Field<DerivativeStructure> field = fpx.getField();
DerivativeStructure zero = field.getZero();
FieldAbsoluteDate<DerivativeStructure> J2000 = new FieldAbsoluteDate<>(field);
Frame EME = FramesFactory.getEME2000();
......@@ -229,7 +229,7 @@ public class InertialForcesTest extends AbstractLegacyForceModelTest {
new DormandPrince853FieldIntegrator<>(field,minStep, maxstep,
vecAbsoluteTolerances,
vecRelativeTolerances);
integrator.setInitialStepSize(zero.add(60));
integrator.setInitialStepSize(60);
AdaptiveStepsizeIntegrator RIntegrator =
new DormandPrince853Integrator(minStep, maxstep,
vecAbsoluteTolerances,
......
......@@ -362,7 +362,7 @@ public class ConstantThrustManeuverTest extends AbstractLegacyForceModelTest {
AdaptiveStepsizeFieldIntegrator<DerivativeStructure> integrator =
new DormandPrince853FieldIntegrator<>(field, 0.001, 200, tolerance[0], tolerance[1]);
integrator.setInitialStepSize(zero.add(60));
integrator.setInitialStepSize(60);
AdaptiveStepsizeIntegrator RIntegrator =
new DormandPrince853Integrator(0.001, 200, tolerance[0], tolerance[1]);
RIntegrator.setInitialStepSize(60);
......@@ -424,7 +424,7 @@ public class ConstantThrustManeuverTest extends AbstractLegacyForceModelTest {
AdaptiveStepsizeFieldIntegrator<Gradient> integrator =
new DormandPrince853FieldIntegrator<>(field, 0.001, 200, tolerance[0], tolerance[1]);
integrator.setInitialStepSize(zero.add(60));
integrator.setInitialStepSize(60);
AdaptiveStepsizeIntegrator RIntegrator =
new DormandPrince853Integrator(0.001, 200, tolerance[0], tolerance[1]);
RIntegrator.setInitialStepSize(60);
......@@ -485,7 +485,7 @@ public class ConstantThrustManeuverTest extends AbstractLegacyForceModelTest {
AdaptiveStepsizeFieldIntegrator<DerivativeStructure> integrator =
new DormandPrince853FieldIntegrator<>(field, 0.001, 200, tolerance[0], tolerance[1]);
integrator.setInitialStepSize(zero.add(60));
integrator.setInitialStepSize(60);
AdaptiveStepsizeIntegrator RIntegrator =
new DormandPrince853Integrator(0.001, 200, tolerance[0], tolerance[1]);
RIntegrator.setInitialStepSize(60);
......
......@@ -655,7 +655,7 @@ public class SolarRadiationPressureTest extends AbstractLegacyForceModelTest {
double[][] tolerance = NumericalPropagator.tolerances(10.0, FKO.toOrbit(), type);
AdaptiveStepsizeFieldIntegrator<DerivativeStructure> integrator =
new DormandPrince853FieldIntegrator<>(field, 0.001, 200, tolerance[0], tolerance[1]);
integrator.setInitialStepSize(zero.add(60));
integrator.setInitialStepSize(60);
AdaptiveStepsizeIntegrator RIntegrator =
new DormandPrince853Integrator(0.001, 200, tolerance[0], tolerance[1]);
......@@ -726,7 +726,7 @@ public class SolarRadiationPressureTest extends AbstractLegacyForceModelTest {
AdaptiveStepsizeFieldIntegrator<DerivativeStructure> integrator =
new DormandPrince853FieldIntegrator<>(field, 0.001, 200, tolerance[0], tolerance[1]);
integrator.setInitialStepSize(zero.add(60));
integrator.setInitialStepSize(60);
AdaptiveStepsizeIntegrator RIntegrator =
new DormandPrince853Integrator(0.001, 200, tolerance[0], tolerance[1]);
RIntegrator.setInitialStepSize(60);
......
......@@ -53,7 +53,7 @@ public class FieldCloseEventsNumericalABTest extends FieldCloseEventsAbstractTes
final DormandPrince853FieldIntegrator<Decimal64> starter =
new DormandPrince853FieldIntegrator<>(
field, stepSize / 100, stepSize / 10, tol[0], tol[1]);
starter.setInitialStepSize(v(stepSize / 20));
starter.setInitialStepSize(stepSize / 20);
integrator.setStarterIntegrator(starter);
final FieldNumericalPropagator<Decimal64> propagator =
new FieldNumericalPropagator<>(field, integrator);
......
......@@ -55,7 +55,7 @@ public class FieldCloseEventsNumericalAMTest extends FieldCloseEventsAbstractTes
final DormandPrince853FieldIntegrator<Decimal64> starter =
new DormandPrince853FieldIntegrator<>(
field, stepSize / 100, stepSize / 10, tol[0], tol[1]);
starter.setInitialStepSize(v(stepSize / 20));
starter.setInitialStepSize(stepSize / 20);
integrator.setStarterIntegrator(starter);
final FieldNumericalPropagator<Decimal64> propagator = new FieldNumericalPropagator<>(field, integrator);
propagator.setInitialState(new FieldSpacecraftState<>(initialOrbit));
......
......@@ -89,7 +89,7 @@ public class FieldDateDetectorTest {
};
AdaptiveStepsizeFieldIntegrator<T> integrator =
new DormandPrince853FieldIntegrator<>(field, 0.001, 1000, absTolerance, relTolerance);
integrator.setInitialStepSize(zero.add(60));
integrator.setInitialStepSize(60);
FieldNumericalPropagator<T> propagator = new FieldNumericalPropagator<>(field, integrator);
propagator.setOrbitType(OrbitType.EQUINOCTIAL);
propagator.setInitialState(initialState);
......@@ -120,7 +120,7 @@ public class FieldDateDetectorTest {
};
AdaptiveStepsizeFieldIntegrator<T> integrator =
new DormandPrince853FieldIntegrator<>(field, 0.001, 1000, absTolerance, relTolerance);
integrator.setInitialStepSize(zero.add(60));
integrator.setInitialStepSize(60);
FieldNumericalPropagator<T> propagator = new FieldNumericalPropagator<>(field, integrator);
propagator.setOrbitType(OrbitType.EQUINOCTIAL);
propagator.setInitialState(initialState);
......@@ -164,7 +164,7 @@ public class FieldDateDetectorTest {
};
AdaptiveStepsizeFieldIntegrator<T> integrator =
new DormandPrince853FieldIntegrator<>(field, 0.001, 1000, absTolerance, relTolerance);
integrator.setInitialStepSize(zero.add(60));
integrator.setInitialStepSize(60);
FieldNumericalPropagator<T> propagator = new FieldNumericalPropagator<>(field, integrator);
propagator.setOrbitType(OrbitType.EQUINOCTIAL);
propagator.setInitialState(initialState);
......@@ -202,7 +202,7 @@ public class FieldDateDetectorTest {
};
AdaptiveStepsizeFieldIntegrator<T> integrator =
new DormandPrince853FieldIntegrator<>(field, 0.001, 1000, absTolerance, relTolerance);
integrator.setInitialStepSize(zero.add(60));
integrator.setInitialStepSize(60);
FieldNumericalPropagator<T> propagator = new FieldNumericalPropagator<>(field, integrator);
propagator.setOrbitType(OrbitType.EQUINOCTIAL);
propagator.setInitialState(initialState);
......@@ -243,7 +243,7 @@ public class FieldDateDetectorTest {
};
AdaptiveStepsizeFieldIntegrator<T> integrator =
new DormandPrince853FieldIntegrator<>(field, 0.001, 1000, absTolerance, relTolerance);
integrator.setInitialStepSize(zero.add(60));
integrator.setInitialStepSize(60);
FieldNumericalPropagator<T> propagator = new FieldNumericalPropagator<>(field, integrator);
propagator.setOrbitType(OrbitType.EQUINOCTIAL);
propagator.setInitialState(initialState);
......
......@@ -143,7 +143,7 @@ public class FieldEclipseDetectorTest {
};
AdaptiveStepsizeFieldIntegrator<T> integrator =
new DormandPrince853FieldIntegrator<>(field, 0.001, 1000, absTolerance, relTolerance);
integrator.setInitialStepSize(field.getZero().add(60.));
integrator.setInitialStepSize(60.);
FieldNumericalPropagator<T> propagator = new FieldNumericalPropagator<>(field, integrator);
propagator.setOrbitType(OrbitType.EQUINOCTIAL);
propagator.setInitialState(initialState);
......@@ -177,7 +177,7 @@ public class FieldEclipseDetectorTest {
};
AdaptiveStepsizeFieldIntegrator<T> integrator =
new DormandPrince853FieldIntegrator<>(field, 0.001, 1000, absTolerance, relTolerance);
integrator.setInitialStepSize(field.getZero().add(60));
integrator.setInitialStepSize(60);
FieldNumericalPropagator<T> propagator = new FieldNumericalPropagator<>(field, integrator);
propagator.setOrbitType(OrbitType.EQUINOCTIAL);
propagator.setInitialState(initialState);
......@@ -218,7 +218,7 @@ public class FieldEclipseDetectorTest {
};
AdaptiveStepsizeFieldIntegrator<T> integrator =
new DormandPrince853FieldIntegrator<>(field, 0.001, 1000, absTolerance, relTolerance);
integrator.setInitialStepSize(field.getZero().add(60));
integrator.setInitialStepSize(60);
FieldNumericalPropagator<T> propagator = new FieldNumericalPropagator<>(field, integrator);
propagator.setOrbitType(OrbitType.EQUINOCTIAL);
propagator.setInitialState(initialState);
......@@ -258,7 +258,7 @@ public class FieldEclipseDetectorTest {
};
AdaptiveStepsizeFieldIntegrator<T> integrator =
new DormandPrince853FieldIntegrator<>(field, 0.001, 1000, absTolerance, relTolerance);
integrator.setInitialStepSize(field.getZero().add(60));
integrator.setInitialStepSize(60);
FieldNumericalPropagator<T> propagator = new FieldNumericalPropagator<>(field, integrator);
propagator.setOrbitType(OrbitType.EQUINOCTIAL);
propagator.setInitialState(initialState);
......@@ -300,7 +300,7 @@ public class FieldEclipseDetectorTest {
};
AdaptiveStepsizeFieldIntegrator<T> integrator =
new DormandPrince853FieldIntegrator<>(field, 0.001, 1000, absTolerance, relTolerance);
integrator.setInitialStepSize(field.getZero().add(60));
integrator.setInitialStepSize(60);
FieldNumericalPropagator<T> propagator = new FieldNumericalPropagator<>(field, integrator);
propagator.setOrbitType(OrbitType.EQUINOCTIAL);
propagator.setInitialState(initialState);
......
......@@ -99,7 +99,7 @@ public class FieldEventsLoggerTest {
};
AdaptiveStepsizeFieldIntegrator<T> integrator =
new DormandPrince853FieldIntegrator<>(field, 0.001, 1000, absTolerance, relTolerance);
integrator.setInitialStepSize(field.getZero().add(60));
integrator.setInitialStepSize(60);
FieldNumericalPropagator<T> propagator = new FieldNumericalPropagator<>(field, integrator);
propagator.setOrbitType(OrbitType.EQUINOCTIAL);
propagator.setInitialState(initialState);
......@@ -144,7 +144,7 @@ public class FieldEventsLoggerTest {
};
AdaptiveStepsizeFieldIntegrator<T> integrator =
new DormandPrince853FieldIntegrator<>(field, 0.001, 1000, absTolerance, relTolerance);
integrator.setInitialStepSize(field.getZero().add(60));
integrator.setInitialStepSize(60);
FieldNumericalPropagator<T> propagator = new FieldNumericalPropagator<>(field, integrator);
propagator.setOrbitType(OrbitType.EQUINOCTIAL);
propagator.setInitialState(initialState);
......@@ -180,7 +180,7 @@ public class FieldEventsLoggerTest {
};
AdaptiveStepsizeFieldIntegrator<T> integrator =
new DormandPrince853FieldIntegrator<>(field, 0.001, 1000, absTolerance, relTolerance);
integrator.setInitialStepSize(field.getZero().add(60));
integrator.setInitialStepSize(60);
FieldNumericalPropagator<T> propagator = new FieldNumericalPropagator<>(field, integrator);
propagator.setOrbitType(OrbitType.EQUINOCTIAL);
propagator.setInitialState(initialState);
......@@ -224,7 +224,7 @@ public class FieldEventsLoggerTest {
};
AdaptiveStepsizeFieldIntegrator<T> integrator =
new DormandPrince853FieldIntegrator<>(field, 0.001, 1000, absTolerance, relTolerance);
integrator.setInitialStepSize(field.getZero().add(60));
integrator.setInitialStepSize(60);
FieldNumericalPropagator<T> propagator = new FieldNumericalPropagator<>(field, integrator);
propagator.setOrbitType(OrbitType.EQUINOCTIAL);
propagator.setInitialState(initialState);
......@@ -280,7 +280,7 @@ public class FieldEventsLoggerTest {
};
AdaptiveStepsizeFieldIntegrator<T> integrator =
new DormandPrince853FieldIntegrator<>(field, 0.001, 1000, absTolerance, relTolerance);
integrator.setInitialStepSize(field.getZero().add(60));
integrator.setInitialStepSize(60);
FieldNumericalPropagator<T> propagator = new FieldNumericalPropagator<>(field, integrator);
propagator.setOrbitType(OrbitType.EQUINOCTIAL);
propagator.setInitialState(initialState);
......
Markdown is supported
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