Previous: dem76 Up: ../plot79_d.html Next: dem79
SUBROUTINE DEM78 (NIN,NOUT)
C$ (DEM78 - Flow Vectors)
C$ Demonstrate the graphing of a vector field with PLTFV2. The
C$ illustrated field arises from Duffing's differential
C$ equations which represent a damped harmonic oscillator with
C$ a non-linear perturbation. These equations are
C$
C$ dx/dt = y
C$
C$ dy/dt = -a*x - b*y - c*x**2
C$
C$ where a, b, and c are suitable constants, usually in the
C$ range 0.0..1.0. With (x,y) representing the coordinate of
C$ a point on a rectangular grid, (dx/dt,dy/dt) represents the
C$ vector field at that point.
C$
C$ This demonstration is identical to DEM50, but uses the more
C$ general flow vector routine which permits arbitrary
C$ positioning of the flow vectors instead of assuming a
C$ rectangular grid.
C$ (06-FEB-85)