Class ODE2ndOrder1D

  extended by vmm.core.Exhibit
      extended by vmm.ode.ODE_2D
          extended by vmm.ode.firstorder2D.ODE1stOrder2D
              extended by vmm.ode.secondorder1D.ODE2ndOrder1D
All Implemented Interfaces:
java.util.EventListener, javax.swing.event.ChangeListener, Decorateable, Parameterizable
Direct Known Subclasses:
HarmonicOscillator, Pendulum

public abstract class ODE2ndOrder1D
extends ODE1stOrder2D

Represents a second order ODE exhibit x'' = f(x,x',t). This is subsumed under the ODE_2D first order class by the standard trick; namely setting x'(t) = y and y'' = f(x,y,t).

Nested Class Summary
Nested classes/interfaces inherited from class vmm.ode.ODE_2D
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
Method Summary
protected abstract  double f(double x1, double x2)
protected  double x1Prime(double x1, double x2)
          Defines the x1-component of the vector field.
protected  double x2Prime(double x1, double x2)
          Defines the x2-component of the vector field.
Methods inherited from class vmm.ode.firstorder2D.ODE1stOrder2D
makeDefaultMouseTask, nextEulerPoint, nextRungeKuttaPoint, vectorField_x, vectorField_y
Methods inherited from class vmm.ode.ODE_2D
doDraw, extractPointFromData, getCreateAnimation, getDefaultView
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


public ODE2ndOrder1D()
Method Detail


protected abstract double f(double x1,
                            double x2)


protected double x1Prime(double x1,
                         double x2)
Description copied from class: ODE1stOrder2D
Defines the x1-component of the vector field.

Specified by:
x1Prime in class ODE1stOrder2D


protected double x2Prime(double x1,
                         double x2)
Description copied from class: ODE1stOrder2D
Defines the x2-component of the vector field.

Specified by:
x2Prime in class ODE1stOrder2D