Showing revision 3

MMC v0.8.preview command line help

###############################################################################
#                         Mesh-based Monte Carlo (MMC)                        #
#     Copyright (c) 2010,2011 Qianqian Fang <fangq at nmr.mgh.harvard.edu>    #
#                                                                             #
#    Martinos Center for Biomedical Imaging, Massachusetts General Hospital   #
###############################################################################
$MMC $Rev:: 177 $ Last Commit $Date:: 2011-06-16 19:19:17#$ by $Author:: fangq$
###############################################################################

usage: ../../src/bin/mmc_sfmt <param1> <param2> ...
where possible parameters include (the first item in [] is the default value)
 -i 	       (--interactive) interactive mode
 -s sessionid  (--session)     a string to label all output file names
 -f config     (--input)       read config from a file
 -n [0.|float] (--photon)      total photon number
 -b [0|1]      (--reflect)     1 do reflection at int&ext boundaries, 0 no ref.
 -e [0.|float] (--minenergy)   minimum energy level to trigger Russian roulette
 -U [1|0]      (--normalize)   1 to normalize the fluence to unitary,0 save raw
 -d [0|1]      (--savedet)     1 to save photon info at detectors,0 not to save
 -S [1|0]      (--save2pt)     1 to save the fluence field, 0 do not save
 -C [1|0]      (--basisorder)  1 piece-wise-linear basis for fluence,0 constant
 -V [0|1]      (--specular)    1 source located in the background,0 inside mesh
 -O [X|XFE]    (--outputtype)  X - output flux, F - fluence, E - energy deposit
 -u [1.|float] (--unitinmm)    define the length unit in mm for the mesh
 -h            (--help)        print this message
 -l            (--log)         print messages to a log file instead
 -E [0|int]    (--seed)        set random-number-generator seed
 -M [H|PHBS]   (--method)      choose ray-tracing algorithm (only use 1 letter)
                               P - Plucker-coordinate ray-tracing algorithm
			       H - Havel's SSE4 ray-tracing algorithm
			       B - partial Badouel's method (used by TIM-OS)
			       S - branch-less Badouel's method with SSE
 -D [0|int]    (--debug)       print debug information (you can use an integer
  or                           or a string by combining the following flags)
 -D [''|MCBWDIOXATRPE]         1 M  photon movement info
                               2 C  print ray-polygon testing details
                               4 B  print Bary-centric coordinates
                               8 W  print photon weight changes
                              16 D  print distances
                              32 I  entering a triangle
                              64 O  exiting a triangle
                             128 X  hitting an edge
                             256 A  accumulating weights to the mesh
                             512 T  timing information
                            1024 R  debugging reflection
                            2048 P  show progress bar
                            4096 E  exit photon info
      combine multiple items by using a string, or add selected numbers together
example:
       ../../src/bin/mmc_sfmt -n 1000000 -f input.inp -s test -b 0 -D TP
Powered by Habitat