psi.f.html CLAWPACK  
 Source file:   psi.f
 Directory:   /Users/rjl/git/clawpack/amrclaw/examples/advection_2d_swirl
 Converted:   Wed Dec 28 2016 at 22:38:04   using clawcode2html
 This documentation file will not reflect any later changes in the source file.

 

c
c     =================================================
      double precision function psi(x,y)
c     =================================================
c
c     # stream function 

      implicit double precision (a-h,o-z)
      common /compsi/ pi

      psi = ((dsin(pi*x))**2 * (dsin(pi*y))**2) / pi
c
      return
      end