10.07.2015 Views

THE EGS5 CODE SYSTEM

THE EGS5 CODE SYSTEM

THE EGS5 CODE SYSTEM

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

! ====================call counters_out(0)! ====================!-----------------------------------------------------------------------! Step 2: pegs5-call!-----------------------------------------------------------------------! ==============call block_set! Initialize some general variables! ==============! ---------------------------------! define media before calling P<strong>EGS5</strong>! ---------------------------------nmed=2medarr(1)=’FE-RAYLEIGH ’medarr(2)=’AIR AT NTP ’do j=1,nmeddo i=1,24media(i,j)=medarr(j)(i:i)end doend dochard(1) = 3.0chard(2) = 3.0! ------------------------------! Run P<strong>EGS5</strong> before calling HATCH! ------------------------------write(6,100)100 FORMAT(’ P<strong>EGS5</strong>-call comes next’)! =============call pegs5! =============!-----------------------------------------------------------------------! Step 3: Pre-hatch-call-initialization!-----------------------------------------------------------------------med(1)=0med(2)=1med(3)=2! ----------------------------------! Set of option flag for region 2-3! 1: on, 0: off! ----------------------------------346

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

Saved successfully!

Ooh no, something went wrong!