This structure defines the problem settings (domain, filenames, session). More...
#include <mcx_utils.h>

Public Attributes | |
| int | nphoton |
| int | nblocksize |
| int | nthread |
| int | seed |
| float3 | srcpos |
| float3 | srcdir |
| float | tstart |
| float | tstep |
| float | tend |
| float3 | steps |
| uint3 | dim |
| uint3 | crop0 |
| uint3 | crop1 |
| int | medianum |
| int | detnum |
| float | detradius |
| float | sradius |
| medium * | prop |
| float4 * | detpos |
| float | minstep |
| int | maxgate |
| int | respin |
| int | printnum |
| unsigned char * | vol |
| char | session [MAX_SESSION_LENGTH] |
| char | meshtag [MAX_PATH_LENGTH] |
| char | isrowmajor |
| char | isreflect |
| char | isref3 |
| char | isnormalized |
| char | issavedet |
| char | issave2pt |
| char | isgpuinfo |
| char | basisorder |
| float | roulettesize |
| float | minenergy |
| float | nout |
| FILE * | flog |
| char | rootpath [MAX_PATH_LENGTH] |
| unsigned int | debuglevel |
| float | unitinmm |
This structure defines the problem settings (domain, filenames, session).
0 to use piece-wise-constant basis for fluence, 1, linear
sub-volume for cache
the other end of the caching box
| unsigned int MMC_config::debuglevel |
a flag to control the printing of the debug information
total detector numbers
| float4* MMC_config::detpos |
detector positions and radius, overwrite detradius
| float MMC_config::detradius |
detector radius
domain size
| FILE* MMC_config::flog |
stream handle to print log information
1 to print gpu info when attach, 0 do not print
1 to normalize the fluence, 0 for raw fluence
| char MMC_config::isref3 |
1 considering maximum 3 ref. interfaces; 0 max 2 ref
1 for reflecting photons at boundary,0 for exiting
1 for C-styled array in vol, 0 for matlab-styled array
1 to save the 2-point distribution, 0 do not save
1 to count all photons hits the detectors
simultaneous recording gates
total types of media
| char MMC_config::meshtag[MAX_PATH_LENGTH] |
a string to tag all input mesh files
| float MMC_config::minenergy |
minimum energy to propagate photon
| float MMC_config::minstep |
accumulation step size
thread block size
| float MMC_config::nout |
refractive index for the domain outside the mesh
(total simulated photon number) we now use this to temporarily alias totalmove, as to specify photon number is causing some troubles
num of total threads, multiple of 128
number of printed threads (for debugging)
optical property mapping table
number of repeatitions
| char MMC_config::rootpath[MAX_PATH_LENGTH] |
a string to specify the root folder of the simulation
| float MMC_config::roulettesize |
number of roulette for termination
| int MMC_config::seed |
random number generator seed
| char MMC_config::session[MAX_SESSION_LENGTH] |
session id, a string
| float MMC_config::sradius |
source region radius: if set to non-zero, accumulation will not perform for dist<sradius; this can reduce normalization error when using non-atomic write
src normal direction
src position in mm
voxel sizes along x/y/z in mm
| float MMC_config::tend |
end time in second
| float MMC_config::tstart |
start time in second
| float MMC_config::tstep |
time step in second
| float MMC_config::unitinmm |
define the length unit in mm
| unsigned char* MMC_config::vol |
pointer to the volume
1.6.3