13.07.2015 Views

Lecture Notes of Dose distribution calculation inside phantom with ...

Lecture Notes of Dose distribution calculation inside phantom with ...

Lecture Notes of Dose distribution calculation inside phantom with ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

if (maxy.gt.0) then! Just pick up boundaries.do i=1,maxywrite(ifto,190) iread(4,*) ybound(i)if(i.ne.1) thenif (ybound(i).le.ybound(i-1)) write(ifto,200)end ifwrite(ifto,210) ybound(i)end dowrite(ifto,220) maxyread(4,*) ybound(maxy+1)write(ifto,230) ybound(maxy+1)else! Input groups <strong>of</strong> region.write(ifto,240)read(4,*) ybound(1)write(ifto,250) ybound(1)ngroup=-maxymaxy=0do igroup=1,ngroupwrite(ifto,260)read(4,*) width,nnif(nn.le.0) nn=1if(width.le.0.0) width=1.D0write(ifto,270) width,nnnnn=min(nn,maxbd-maxy)if (nnn.ne.0) thendo in=maxy+1,maxy+nnnybound(in+1)=ybound(in)+widthend doend ifif(nn.ne.nnn) thenwrite(ifto,280)end ifmaxy=maxy+nnnend doif (maxy.gt.LJMAX) thenwrite(ifto,'(A,I4,A,I4/A)') ' maxy(',maxy,* ') calculated in maxy < 0 mode is larger than',LJMAX,* ' You must increase LJMAX in auxcommon/aux_h.f 'stopend ifwrite(ifto,290) (ybound(i),i=1,maxy+1)end ifjmax=maxymaxbd=LKMAXwrite(ifto,310)310 FORMAT(/T20,'Input boundaries in the z direction')! -----------------! Record 8 zbound! -----------------if (maxz.gt.0) then! Just pick up boundaries.do i=1,maxzwrite(ifto,190) iread(4,*) zbound(i)if(i.ne.1) thenif (zbound(i).le.zbound(i-1)) write(ifto,200)end ifwrite(ifto,210) zbound(i)end dowrite(ifto,220) maxzread(4,*) zbound(maxz+1)write(ifto,230) zbound(maxz+1)elsewrite(ifto,240)read(4,*) zbound(1)write(ifto,250) zbound(1)ngroup=-maxzmaxz=0do igroup=1,ngroupwrite(ifto,260)read(4,*) width,nnif(nn.le.0) nn=1if(width.le.0.0) width=1.D0write(ifto,270) width,nnnnn=min(nn,maxbd-maxz)if (nnn.ne.0) thendo in=maxz+1,maxz+nnn! Input groups <strong>of</strong> region.62

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!