diff --git a/src/main/java/org/apache/commons/math/ode/MultistepIntegrator.java b/src/main/java/org/apache/commons/math/ode/MultistepIntegrator.java index 094cc0be0..f284a932d 100644 --- a/src/main/java/org/apache/commons/math/ode/MultistepIntegrator.java +++ b/src/main/java/org/apache/commons/math/ode/MultistepIntegrator.java @@ -382,7 +382,7 @@ public abstract class MultistepIntegrator extends AdaptiveStepsizeIntegrator { } /** {@inheritDoc} */ - public void init(double t0, double[] y0, double t) { + public void init(double t0, double[] y0, double time) { // nothing to do } diff --git a/src/main/java/org/apache/commons/math/ode/ParameterConfiguration.java b/src/main/java/org/apache/commons/math/ode/ParameterConfiguration.java index ac16ab446..0ffc7abce 100644 --- a/src/main/java/org/apache/commons/math/ode/ParameterConfiguration.java +++ b/src/main/java/org/apache/commons/math/ode/ParameterConfiguration.java @@ -58,10 +58,10 @@ class ParameterConfiguration implements Serializable { } /** 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; } } diff --git a/src/main/java/org/apache/commons/math/ode/ParameterizedWrapper.java b/src/main/java/org/apache/commons/math/ode/ParameterizedWrapper.java index 035054e9d..ef8fa4bc2 100644 --- a/src/main/java/org/apache/commons/math/ode/ParameterizedWrapper.java +++ b/src/main/java/org/apache/commons/math/ode/ParameterizedWrapper.java @@ -40,10 +40,18 @@ class ParameterizedWrapper implements ParameterizedODE { 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); }