Click or drag to resize

CouplingsUtil Class

Methods useful for finding string matches or Q points in a network.
Inheritance Hierarchy
SystemObject
  DHI.Mike1D.Engine.CouplingsCouplingsUtil

Namespace:  DHI.Mike1D.Engine.Couplings
Assembly:  DHI.Mike1D.Engine (in DHI.Mike1D.Engine.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public static class CouplingsUtil

The CouplingsUtil type exposes the following members.

Methods
  NameDescription
Public methodStatic memberDisableDispersion
Disable dispersion for AD on the enode
Public methodStatic memberFindNextQPoint
Find next Q point. If the next Q point is on the other side of a junction node compared to chainage the next reach Q point is being used.
Public methodStatic memberFindPreviousQPoint
Find previous Q point. If the previous Q point is on the other side of a junction node compared to chainage the previous reach Q point is being used.
Public methodStatic memberFindReachesWithLinkInside
Find index of all reaches that are inside the link
Public methodStatic memberFindSideStructureDirectionAngle
Public methodStatic memberGetAdjustedBoundaryValue(Double, Double, Double)
Calculate an adjusted water level boundary value.
Public methodStatic memberGetAdjustedBoundaryValue(Double, Double, Double, Double)
Public methodStatic memberGetEngineNodeFromLocation
Public methodStatic memberIsOutflowReversed
Figure out if the internal discharge direction in the HD module matches outflow.

Discharge is reversed, if the link is at the start of the reach. And the flag is flipped, if the ReverseDirection flag is set.

Works for open boundary nodes only.

Public methodStatic memberLastQPointDischargeGetter
Public methodStatic memberLimitArraysToSpan
Linit arrays to min-max chainage span. This method is called when the chainage array goes beyond the chainage limits of the river reach.
Public methodStatic memberNorthAngleDegrees
Angle to north in degrees
Public methodStatic memberSetWeirCrestLevel
Set crest level of weir
Top
See Also