opale.ode
Class StepsizeControl

java.lang.Object
  |
  +--opale.tools.OpaleObject
        |
        +--opale.ode.ObjectODE
              |
              +--opale.ode.StepsizeControl
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
NoStepsizeControl, StepControl1

public abstract class StepsizeControl
extends ObjectODE

Class to implement a method of step control. Instances of this class must be associated to a time scheme.

Since:
Opale-ODE 0.11

Constructor Summary
StepsizeControl()
           
StepsizeControl(TimeScheme ts)
          constructs an instance a with a specified time scheme.
 
Method Summary
 TimeScheme getTS()
          Returns the time scheme.
 void setTS(TimeScheme ts)
          Sets the time scheme.
abstract  boolean update()
          Update the step.
 
Methods inherited from class opale.tools.OpaleObject
clone, getId, read, readKeyWord, setId, write
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StepsizeControl

public StepsizeControl()

StepsizeControl

public StepsizeControl(TimeScheme ts)
constructs an instance a with a specified time scheme.
Method Detail

getTS

public TimeScheme getTS()
Returns the time scheme.
Returns:
TimeScheme.

setTS

public void setTS(TimeScheme ts)
Sets the time scheme.
Parameters:
TimeScheme. -  

update

public abstract boolean update()
Update the step. Returns true if the step is valid, false otherwise.