setprob.f.html | |
Source file: setprob.f | |
Directory: /Users/rjl/git/rjleveque/clawpack-4.6.3/book/chap21/radialdam | |
Converted: Mon Jan 21 2013 at 20:15:39 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 /param/ g !# gravitational parameter common/cdisc/ x0,y0,alf,beta,r0,idisc common /comic/ hin,hout c 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 # gravitational constant: read(7,*) g c # data for radial dam-break problem: idisc = 2 read(7,*) x0,y0,r0 read(7,*) hin,hout c return end