Return-Path: X-Original-To: apmail-commons-commits-archive@minotaur.apache.org Delivered-To: apmail-commons-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 183009B16 for ; Fri, 3 Feb 2012 17:38:25 +0000 (UTC) Received: (qmail 16900 invoked by uid 500); 3 Feb 2012 17:38:24 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 16823 invoked by uid 500); 3 Feb 2012 17:38:23 -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 16816 invoked by uid 99); 3 Feb 2012 17:38:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Feb 2012 17:38:23 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.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; Fri, 03 Feb 2012 17:38:22 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 99B312388A29 for ; Fri, 3 Feb 2012 17:38:02 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1240253 - in /commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode: MultistepIntegrator.java ParameterConfiguration.java ParameterizedWrapper.java Date: Fri, 03 Feb 2012 17:38:02 -0000 To: commits@commons.apache.org From: tn@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120203173802.99B312388A29@eris.apache.org> Author: tn Date: Fri Feb 3 17:38:02 2012 New Revision: 1240253 URL: http://svn.apache.org/viewvc?rev=1240253&view=rev Log: Fixed checkstyle and javadoc warnings in package ode Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/MultistepIntegrator.java commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/ParameterConfiguration.java commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/ParameterizedWrapper.java Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/MultistepIntegrator.java URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/MultistepIntegrator.java?rev=1240253&r1=1240252&r2=1240253&view=diff ============================================================================== --- commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/MultistepIntegrator.java (original) +++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/MultistepIntegrator.java Fri Feb 3 17:38:02 2012 @@ -382,7 +382,7 @@ public abstract class MultistepIntegrato } /** {@inheritDoc} */ - public void init(double t0, double[] y0, double t) { + public void init(double t0, double[] y0, double time) { // nothing to do } Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/ParameterConfiguration.java URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/ParameterConfiguration.java?rev=1240253&r1=1240252&r2=1240253&view=diff ============================================================================== --- commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/ParameterConfiguration.java (original) +++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/ParameterConfiguration.java Fri Feb 3 17:38:02 2012 @@ -58,10 +58,10 @@ class ParameterConfiguration implements } /** Set parameter step. - * @param hP parameter step + * @param hParam parameter step */ - public void setHP(final double hP) { - this.hP = hP; + public void setHP(final double hParam) { + this.hP = hParam; } } Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/ParameterizedWrapper.java URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/ParameterizedWrapper.java?rev=1240253&r1=1240252&r2=1240253&view=diff ============================================================================== --- commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/ParameterizedWrapper.java (original) +++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/ParameterizedWrapper.java Fri Feb 3 17:38:02 2012 @@ -40,10 +40,18 @@ class ParameterizedWrapper implements Pa this.fode = ode; } + /** Get the dimension of the underlying FODE. + * @return dimension of the underlying FODE + */ public int getDimension() { return fode.getDimension(); } + /** Get the current time derivative of the state vector of the underlying FODE. + * @param t current value of the independent time variable + * @param y array containing the current value of the state vector + * @param yDot placeholder array where to put the time derivative of the state vector + */ public void computeDerivatives(double t, double[] y, double[] yDot) { fode.computeDerivatives(t, y, yDot); }