| setprob.f.html |   | 
  | Source file:   setprob.f | 
| Directory:    /Users/rjl/git/rjleveque/clawpack-4.6.2/book/chap22/corner | 
| Converted:    Wed May 30 2012 at 13:02:13 
  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 /comaux/ rho1,amu1,alam1,rho2,amu2,alam2
c
c     # Set the material parameters for the elasticity 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
c     # Piecewise constant medium 
c     # Material parameters
      read(7,*) rho1
      read(7,*) alam1
      read(7,*) amu1
      read(7,*) rho2
      read(7,*) alam2
      read(7,*) amu2
      return
      end