use of org.hipparchus.ode.nonstiff.DormandPrince54Integrator in project Orekit by CS-SI.
the class PartialDerivativesEquationsTest method setUp.
/**
* set up {@link #pde} and dependencies.
*
* @throws OrekitException on error
*/
@Before
public void setUp() throws OrekitException {
propagator = new NumericalPropagator(new DormandPrince54Integrator(1, 500, 0.001, 0.001));
forceModel = new MockForceModel();
propagator.addForceModel(forceModel);
pde = new PartialDerivativesEquations("pde", propagator);
Vector3D p = new Vector3D(7378137, 0, 0);
Vector3D v = new Vector3D(0, 7500, 0);
pv = new PVCoordinates(p, v);
state = new SpacecraftState(new CartesianOrbit(pv, eci, date, gm)).addAdditionalState("pde", new double[2 * 3 * 6]);
pde.setInitialJacobians(state);
}
Aggregations