|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnl.tudelft.simulation.event.EventProducer
nl.tudelft.simulation.jstats.ode.DifferentialEquation
nl.tudelft.simulation.dsol.formalisms.dess.DifferentialEquation
The Differential equation provides a reference implementation of the differential equation.
(c) copyright 2003 Delft
University of Technology , the Netherlands.
See for project information
www.simulation.tudelft.nl
License of use: General Public
License (GPL) , no warranty
| Field Summary | |
protected double |
previousX
the previousX |
protected double[] |
previousY
the previousY |
protected DESSSimulatorInterface |
simulator
simulator |
| Fields inherited from class nl.tudelft.simulation.jstats.ode.DifferentialEquation |
timeStep, x0, y0 |
| Fields inherited from class nl.tudelft.simulation.event.EventProducer |
listeners |
| Fields inherited from interface nl.tudelft.simulation.dsol.formalisms.dess.DifferentialEquationInterface |
FUNCTION_CHANGED_EVENT, VALUE_CHANGED_EVENT |
| Fields inherited from interface nl.tudelft.simulation.event.EventProducerInterface |
FIRST_POSITION, LAST_POSITION |
| Constructor Summary | |
DifferentialEquation(DESSSimulatorInterface simulator)
constructs a new stateful DifferentialEquation with Euleras numerical integration method. |
|
DifferentialEquation(DESSSimulatorInterface simulator,
double timeStep)
constructs a new stateful DifferentialEquation with Euleras numerical integration method. |
|
DifferentialEquation(DESSSimulatorInterface simulator,
double timeStep,
nl.tudelft.simulation.jstats.ode.integrators.NumericalIntegrator numericalIntegrator)
constructs a new DifferentialEquation |
|
DifferentialEquation(DESSSimulatorInterface simulator,
double timeStep,
short numericalMethod)
constructs a new DifferentialEquation |
|
| Method Summary | |
void |
initialize(double x,
double[] y)
|
void |
notify(nl.tudelft.simulation.event.EventInterface event)
|
| Methods inherited from class nl.tudelft.simulation.jstats.ode.DifferentialEquation |
getIntegrator, integrateY, setIntegrator, y |
| Methods inherited from class nl.tudelft.simulation.event.EventProducer |
addListener, addListener, addListener, addListener, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, getEventTypes, removeAllListeners, removeAllListeners, removeListener |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface nl.tudelft.simulation.jstats.ode.DifferentialEquationInterface |
dy, y |
| Field Detail |
protected DESSSimulatorInterface simulator
protected double previousX
protected double[] previousY
| Constructor Detail |
public DifferentialEquation(DESSSimulatorInterface simulator)
throws java.rmi.RemoteException
simulator - the simulator
java.rmi.RemoteException - on network exception
public DifferentialEquation(DESSSimulatorInterface simulator,
double timeStep)
simulator - the simulatortimeStep - the timeStep for ODE estimation
public DifferentialEquation(DESSSimulatorInterface simulator,
double timeStep,
short numericalMethod)
simulator - the simulator.timeStep - the timeStep for ODE estimation.numericalMethod - the numerical method to be used.
public DifferentialEquation(DESSSimulatorInterface simulator,
double timeStep,
nl.tudelft.simulation.jstats.ode.integrators.NumericalIntegrator numericalIntegrator)
simulator - the simulator.timeStep - the timeStep for ODE estimation.numericalIntegrator - the actual integrator to be used.| Method Detail |
public void notify(nl.tudelft.simulation.event.EventInterface event)
throws java.rmi.RemoteException
notify in interface nl.tudelft.simulation.event.EventListenerInterfacejava.rmi.RemoteExceptionEventListenerInterface.notify(EventInterface)
public void initialize(double x,
double[] y)
initialize in interface nl.tudelft.simulation.jstats.ode.DifferentialEquationInterfaceDifferentialEquationInterface.initialize(double,
double[])
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||