Getting started

Once installed, using ValoMC is straightforward. To initiate a simulation, three structures must be provided to the main function along with one optional:

solution = ValoMC(vmcmesh, vmcmedium, vmcboundary, vmcoptions);

Input

vmcmesh

a structure that defines the simulation geometry

vmcmedium

a structure that defines the properties of the optical medium

vmcboundary

a structure that defines the boundary conditions, such as light sources etc.

vmcoptions (optional)

a structure that can be used for additional settings, such as total photon packet count

Output

solution

a structure that contains the simulation results

These are documented in 2d/3d -> Code documentation -> List of structures. The Matlab interface consists of auxiliary functions that help to set up these structures.

The best way to familiarize with the code is to go through the examples found in the navigation menu.

You should also be able to see the same documentation within MATLAB from the graphical user interface using button '?' -> Supplementary software