28.11.2014 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.

3132 33 34 35 36 37 38<br />

39 40<br />

dnear(np) = dnear(np) - ustep<br />

irold = ir(np)<br />

no<br />

medium<br />

.ne.<br />

0<br />

yes<br />

thard = thard - ustep<br />

tmscat = tmscat - ustep<br />

tinel = tinel - ustep<br />

hardstep = thard * sig<br />

k1step(np) = tmscat * scpow<br />

denstep = tinel * dedx<br />

ustep.ne.ustep0<br />

.or.<br />

ustep.eq.0.D0<br />

no<br />

yes<br />

ir(np) = irnew<br />

irl = irnew<br />

medium = med(irl)<br />

ustep<br />

.ne.<br />

0.d0<br />

no<br />

yes<br />

iarg=5<br />

e(np) = e(np) - deinitial + denstep<br />

iausfl(iarg+1)<br />

<br />

ne<br />

0<br />

no<br />

yes<br />

call<br />

ausgab(iarg)<br />

e(np) = e(np) + deinitial - denstep<br />

tstep = vacdst<br />

yes<br />

medium<br />

.eq.<br />

0<br />

no<br />

irnew<br />

.ne.<br />

irold<br />

no<br />

yes<br />

4142 43 44 45 46<br />

47 48 49<br />

230

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

Saved successfully!

Ooh no, something went wrong!