|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.math.ode.TestProblemHandler
public class TestProblemHandler
This class is used to handle steps for the test problems integrated during the junit tests for the ODE integrators.
| Constructor Summary | |
|---|---|
TestProblemHandler(TestProblemAbstract problem,
org.apache.commons.math.ode.ODEIntegrator integrator)
Simple constructor. |
|
| Method Summary | |
|---|---|
double |
getLastError()
Get the error at the end of the integration. |
double |
getLastTime()
Get the time at the end of the integration. |
double |
getMaximalTimeError()
Get the maximal time error encountered during integration. |
double |
getMaximalValueError()
Get the maximal value error encountered during integration. |
void |
handleStep(org.apache.commons.math.ode.sampling.StepInterpolator interpolator,
boolean isLast)
|
boolean |
requiresDenseOutput()
|
void |
reset()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TestProblemHandler(TestProblemAbstract problem,
org.apache.commons.math.ode.ODEIntegrator integrator)
problem - problem for which steps should be handledintegrator - ODE solver used| Method Detail |
|---|
public boolean requiresDenseOutput()
requiresDenseOutput in interface org.apache.commons.math.ode.sampling.StepHandlerpublic void reset()
reset in interface org.apache.commons.math.ode.sampling.StepHandler
public void handleStep(org.apache.commons.math.ode.sampling.StepInterpolator interpolator,
boolean isLast)
throws org.apache.commons.math.ode.DerivativeException
handleStep in interface org.apache.commons.math.ode.sampling.StepHandlerorg.apache.commons.math.ode.DerivativeExceptionpublic double getMaximalValueError()
public double getMaximalTimeError()
public double getLastError()
public double getLastTime()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||