Package org.opensourcephysics.numerics
Interface ODEEventSolver
- All Superinterfaces:
ODESolver
- All Known Implementing Classes:
ODEBisectionEventSolver
ODEEventSolver is an interface for a Solver for ODE which accepts
and deals with StateEvents
- Author:
- Francisco Esquembre (March 2004)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addEvent
(StateEvent event) Adds a StateEvent to the list of eventsvoid
removeEvent
(StateEvent event) Removes a StateEvent from the list of eventsMethods inherited from interface org.opensourcephysics.numerics.ODESolver
getStepSize, initialize, setStepSize, step
-
Method Details
-
addEvent
Adds a StateEvent to the list of events- Parameters:
event
- The event to be added
-
removeEvent
Removes a StateEvent from the list of events- Parameters:
event
- The event to be removed
-