commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l..@apache.org
Subject svn commit: r782433 - /commons/proper/math/trunk/src/test/org/apache/commons/math/ode/nonstiff/
Date Sun, 07 Jun 2009 19:10:24 GMT
Author: luc
Date: Sun Jun  7 19:10:23 2009
New Revision: 782433

URL: http://svn.apache.org/viewvc?rev=782433&view=rev
Log:
updated step interpolators implementations tests to latest interface changes

Modified:
    commons/proper/math/trunk/src/test/org/apache/commons/math/ode/nonstiff/ClassicalRungeKuttaIntegratorTest.java
    commons/proper/math/trunk/src/test/org/apache/commons/math/ode/nonstiff/EulerStepInterpolatorTest.java
    commons/proper/math/trunk/src/test/org/apache/commons/math/ode/nonstiff/GillIntegratorTest.java
    commons/proper/math/trunk/src/test/org/apache/commons/math/ode/nonstiff/HighamHall54IntegratorTest.java
    commons/proper/math/trunk/src/test/org/apache/commons/math/ode/nonstiff/ThreeEighthesIntegratorTest.java

Modified: commons/proper/math/trunk/src/test/org/apache/commons/math/ode/nonstiff/ClassicalRungeKuttaIntegratorTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/org/apache/commons/math/ode/nonstiff/ClassicalRungeKuttaIntegratorTest.java?rev=782433&r1=782432&r2=782433&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/org/apache/commons/math/ode/nonstiff/ClassicalRungeKuttaIntegratorTest.java
(original)
+++ commons/proper/math/trunk/src/test/org/apache/commons/math/ode/nonstiff/ClassicalRungeKuttaIntegratorTest.java
Sun Jun  7 19:10:23 2009
@@ -189,7 +189,7 @@
       maxError = 0;
     }
     public void handleStep(StepInterpolator interpolator,
-                           boolean isLast) {
+                           boolean isLast) throws DerivativeException {
 
       double[] interpolatedY = interpolator.getInterpolatedState ();
       double[] theoreticalY  = pb.computeTheoreticalState(interpolator.getCurrentTime());

Modified: commons/proper/math/trunk/src/test/org/apache/commons/math/ode/nonstiff/EulerStepInterpolatorTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/org/apache/commons/math/ode/nonstiff/EulerStepInterpolatorTest.java?rev=782433&r1=782432&r2=782433&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/org/apache/commons/math/ode/nonstiff/EulerStepInterpolatorTest.java
(original)
+++ commons/proper/math/trunk/src/test/org/apache/commons/math/ode/nonstiff/EulerStepInterpolatorTest.java
Sun Jun  7 19:10:23 2009
@@ -37,7 +37,7 @@
 public class EulerStepInterpolatorTest {
 
   @Test
-  public void noReset() {
+  public void noReset() throws DerivativeException {
 
     double[]   y    =   { 0.0, 1.0, -2.0 };
     double[][] yDot = { { 1.0, 2.0, -2.0 } };

Modified: commons/proper/math/trunk/src/test/org/apache/commons/math/ode/nonstiff/GillIntegratorTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/org/apache/commons/math/ode/nonstiff/GillIntegratorTest.java?rev=782433&r1=782432&r2=782433&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/org/apache/commons/math/ode/nonstiff/GillIntegratorTest.java
(original)
+++ commons/proper/math/trunk/src/test/org/apache/commons/math/ode/nonstiff/GillIntegratorTest.java
Sun Jun  7 19:10:23 2009
@@ -179,9 +179,9 @@
       maxError = 0;
     }
     public void handleStep(StepInterpolator interpolator,
-                           boolean isLast) {
+                           boolean isLast) throws DerivativeException {
 
-      double[] interpolatedY = interpolator.getInterpolatedState ();
+      double[] interpolatedY = interpolator.getInterpolatedState();
       double[] theoreticalY  = pb.computeTheoreticalState(interpolator.getCurrentTime());
       double dx = interpolatedY[0] - theoreticalY[0];
       double dy = interpolatedY[1] - theoreticalY[1];

Modified: commons/proper/math/trunk/src/test/org/apache/commons/math/ode/nonstiff/HighamHall54IntegratorTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/org/apache/commons/math/ode/nonstiff/HighamHall54IntegratorTest.java?rev=782433&r1=782432&r2=782433&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/org/apache/commons/math/ode/nonstiff/HighamHall54IntegratorTest.java
(original)
+++ commons/proper/math/trunk/src/test/org/apache/commons/math/ode/nonstiff/HighamHall54IntegratorTest.java
Sun Jun  7 19:10:23 2009
@@ -373,10 +373,10 @@
       maxError = 0;
     }
     public void handleStep(StepInterpolator interpolator,
-                           boolean isLast) {
+                           boolean isLast) throws DerivativeException {
 
       ++nbSteps;
-      double[] interpolatedY = interpolator.getInterpolatedState ();
+      double[] interpolatedY = interpolator.getInterpolatedState();
       double[] theoreticalY  = pb.computeTheoreticalState(interpolator.getCurrentTime());
       double dx = interpolatedY[0] - theoreticalY[0];
       double dy = interpolatedY[1] - theoreticalY[1];

Modified: commons/proper/math/trunk/src/test/org/apache/commons/math/ode/nonstiff/ThreeEighthesIntegratorTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/org/apache/commons/math/ode/nonstiff/ThreeEighthesIntegratorTest.java?rev=782433&r1=782432&r2=782433&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/org/apache/commons/math/ode/nonstiff/ThreeEighthesIntegratorTest.java
(original)
+++ commons/proper/math/trunk/src/test/org/apache/commons/math/ode/nonstiff/ThreeEighthesIntegratorTest.java
Sun Jun  7 19:10:23 2009
@@ -174,9 +174,9 @@
     }
 
     public void handleStep(StepInterpolator interpolator,
-                           boolean isLast) {
+                           boolean isLast) throws DerivativeException {
 
-      double[] interpolatedY = interpolator.getInterpolatedState ();
+      double[] interpolatedY = interpolator.getInterpolatedState();
       double[] theoreticalY  = pb.computeTheoreticalState(interpolator.getCurrentTime());
       double dx = interpolatedY[0] - theoreticalY[0];
       double dy = interpolatedY[1] - theoreticalY[1];



Mime
View raw message