VPSimulationOptions Constructor (Int32, RandomNumberGeneratorType, AbsorptionWeightingType, PhaseFunctionType, IList DatabaseType , Boolean, Boolean, Double, Int32)Virtual Photonics - VTS Library
Virtual Photonics
constructor for simulation options, a class sub to SimulationInput

Namespace: Vts.MonteCarlo
Assembly: 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: OnlineSystem 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: OnlineSystem.Collections.Generic IList DatabaseType 
list of DatabaseType indicating data to be written database for post-processing
tallySecondMoment
Type: OnlineSystem Boolean
flag indicating whether to tally second moment information for error results
trackStatistics
Type: OnlineSystem Boolean
flag indicating whether to track statistics about where photons end up
russianRouletteWeightThreshold
Type: OnlineSystem Double
weight threshold to perform RR (default=0, no RR)
simulationIndex
Type: OnlineSystem Int32
index of simulation
See Also