List of usage examples for org.apache.commons.math3.ode.nonstiff DormandPrince54Integrator DormandPrince54Integrator
public DormandPrince54Integrator(final double minStep, final double maxStep, final double[] vecAbsoluteTolerance, final double[] vecRelativeTolerance)
From source file:de.tuberlin.uebb.jdae.simulation.DefaultSimulationRuntime.java
@Override public SimulationOptions simulateVariableStep(ExecutableDAE dae, double stop_time, double minStep, double maxStep, double absoluteTolerance, double relativeTolerance) { final FirstOrderIntegrator i = new DormandPrince54Integrator(minStep, maxStep, absoluteTolerance, relativeTolerance);/*from www .j a va2s.c o m*/ final SimulationOptions options = new SimulationOptions(0.0, stop_time, absoluteTolerance, minStep, maxStep, i, new TObjectDoubleHashMap<Unknown>()); simulate(dae.withOptions(options)); return options; }
From source file:org.orekit.propagation.conversion.DormandPrince54IntegratorBuilder.java
/** {@inheritDoc} */ public AbstractIntegrator buildIntegrator(final Orbit orbit) throws PropagationException { final double[][] tol = NumericalPropagator.tolerances(dP, orbit, OrbitType.CARTESIAN); return new DormandPrince54Integrator(minStep, maxStep, tol[0], tol[1]); }
From source file:ummisco.gaml.extensions.maths.ode.utils.solver.DormandPrince54Solver.java
public DormandPrince54Solver(final double minStep, final double maxStep, final double scalAbsoluteTolerance, final double scalRelativeTolerance, final GamaMap<String, IList<Double>> integrated_val) { super((minStep + maxStep) / 2, new DormandPrince54Integrator(minStep, maxStep, scalAbsoluteTolerance, scalRelativeTolerance), integrated_val); }