VPMonteCarloSimulation MembersVirtual Photonics - VTS Library
Virtual Photonics

The MonteCarloSimulation type exposes the following members.
Constructors

  NameDescription
Public methodMonteCarloSimulation 
Default constructor to allow quick-and-easy simulation
Public methodMonteCarloSimulation(SimulationInput)
Class that takes in SimulationInput and methods to initialize and execute Monte Carlo simulation
Back to Top
Methods

  NameDescription
Public methodCancel
Method to cancel the simulation, for example, from the gui
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodExecuteMCLoop
Executes the Monte Carlo Loop
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodRun
Run the simulation
Public methodStatic memberRunAll
Method to run parallel MC simulations
Public methodSetOutputPathForDatabases
Method that sets the output path (string) for databases
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Back to Top
Fields

  NameDescription
Protected field_input
SimulationInput saved locally
Back to Top
Properties

  NameDescription
Public propertyIsRunning
Boolean indicating whether simulation is running or not
Public propertyPhaseFunctionType
Phase function enum type as specified in SimulationOptions
Public propertyResults
Results of the simulation
Public propertyResultsAvailable
Boolean indicating whether results are available or not
Back to Top
See Also