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: 16.0.0.0 (11.1.1.1111)
Syntax
C#
public interface IModule : IProxyProvider

The IModule type exposes the following members.

Properties
  NameDescription
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 methodGetProxy
Get a proxy for generic/global data
(Inherited from IProxyProvider.)
Public methodGetProxy(EngineNode)
Get a proxy for the node
(Inherited from IProxyProvider.)
Public methodGetProxy(EngineReach)
Get a proxy for the reach, covering a number of gridpoints
(Inherited from IProxyProvider.)
Public methodGetProxy(EngineReach, Int32)
Get a proxy for the gridpoint in the reach
(Inherited from IProxyProvider.)
Public methodGetProxyReachGeneric
Get a proxy for the reach, generic data (not gridpoint associated)
(Inherited from IProxyProvider.)
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
See Also