commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l..@apache.org
Subject svn commit: r674821 - /commons/proper/math/branches/MATH_2_0/src/test/org/apache/commons/math/ode/nonstiff/TestProblemHandler.java
Date Tue, 08 Jul 2008 13:39:27 GMT
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();



Mime
View raw message