SimulationWorker Methods

Methods

CreateSetupfilenameWithID Create a setup file name including the id provided.
Dispose 
DrawTextProgressBar Draw a progress bar at the current cursor position. Be careful not to Console.WriteLine or anything whilst using this to show progress!
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
FlipPauseFlag Flip the Pause flag, i.e. if running, make it pause, if paused, make it run.
GetDefaultLogFileName 
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
Load Load the setup
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ModifySetupfilepathWithID Modify the setup file path to include the id.
Run Run the simulation. Load must have been called first, but Run can be called multiple times.
RunXmlCompare Run compare on original mike1d data object and an object loaded from xml.
StartWorkInBackground Calling this method will load and run the simulation (call Work) in a background thread
StopSimulation Stop the simulation. The simulation will end when the current time step has been completed.
ToStringReturns a string that represents the current object.
(Inherited from Object)
Work Start work, main method of SimulationWorker.

Calls Load and Run in order.

WriteHtmlSummary 

See Also