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.

subroutinehatchVersion060318-1555ihatch = ihatch +1iblock.ne.1yeswrite(6,5000)stopnonoi1st.ne.0yesi1st=0false.not.rluxsettruewrite(6,*)'RNG ranlux notinitialized: doingso in HATCH'callrluxgolatchi = 0.0nisub = mxsinc_loc - 2fnsss = nsinsswid = PI5D2/float(nisub)wss = wid/(fnsss - 1.0)zeros(1) = 0.zeros(2) = PIzeros(3) = TWOPIisub=1isub=isub+1isub >mxsinc_locnoyessx = 0.sy = 0.sxx = 0.sxy = 0.xs0 = wid*float(isub - 2)xs1 = xs0 + widiz = 0izz=1izz=izz+1izz >3noyesnoxs0 .le. zeros(izz).and.zeros(izz) .le. xs1yes12 3 4 5238

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

Saved successfully!

Ooh no, something went wrong!