next up previous

5.1 Introduction to Monte Carlo Exercise

Here, we examine a two-dimensional particle-tracing code which is a fully vectorized Cray implementation. We supply a FORTRAN code with ``bleeps''---i.e., lines either wholly or partially incomplete, including periods in place of some FORTRAN instructions. The student is asked to supply the FORTRAN code in place of the ``bleeps.''

For the sake of simplicity, the code is constructed according to the following parameters: