HDModule Class |
The HDModule also implements the IGraph interface, defining only the part of the HD network in the graph.
Namespace: DHI.Mike1D.Engine.ModuleHD
public class HDModule : IModule, IProxyProvider, ISourcePointProxyProvider, IGraph
The HDModule type exposes the following members.
| Name | Description | |
|---|---|---|
| DataItems |
Data items for the HD module that can be reused.
| |
| HDParameters |
HDParameters
| |
| IsInitialized |
Returns true if the moduel is initialized (the constructor does so currently)
| |
| IsPrepared |
Returns true if the moduel is prepared (Prepare(Diagnostics) has been called)
| |
| IterationNumber |
Iteration number. Access to the iteration number is needed in the control module (via a sensor)
| |
| Nodes |
List of all HD nodes in network.
Need not include all Engine nodes, use the GetNode(EngineNode) to check if a given engine node also has a corresponding HD node. | |
| NumericalWater | Obsolete.
Added numerical water = Added numerical water in nodes + Added numerical water in grid points
| |
| NumericalWaterInGridPoints | Obsolete.
Added numerical water in grid points
| |
| NumericalWaterInNodes | Obsolete.
Added numerical water in nodes
| |
| Order |
Order of module. Modules are processed in order.
| |
| Reaches |
List of all HD reaches in network.
Need not include all Engine reaches, use the GetReach(EngineReach) to check if a given engine reach also has a corresponding HD reach. | |
| RuntimeDiagnostics |
Diagnostics instance for the HD module. Used during runtime.
|
| Name | Description | |
|---|---|---|
| AddBoundaryToAdaptiveTimeStepCheck |
Add a boundary source to the adaptive time series check
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| FinalizeTimestep |
FinalizeTimeStep allows the modules to do operations required when
a time step has successfully completed
| |
| Finish |
Release any license and clean up
| |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetImplicitSourcePoint(EngineNode) |
Get an implicit source point proxy for the node.
This can only be called after the Prepare(Diagnostics) function has been called. | |
| GetImplicitSourcePoint(EngineReach, Int32) |
Get an implicit source point proxy for the gridpoint in the reach.
This can only be called after the Prepare(Diagnostics) function has been called. | |
| GetNode |
Maps an EngineReach to the corresponding HD Node
| |
| GetProxy |
Get a proxy for generic/global data
| |
| GetProxy(EngineNode) |
Get a proxy for the node
| |
| GetProxy(EngineReach) |
Get a proxy for the reach, covering a number of gridpoints
| |
| GetProxy(EngineReach, Int32) |
Get a proxy for the gridpoint in the reach
| |
| GetProxyReachGeneric |
Get a proxy for the reach, generic data (not gridpoint associated)
| |
| GetReach | Maps an EngineReach to the corresponding HD Reach | |
| GetSourcePoint(EngineReach, Int32) | Obsolete.
Get a source point for the gridpoint in the reach.
Usually this can only be called after the Prepare(Diagnostics) function has been called.
| |
| GetSourcePoint(EngineReach, Type) | Obsolete.
Get a source point covering all gridpoints in the reach of the specified type
Usually this can only be called after the Prepare(Diagnostics) function has been called.
| |
| GetSourcePoint(EngineReach, Type, ILocationSpan) | Obsolete.
Get a source point covering all gridpoints in the span of the specified type
Usually this can only be called after the Prepare(Diagnostics) function has been called.
| |
| GetSourcePointProxy(EngineNode) |
Get a source point proxy for the node.
Usually this can only be called after the Prepare(Diagnostics) function has been called. | |
| GetSourcePointProxy(EngineReach, Int32) |
Get a source point proxy for the gridpoint in the reach.
Usually this can only be called after the Prepare(Diagnostics) function has been called. | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| PerformTimestep |
Perform one time step. Return true if time step succeeded, or false if it failed.
| |
| PreferredTimeStep | ||
| Prepare |
Prepare HDModule for first time step.
| |
| PrepareForTimeStep |
Prepare nodes and reaches for next time step.
- first time: Updates states, n to n+1 and nph. Derived variables depending
on only local state at n, n+1 and nph may also be updated
- Subsequent times: Resets the external source contributions.
| |
| SetInitialWaterLevels |
Set the water levels in all grid points and nodes to prepare for the first iteration.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| ExternalIntervalSources |
Event for applying external sources in interval. Called once for each time step.
| |
| ExternalSources |
Event for applying external sources. Called once for each time step.
| |
| PreIterationEvent |
An event that is called everytime a timestep was successfully performed.
|