Return-Path: Delivered-To: apmail-commons-commits-archive@locus.apache.org Received: (qmail 86475 invoked from network); 8 Jul 2008 13:39:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Jul 2008 13:39:50 -0000 Received: (qmail 5995 invoked by uid 500); 8 Jul 2008 13:39:49 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 5943 invoked by uid 500); 8 Jul 2008 13:39:49 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 5934 invoked by uid 99); 8 Jul 2008 13:39:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jul 2008 06:39:49 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jul 2008 13:39:06 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 197E523889C4; Tue, 8 Jul 2008 06:39:28 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: commits@commons.apache.org From: luc@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080708133928.197E523889C4@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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();