public abstract class AbstractDStabSolver extends java.lang.Object implements IDStabSolver
copyright| Constructor and Description |
|---|
AbstractDStabSolver(DynamicSimuAlgorithm algo) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
diffEqnIntegrationStep(double t,
double dt,
DynamicSimuMethod method) |
int |
getOutPutPerSteps() |
double |
getSimuTime()
return the current simulation
|
abstract boolean |
hasDynEvent(double t) |
boolean |
initialization() |
abstract boolean |
networkSolutionStep() |
void |
nextStep(double time,
double dt,
DynamicSimuMethod method)
implement the nextStep simulation function
|
boolean |
performSimulation()
Perform dynamic simulation
|
void |
setOutPutPerSteps(int outPerSteps) |
void |
setSimuTime(double t)
set the current simulation
|
boolean |
solveDEqnStep(boolean updateTime)
perform a full step of simulation by solving the differential
eqn
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitafterStep, beforeSteppublic AbstractDStabSolver(DynamicSimuAlgorithm algo)
public boolean initialization()
IDStabSolverinitialization in interface IDStabSolverpublic boolean performSimulation()
IDStabSolverperformSimulation in interface IDStabSolverpublic boolean solveDEqnStep(boolean updateTime)
solveDEqnStep in interface IDStabSolverupdateTime - indicator to update the simuTime fieldpublic void nextStep(double time,
double dt,
DynamicSimuMethod method)
throws DStabSimuException
IDStabSolvernextStep in interface IDStabSolverDStabSimuExceptionpublic abstract boolean networkSolutionStep()
throws DStabSimuException
DStabSimuExceptionpublic abstract void diffEqnIntegrationStep(double t,
double dt,
DynamicSimuMethod method)
throws DStabSimuException
DStabSimuExceptionpublic double getSimuTime()
getSimuTime in interface IDStabSolverpublic void setSimuTime(double t)
setSimuTime in interface IDStabSolverpublic int getOutPutPerSteps()
getOutPutPerSteps in interface IDStabSolverpublic void setOutPutPerSteps(int outPerSteps)
setOutPutPerSteps in interface IDStabSolverpublic abstract boolean hasDynEvent(double t)