Virtual Photonics
Assembly: Vts (in Vts.dll) Version: 1.0.12.0 (1.0.12)
constructor for simulation options, a class sub to SimulationInput
Namespace: Vts.MonteCarloAssembly: Vts (in Vts.dll) Version: 1.0.12.0 (1.0.12)
Syntax
public SimulationOptions( int seed, RandomNumberGeneratorType rngType, AbsorptionWeightingType absWeightingType, PhaseFunctionType phaseFunctionType, IList<DatabaseType> databases, bool tallySecondMoment, bool trackStatistics, double russianRouletteWeightThreshold, int simulationIndex )
Parameters
- seed
- Type: System Int32
random number generator seed (-1=randomly chosen seed, >=0 reproducible sequence)
- rngType
- Type: Vts RandomNumberGeneratorType
random number generator type
- absWeightingType
- Type: Vts AbsorptionWeightingType
absorption weighting type
- phaseFunctionType
- Type: Vts PhaseFunctionType
phase function type
- databases
- Type: System.Collections.Generic IList DatabaseType
list of DatabaseType indicating data to be written database for post-processing
- tallySecondMoment
- Type: System Boolean
flag indicating whether to tally second moment information for error results
- trackStatistics
- Type: System Boolean
flag indicating whether to track statistics about where photons end up
- russianRouletteWeightThreshold
- Type: System Double
weight threshold to perform RR (default=0, no RR)
- simulationIndex
- Type: System Int32
index of simulation
See Also