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.

despite being able to take much longer steps at high energies because of the random hinge transport<br />

mechanics. To circumvent this problem, <strong>EGS5</strong> reverts to specifying the multiple scattering step-size<br />

based on a fractional energy loss over the step, which is now called EFRACH, to distinguish it from<br />

ESTEPE in EGS4. EFRACH is material dependent and specified in the PEGS input NAMELIST.<br />

One consequence of the work done to assure that <strong>EGS5</strong> expends most of its computational<br />

effort where it was most important (i.e., at higher energies), was the recognition that additional<br />

efficiency might be achieved by allowing the fractional energy loss of the multiple scattering steps<br />

to vary over the energy range of the problem. Thus, in addition to EFRACH, which is now defined to<br />

be the fractional energy loss over a multiple scattering step at the highest problem energy, a second<br />

parameter EFRACL, corresponding to the fractional energy loss over a multiple scattering step at<br />

the lowest problem energy, is used. Like EFRACH, EFRACL is also material dependent and is specified<br />

in the PEGS input NAMELIST, and the fractional energy loss permitting for multiple-scattering<br />

steps swings logarithmically over the energy range of the problem.<br />

Since the computational effort required to solve electron transport problems by Monte Carlo is<br />

directly related to the number (and therefore the size) of the multiple scattering steps, an “optimal”<br />

step-size in a simulation would therefore be the longest one for which the transport mechanics error<br />

is less than the desired accuracy. Users thus need to judiciously select EFRACH and EFRACL to glean<br />

maximum peformance.<br />

In practice, however, optimal selection of step-sizes is difficult because the intricate interplay<br />

between electron step-size and accuracy almost always depends on not only the particular quantity<br />

of interest being computed, but also on the fineness or granularity of desired output tallies. For<br />

example, a simulation of the spatial energy deposition distribution in a voxelized geometry is a<br />

much more fine grain simulation than a computation of bulk energy deposited in a large detector<br />

module. Even given that optimization of step-size selection necessarily requires some input from<br />

the user because of it is inherently problem-dependent, it is clear that even expert users would be<br />

unduly burdened by the need to optimally select both EFRACH and EFRACL in order to maximize the<br />

performance of <strong>EGS5</strong>. To address this problem, a method has been devised which will automatically<br />

select step-sizes based on a single user input parameter based on the problem geometry, as described<br />

below.<br />

2.15.9 Multiple Scattering Step-Size Optimization Using Media “Characteristic<br />

Dimensions”<br />

As optimization always involves a speed/accuracy trade-off, development of an automated method<br />

for optimization of step-size selection first requires the adoption of a practical standard defining<br />

“accuracy.” Perhaps the most severe test of a Monte Carlo program’s electron transport algorithm<br />

is the “broomstick” problem, in which the tracks of electrons normally incident on the planar faces<br />

of semi-infinite right-circular cylinders of progressive smaller radii (to isolate the effects of the transport<br />

mechanics, hard-collisions are usually ignored in this problem) are simulated. For cylinders of<br />

radii approaching infinitesimal thinness, the average total tracklength of incident electrons before<br />

112

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

Saved successfully!

Ooh no, something went wrong!