setprob.f.html CLAWPACK  
 Source file:   setprob.f
 Directory:   /Users/rjl/clawapps/shallow/applications/shallow/1d/dambreak
 Converted:   Wed Aug 1 2012 at 10:11:24   using clawcode2html
 This documentation file will not reflect any later changes in the source file.

 
      subroutine setprob
      implicit double precision (a-h,o-z)
      character*12 fname
      common /cqinit/ sloc,hl,ul,hr,ur
      common /comrp/ grav
c
c     # Shallow water equations
c
c
      iunit = 7
      fname = 'setprob.data'
c     # open the unit with new routine from Clawpack 4.4 to skip over
c     # comment lines starting with #:
      call opendatafile(iunit, fname)
                

c     # Graviational constant g:
      read(7,*) grav
c

c     # initial data is a single discontinuity at sloc
      read(7,*) sloc
      read(7,*) hl
      read(7,*) ul
      read(7,*) hr
      read(7,*) ur
c
      return
      end