vmm.ode.secondorder2D
Class HookesLaw

java.lang.Object
  extended by vmm.core.Exhibit
      extended by vmm.ode.ODE_2D
          extended by vmm.ode.secondorder2D.ODE2ndOrder2D
              extended by vmm.ode.secondorder2D.CentralForce
                  extended by vmm.ode.secondorder2D.HookesLaw
All Implemented Interfaces:
java.util.EventListener, javax.swing.event.ChangeListener, Decorateable, Parameterizable

public class HookesLaw
extends CentralForce


Nested Class Summary
 
Nested classes/interfaces inherited from class vmm.ode.ODE_2D
ODE_2D.ODEView
 
Field Summary
 
Fields inherited from class vmm.ode.ODE_2D
addAnimateCheckBoxToControlPanel, addLinesCheckBoxToControlPanel, addOrbitTypesToControlPanel, addProjectedOrbitsAction, canShowVectorField, dtDefault, initialDataDefault, inputLabelNames, isAutonomous, ORBIT_TYPE_BOTH, ORBIT_TYPE_EULER, ORBIT_TYPE_RUNGE_KUTTA, timeSpanDefault
 
Fields inherited from class vmm.core.Exhibit
decorations, exhibitNeedsRedraw, isMorphing, morphingView, parameters, previousTransform
 
Constructor Summary
HookesLaw()
           
 
Method Summary
protected  double force(double r)
           
 
Methods inherited from class vmm.ode.secondorder2D.CentralForce
xdotdot, ydotdot
 
Methods inherited from class vmm.ode.secondorder2D.ODE2ndOrder2D
makeDefaultMouseTask, nextEulerPoint, nextRungeKuttaPoint
 
Methods inherited from class vmm.ode.ODE_2D
doDraw, extractPointFromData, getCreateAnimation, getDefaultView, vectorField_x, vectorField_y
 
Methods inherited from class vmm.core.Exhibit
addChangeListener, addDecoration, addExtraXML, addParameter, addView, clearDecorations, computeDrawData, computeDrawDataHook, doDrawHook, fireExhibitChangeEvent, forceRedraw, getActionsForView, getAdditionalAnimationsForView, getAlternativeViews, getBuildAnimation, getDecorations, getDefaultBackground, getDefaultForeground, getDefaultTransform, getDefaultWindow, getFramesForMorphing, getMorphingAnimation, getName, getParameterByName, getParameters, getSettingsCommandsForView, getTitle, getUseFilmstripForMorphing, getViews, parameterChanged, readExtraXML, removeChangeListener, removeDecoration, removeParameter, removeView, render, setDefaultBackground, setDefaultForeground, setDefaultWindow, setDefaultWindow, setFramesForMorphing, setName, setUseFilmstripForMorphing, stateChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HookesLaw

public HookesLaw()
Method Detail

force

protected double force(double r)
Specified by:
force in class CentralForce