You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by lu...@apache.org on 2008/07/08 15:39:27 UTC
svn commit: r674821 -
/commons/proper/math/branches/MATH_2_0/src/test/org/apache/commons/math/ode/nonstiff/TestProblemHandler.java
Author: luc
Date: Tue Jul 8 06:39:27 2008
New Revision: 674821
URL: http://svn.apache.org/viewvc?rev=674821&view=rev
Log:
introduced an upper level interface for all ODE integrators
Modified:
commons/proper/math/branches/MATH_2_0/src/test/org/apache/commons/math/ode/nonstiff/TestProblemHandler.java
Modified: commons/proper/math/branches/MATH_2_0/src/test/org/apache/commons/math/ode/nonstiff/TestProblemHandler.java
URL: http://svn.apache.org/viewvc/commons/proper/math/branches/MATH_2_0/src/test/org/apache/commons/math/ode/nonstiff/TestProblemHandler.java?rev=674821&r1=674820&r2=674821&view=diff
==============================================================================
--- commons/proper/math/branches/MATH_2_0/src/test/org/apache/commons/math/ode/nonstiff/TestProblemHandler.java (original)
+++ commons/proper/math/branches/MATH_2_0/src/test/org/apache/commons/math/ode/nonstiff/TestProblemHandler.java Tue Jul 8 06:39:27 2008
@@ -18,7 +18,7 @@
package org.apache.commons.math.ode.nonstiff;
import org.apache.commons.math.ode.DerivativeException;
-import org.apache.commons.math.ode.FirstOrderIntegrator;
+import org.apache.commons.math.ode.ODEIntegrator;
import org.apache.commons.math.ode.sampling.StepHandler;
import org.apache.commons.math.ode.sampling.StepInterpolator;
@@ -30,9 +30,9 @@
implements StepHandler {
/** Serializable version identifier. */
- private static final long serialVersionUID = 3589490480549900461L;
+ private static final long serialVersionUID = 3589490480549900461L;
-/** Associated problem. */
+ /** Associated problem. */
private TestProblemAbstract problem;
/** Maximal errors encountered during the integration. */
@@ -46,7 +46,7 @@
private double lastTime;
/** ODE solver used. */
- private FirstOrderIntegrator integrator;
+ private ODEIntegrator integrator;
/** Expected start for step. */
private double expectedStepStart;
@@ -56,7 +56,7 @@
* @param problem problem for which steps should be handled
* @param integrator ODE solver used
*/
- public TestProblemHandler(TestProblemAbstract problem, FirstOrderIntegrator integrator) {
+ public TestProblemHandler(TestProblemAbstract problem, ODEIntegrator integrator) {
this.problem = problem;
this.integrator = integrator;
reset();