lf95 global.f90 modules.f90 light_internal.f90 interface.f90 logbin.f90 geom2.f90 vsf.f90 water.f90 mc.f90 -out aomc.exe
If you are compiling the code in Linux using Intel's F90 compiler, type the following:
ifc global.f90 modules.f90 light_internal.f90 interface.f90 logbin.f90 geom2.f90 vsf.f90 water.f90 mc.f90 -o aomc
| Modules |
Functions/subroutines |
| anglesum aop_global const_global light_global log_global math_global physical_global propagation_global rand_global randmod |
anglesum (contains module anglesum) check_even check_odd check_range_int geom2 global interface_sub light logbin mc (main program) olayer rand rot3D vsf water |
geom2.f
Subroutine computes the new X,Y and Z position of the photon after a scattering event.global.f90
Subroutine contains all the global variables used in the AOMC model.interface.f90
Determines the outcome of the photon's interaction with the air-water interface.light_internal.f90
Subroutine computes the incident angle of the new photon on the water surface.logbin.f90
Subroutine logs the photon's trajectory.mc.f90 (main program)
This is the main program.modules.f90
Contains the random number generator function "rand", and the angle summation routine "anglesum".rand_global.f90
Module is contained in subroutine "modules.f90" and computes the random number "rand".vsf.f90
Subroutine determines the photon's angle of scatter using the scattering phase function.water.f90
Subroutine traces the path of a photon from the moment it enters the water to the moment when it lost from the system.
- aop.out: A listing by depth and wavelength of all of the apparent optical properties except radiance.
- iop.out: A listing of the inherent optical properties.
- rad.out: A listing by depth and wavelength of radiance at various angles
- wave.out: A listing by wavelength of the "just below the surface (0-)" values for several apparent optical properties (this is a subset of the data presented in the aop.out file).