![]() | ECE532 Biomedical Optics © 1998 Steven L. Jacques, Scott A. Prahl Oregon Graduate Institute |
The programming that launches and propagates each photon through the tissue is enclosed within a DO-WHILE LOOP which launches N photons (N = Nphotons).
/**** RUN
Launch N photons, initializing each one before progation.
*****/
do {
/* PROGRAM SITS WITHIN THIS DO-WHILE LOOP THAT LAUNCHES N PHOTONS */
/* If photon dead, then launch new photon. */
} /* end RUN */
while (i_photon < Nphotons);