|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectptolemy.kernel.util.NamedObj
ptolemy.domains.ct.kernel.ODESolver
ptolemy.domains.ct.kernel.solver.FixedStepSolver
ptolemy.domains.ct.kernel.solver.BackwardEulerSolver
ptolemy.domains.ct.kernel.solver.ImpulseBESolver
This class implements the impulse backward Euler ODE solver. This solver uses two backward Euler solving processes to handle Dirac delta functions in a CT system. The first backward Euler process use the minimum step size h, and the second backward Euler process use the negative step size, -h. That is, for ODE
x' = f(x, t), x(0) = x0This solver performs the following two steps
x(t+h) = x(t) + h * x'(t+h) x(t+) = x(t+h) - h * x'(t+)
By using this solver, we can find the state of the system at t+, which is the time at which the impulse occurs, but the effect of the impulse is taken care of.
This ODE solver does not advance time. So it can only be used as a breakpoint solver.
| Yellow (liuxj) |
| Yellow (liuj) |
| Nested Class Summary |
| Nested classes inherited from class ptolemy.kernel.util.NamedObj |
ptolemy.kernel.util.NamedObj.ContainedObjectsIterator |
| Field Summary |
| Fields inherited from class ptolemy.kernel.util.NamedObj |
_changeListeners, _changeLock, _changeRequests, _debugging, _debugListeners, _elementName, _isPersistent, _workspace, ATTRIBUTES, CLASSNAME, COMPLETE, CONTENTS, DEEP, FULLNAME, LINKS |
| Constructor Summary | |
ImpulseBESolver()
Construct a solver in the default workspace with an empty string as name. |
|
ImpulseBESolver(ptolemy.kernel.util.Workspace workspace)
Construct a solver in the given workspace. |
|
| Method Summary | |
boolean |
resolveStates()
Perform two successive backward Euler ODE solving processes, with step size h and -h, respectively, where h is the minimum step size. |
| Methods inherited from class ptolemy.domains.ct.kernel.solver.BackwardEulerSolver |
_isConverged, _setConvergence, _voteForConvergence, getHistoryCapacityRequirement, getIntegratorAuxVariableCount, integratorFire |
| Methods inherited from class ptolemy.domains.ct.kernel.solver.FixedStepSolver |
integratorIsAccurate, integratorPredictedStepSize |
| Methods inherited from class ptolemy.domains.ct.kernel.ODESolver |
_makeSolverOf, _prefireIfNecessary, getContainer, getRound, incrementRound, resetRound |
| Methods inherited from class ptolemy.kernel.util.NamedObj |
_addAttribute, _attachText, _cloneFixAttributeFields, _debug, _debug, _debug, _debug, _debug, _description, _exportMoMLContents, _getContainedObject, _getIndentPrefix, _isMoMLSuppressed, _markContentsDerived, _propagateExistence, _propagateValue, _removeAttribute, _splitName, _stripNumericSuffix, addChangeListener, addDebugListener, attributeChanged, attributeList, attributeList, attributeTypeChanged, clone, clone, containedObjectsIterator, deepContains, depthInHierarchy, description, description, event, executeChangeRequests, exportMoML, exportMoML, exportMoML, exportMoML, exportMoML, getAttribute, getAttribute, getAttributes, getChangeListeners, getClassName, getDerivedLevel, getDerivedList, getElementName, getFullName, getModelErrorHandler, getName, getName, getPrototypeList, getSource, handleModelError, isDeferringChangeRequests, isOverridden, isPersistent, message, propagateExistence, propagateValue, propagateValues, removeChangeListener, removeDebugListener, requestChange, setClassName, setDeferringChangeRequests, setDerivedLevel, setModelErrorHandler, setName, setPersistent, setSource, toplevel, toString, uniqueName, validateSettables, workspace |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ImpulseBESolver()
public ImpulseBESolver(ptolemy.kernel.util.Workspace workspace)
workspace - Object for synchronization and version tracking| Method Detail |
public boolean resolveStates()
throws ptolemy.kernel.util.IllegalActionException
resolveStates in class BackwardEulerSolverptolemy.kernel.util.IllegalActionException - If it is thrown by the
resolveStates() method of the BackwardEulerSolver.resolveState().BackwardEulerSolver.resolveStates()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||