NewsEtc

Dec., 1998
Steven Jacques
Oregon Medical Laser Center

Monte Carlo:User settings


The user must select the settings that specify the simulation. Preset settings are listed for the following parameters:

The albedo (albedo) and the incremental bin size (dr) are calculated for the user.

/**** INPUT
   Input the optical properties
   Input the bin and array sizes 
   Input the number of photons
*****/

mua         = 1.0;     /* cm^-1 */
mus         = 0.0;  /* cm^-1 */
g           = 0.90;  
nt          = 1.33;
Nphotons    = 10000; /* set number of photons in simulation */
radial_size = 3.0;   /* cm, total range over which bins extend */
NR          = 100;	 /* set number of bins.  */
   /* IF NR IS ALTERED, THEN USER MUST ALSO ALTER THE ARRAY DECLARATIONS */
   /* for Csph, Ccyl, Cpla TO A SIZE = NR + 1. */
dr          = radial_size/NR;  /* cm */
albedo      = mus/(mus + mua);

next | first page



© 1998, Steven L. Jacques & Scott A. Prahl