psi.f.html CLAWPACK  
 Source file:   psi.f
 Directory:   /Users/rjl/clawpack_src/clawpack_master/amrclaw/examples/advection_2d_swirl
 Converted:   Mon Feb 19 2024 at 17:59:50   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