nl.tudelft.simulation.dsol.tutorial.section44
Class Positioner

java.lang.Object
  extended by nl.tudelft.simulation.event.EventProducer
      extended by nl.tudelft.simulation.jstats.ode.DifferentialEquation
          extended by nl.tudelft.simulation.dsol.formalisms.dess.DifferentialEquation
              extended by nl.tudelft.simulation.dsol.tutorial.section44.Positioner
All Implemented Interfaces:
Serializable, EventListener, EventListenerInterface, EventProducerInterface, DifferentialEquationInterface

public class Positioner
extends DifferentialEquation

A Positioner
(c) copyright 2002-2005 Delft University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl
License of use: Lesser General Public License (LGPL) , no warranty.

Version:
1.0 Mar 3, 2004
Author:
Peter Jacobs
See Also:
Serialized Form

Field Summary
 
Fields inherited from class nl.tudelft.simulation.dsol.formalisms.dess.DifferentialEquation
previousX, previousY, 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
Positioner(DESSSimulatorInterface simulator)
          constructs a new Positioner
 
Method Summary
 double[] dy(double x, double[] y)
           
 void setValue(double value)
          sets the value
 
Methods inherited from class nl.tudelft.simulation.dsol.formalisms.dess.DifferentialEquation
initialize, notify
 
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
y
 

Constructor Detail

Positioner

public Positioner(DESSSimulatorInterface simulator)
           throws RemoteException
constructs a new Positioner

Parameters:
simulator - the simulator
Throws:
RemoteException - Exception
Method Detail

setValue

public void setValue(double value)
sets the value

Parameters:
value - the new value

dy

public double[] dy(double x,
                   double[] y)
See Also:
DifferentialEquationInterface.dy(double, double[])


Copyright © 2002-2010 Delft University of Technology, the Netherlands. All Rights Reserved.