setprob.f.html | ![]() |
Source file: setprob.f | |
Directory: /home/rjl/git/rjleveque/clawpack-4.x/book/chap21/radialdam | |
Converted: Tue Jul 26 2011 at 12:59:05 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