PostTimestepReport Class

Abstract class for producing a report at end of time step.

Definition

Namespace: DHI.Mike1D.Plugins
Assembly: DHI.Mike1D.Mike1DDataAccess (in DHI.Mike1D.Mike1DDataAccess.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public abstract class PostTimestepReport : IMike1DPlugin
Inheritance
Object    PostTimestepReport
Derived
Implements
IMike1DPlugin

Constructors

PostTimestepReportInitializes a new instance of the PostTimestepReport class

Methods

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)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
Initialize Initialize plugin, providing arguments from setup, see Arguments

It is at this point possible to modify the MIKE 1D setup.

It is also possible to register for the ControllerCreatedEvent which will give access to the controller at time of creation, usually when starting up the simulation. From the controller you can register for various events using the ControllerEvent.

MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)
WriteTimestep 

Fields

_controller Controller
_countStep How often to write
_fileName Filename to write to. If null or empty, writes to console.
_saveStep When negative, only reports at end-of-simulation.
_writer File to write to

See Also