NewsEtc
|
Dec., 1998 Steven Jacques Oregon Medical Laser Center
|
Variables for "mc321.c"
Some parameters require INITIALIZATION before the program can run:
- The photon counter is preset to zero (i_photon).
- The random number generator is initialized (InitRandomGen).
- The arrays for collecting data are cleared:
- Csph[0..100] are the bins to collect photon weight in spherical coordinates.
- Ccyl[0..100] are the bins to collect photon weight in cylindrical coordinates.
- Cpla[0..100] are the bins to collect photon weight in planar coordinates.
/**** INITIALIZATIONS *****/
i_photon = 0;
InitRandomGen;
for (ir=0; ir<=NR; ir++) {
Csph[ir] = 0;
Ccyl[ir] = 0;
Cpla[ir] = 0;
}
first page
© 1998, Steven L. Jacques & Scott A. Prahl