vmm.ode.secondorder2D
Class CentralForce

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
All Implemented Interfaces:
java.util.EventListener, javax.swing.event.ChangeListener, Decorateable, Parameterizable
Direct Known Subclasses:
Coulomb, Higgs, HookesLaw, PowerLaw, UserCentralForce, Yukawa

public abstract class CentralForce
extends ODE2ndOrder2D


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
CentralForce()
           
 
Method Summary
protected abstract  double force(double r)
           
protected  double xdotdot(double x, double y, double xdot, double ydot)
           
protected  double ydotdot(double x, double y, double xdot, double ydot)
           
 
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

CentralForce

public CentralForce()
Method Detail

xdotdot

protected double xdotdot(double x,
                         double y,
                         double xdot,
                         double ydot)
Specified by:
xdotdot in class ODE2ndOrder2D

ydotdot

protected double ydotdot(double x,
                         double y,
                         double xdot,
                         double ydot)
Specified by:
ydotdot in class ODE2ndOrder2D

force

protected abstract double force(double r)