org.opensourcephysics.numerics
Interface ODEEventSolver

All Superinterfaces:
ODESolver
All Known Implementing Classes:
ODEBisectionEventSolver

public interface ODEEventSolver
extends ODESolver

ODEEventSolver is an interface for a Solver for ODE which accepts and deals with StateEvents

Author:
Francisco Esquembre (March 2004)

Method Summary
 void addEvent(StateEvent event)
          Adds a StateEvent to the list of events
 void removeEvent(StateEvent event)
          Removes a StateEvent from the list of events
 
Methods inherited from interface org.opensourcephysics.numerics.ODESolver
getStepSize, initialize, setStepSize, step
 

Method Detail

addEvent

void addEvent(StateEvent event)
Adds a StateEvent to the list of events

Parameters:
event - The event to be added

removeEvent

void removeEvent(StateEvent event)
Removes a StateEvent from the list of events

Parameters:
event - The event to be removed