Return-Path: Delivered-To: apmail-commons-commits-archive@minotaur.apache.org Received: (qmail 90369 invoked from network); 4 Mar 2010 20:50:41 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 4 Mar 2010 20:50:41 -0000 Received: (qmail 43122 invoked by uid 500); 4 Mar 2010 20:50:29 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 43068 invoked by uid 500); 4 Mar 2010 20:50:29 -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 43061 invoked by uid 99); 4 Mar 2010 20:50:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Mar 2010 20:50:29 +0000 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; Thu, 04 Mar 2010 20:50:29 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 069632388A29; Thu, 4 Mar 2010 20:50:09 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r919172 - /commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/jacobians/FirstOrderIntegratorWithJacobiansTest.java Date: Thu, 04 Mar 2010 20:50:08 -0000 To: commits@commons.apache.org From: luc@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100304205009.069632388A29@eris.apache.org> Author: luc Date: Thu Mar 4 20:50:08 2010 New Revision: 919172 URL: http://svn.apache.org/viewvc?rev=919172&view=rev Log: explained test rationale Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/jacobians/FirstOrderIntegratorWithJacobiansTest.java Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/jacobians/FirstOrderIntegratorWithJacobiansTest.java URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/jacobians/FirstOrderIntegratorWithJacobiansTest.java?rev=919172&r1=919171&r2=919172&view=diff ============================================================================== --- commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/jacobians/FirstOrderIntegratorWithJacobiansTest.java (original) +++ commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/jacobians/FirstOrderIntegratorWithJacobiansTest.java Thu Mar 4 20:50:08 2010 @@ -31,6 +31,15 @@ @Test public void testLowAccuracyExternalDifferentiation() throws IntegratorException, DerivativeException { + // this test does not really test FirstOrderIntegratorWithJacobians, + // it only shows the WITHOUT this class, attempting to recover + // the jacobians from external differentiation on simple integration + // results with loo accuracy gives very poor results. In fact, + // the curves dy/dp = g(b) when b varies from 2.88 to 3.08 are + // essentially noise. + // This test is taken from Heirer, Norsett and Wanner book + // Solving Ordinary Differential Equations I (Nonstiff problems), + // the curves dy/dp = g(b) are in figure 6.5 FirstOrderIntegrator integ = new DormandPrince54Integrator(1.0e-8, 100.0, 1.0e-4, 1.0e-4); double hP = 1.0e-12;