public class DefaultOdeController extends Object implements OdeController
Modifier and Type | Field and Description |
---|---|
private double |
tMax |
Constructor and Description |
---|
DefaultOdeController(double tMax)
Create the controller, specifying the time at which the solver should stop.
|
Modifier and Type | Method and Description |
---|---|
boolean |
goOn(OdeSolver solver)
Returns whether or not to continue with the stepwise solution of the ode.
|
DefaultOdeController(double tMax)
tMax
- the time at which the solver should stop.public final boolean goOn(OdeSolver solver)
OdeController
goOn
in interface OdeController
solver
- the ODE solver this object is to control.Copyright © 2015 University of Glasgow. All rights reserved.