ECE532 Biomedical Optics
© 1998 Steven L. Jacques, Scott A. Prahl
Oregon Graduate Institute

Steady-State Monte Carlo

A minimal program, "mc321.c".

A simple program called "mc321.c" is listed here for compilation by the student. It is written in ANSI Standard C and should compile on any platform. Students will need a C compiler on their own computer.

The following pages discuss the various sections of "mc321.c":

Students are encouraged to modify the program. Some example modifications are listed:

This minimal program as written does NOT consider an air/tissue surface or other mismatched boundaries. The program models an infinite unbounded medium with absorption and scattering properties.

The "mc321.c" program was used in writing the published report:

S. L. Jacques: "Light distributions from point, line, and plane sources for photochemical reactions and fluorescence in turbid biological tissues," Photochem. Photobiol. 67:23-32, 1998.


to next page | Chapter 4 | Home

©1998, Steven L. Jacques, Scott A. Prahl, Oregon Graduate Institute, Oregon Medical Laser Center