MMC_config Struct Reference

This structure defines the problem settings (domain, filenames, session). More...

#include <mcx_utils.h>

Collaboration diagram for MMC_config:
Collaboration graph
[legend]

List of all members.

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
mediumprop
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

Detailed Description

This structure defines the problem settings (domain, filenames, session).


Member Data Documentation

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

detector positions and radius, overwrite detradius

detector radius

domain size

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

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

minimum energy to propagate photon

accumulation step size

thread block size

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

number of roulette for termination

random number generator seed

char MMC_config::session[MAX_SESSION_LENGTH]

session id, a string

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

end time in second

start time in second

time step in second

define the length unit in mm

unsigned char* MMC_config::vol

pointer to the volume


The documentation for this struct was generated from the following file:
 All Classes Files Functions Variables
Generated on Wed Dec 15 18:02:15 2010 by  doxygen 1.6.3