|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CTGeneralDirector
Interface that defines the methods for lower level CT directors in hierarchy to query information from the upper level CT directors. The information includes the current step size for integration, the current execution phase, the beginning time of the current integration, and the current solver. All CT directors must implement this interface.
The CTDirector
class and CTTransparentDirector
interface
directly implements this interface. The CTDirector class focuses on how to
solve ordinary differential equations. The CTTransparentDirector interface
defines the methods for upper level CT directors in hierarchy to query
step size control information from the lower level CT directors.
Green (hyzheng) |
Green (hyzheng) |
Method Summary | |
---|---|
double |
getCurrentStepSize()
Return the current step size used by this director. |
double |
getErrorTolerance()
Return the error tolerance, used by state and output step size actors. |
CTExecutionPhase |
getExecutionPhase()
Return the current execution phase. |
CTGeneralDirector |
getExecutiveCTGeneralDirector()
Return the executive CT general director of this director, or null if this director is at the top level or the executive director is not a CT general director. |
Time |
getIterationBeginTime()
Return the time the current iteration starts from. |
java.lang.String |
getODESolverClassName()
Return the class name for the ODE solver. |
boolean |
isDiscretePhase()
Return true if the current phase of execution is a discrete one. |
Method Detail |
---|
double getCurrentStepSize()
double getErrorTolerance()
CTGeneralDirector getExecutiveCTGeneralDirector()
CTExecutionPhase getExecutionPhase()
Time getIterationBeginTime()
java.lang.String getODESolverClassName()
boolean isDiscretePhase()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |