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.

Final<br />

Direction<br />

x<br />

Energy Hinges<br />

φ<br />

Θ<br />

t(ζ∆ E)<br />

t( (1 − ζ) K1)<br />

t(K1)<br />

∆x<br />

y<br />

t( ζ K1)<br />

t( (1−ζ)∆E)<br />

s<br />

Θ<br />

Mono−energetic transport<br />

∆t = ∆K1/G1 in each segment<br />

∆y<br />

z<br />

Material A<br />

Material B<br />

Figure 2.12: Electron transport across region boundaries.<br />

hinge however, multiple scattering occurs only at hinge points. If a boundary is crossed during<br />

either the pre-hinge (ζK 1 (t)) or post-hinge ((1 − ζ)K 1 (t)) portion of the step, the value of G 1 used<br />

in updating the accumulated scattering strength is simply changed to reflect the new value of the<br />

scattering power in the new media. Thus it is not necessary to apply multiple scattering at region<br />

boundaries, and the expensive re-interrogation of the problem geometry required by PRESTA is<br />

completely avoided. Inherent in this is the implication that multiple scattering distributions are<br />

equivalent for different materials at a given energy and for pathlengths which correspond to the<br />

same scattering strength K 1 . This, of course, is not strictly true. It can be shown formally, however,<br />

that for a multiple scattering distribution expressed as a sum of Legendre polynomials in Θ,<br />

〈cos(Θ)〉 = exp(−K 1 ) (2.374)<br />

so that for small K 1<br />

K 1 ≃ 1 − 〈cos(Θ)〉. (2.375)<br />

Thus, in preserving K 1 for cross boundary transport, the <strong>EGS5</strong> method also roughly preserves the<br />

average cosine of the scattering angle over the boundary.<br />

Inspection of the implementation details reveals that the boundary crossing in <strong>EGS5</strong> is analogous<br />

to an energy hinge without energy loss. All step-size variables (rates and distances) need to be<br />

updated, but otherwise transport to the next event is uninterrupted, as shown in Figure 2.12.<br />

103

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

Saved successfully!

Ooh no, something went wrong!