setprob.f.html CLAWPACK  
 Source file:   setprob.f
 Directory:   /Users/rjl/clawpack_src/clawpack_master/amrclaw/examples/advection_2d_annulus
 Converted:   Mon Feb 19 2024 at 18:00:16   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*25 fname
      common /cqinit/ A1,beta1,x1,y1, A2,beta2,x2,y2
      common /cgrid/ igrid
c
c     # read data values for this problem
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     # These parameters are used in qinit.f
      read(7,*) A1
      read(7,*) beta1
      read(7,*) x1
      read(7,*) y1
      read(7,*) A2
      read(7,*) beta2
      read(7,*) x2
      write(6,*) '+++ ',A1,beta1,x1,y1,A2,beta2,x2
      read(7,*) y2

      close(unit=7)

      return
      end