Click or drag to resize

IModule Interface

Interface to Engine modules

Namespace:  DHI.Mike1D.Engine
Assembly:  DHI.Mike1D.Engine (in DHI.Mike1D.Engine.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public interface IModule

The IModule type exposes the following members.

Properties
  NameDescription
Public propertyId
Id of module
Public propertyOrder
Order of module. Modules are processed in order.
Top
Methods
  NameDescription
Public methodFinalizeTimestep
FinalizeTimeStep allows the modules to do operations required when a time step has successfully completed
Public methodFinish
Finishes the module and releases any license
Public methodPerformTimestep
Perform timestep and return true if solution is accepted. Can be called several times for different values of Dt.
Public methodPreferredTimeStep
Returns the preferred time step for the current state. It is called between every time step and can increase as well as decrease the time step.

Used when AdaptiveTimeSteppingActivated is true.

Do return the maximum of the allowed time step; in case a buffer is required, this is handled by a time step controller.

Public methodPrepare
Prepare module for first time step.
Public methodPrepareForTimeStep
Prepare module for time step (set state(n+1) = state(n)).

Top
Extension Methods
See Also