RoutingGridPoint Class

Routing grid point, where discharge is defined. Can also contain a water level, and a cross section.

There is a routing grid point in the end of every EngineRoutingElement.

Definition

Namespace: DHI.Mike1D.Engine
Assembly: DHI.Mike1D.Engine (in DHI.Mike1D.Engine.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public class RoutingGridPoint : GridPoint
Inheritance
Object    GridPoint    RoutingGridPoint

Constructors

RoutingGridPoint Create new routing grid point at location.

Properties

CrossSection Cross section.
D2x distance from previous point to next point. For the first grid point in the reach it is the distance to the grid point after this point. For the last grid point in the reach it is the distance to the gridpiont before this point.
(Inherited from GridPoint)
Dx Distance to prev point. For the first grid point in a reach it is zero.
(Inherited from GridPoint)
Location Location of grid point
(Inherited from GridPoint)
PointIndex Index in list of gridpoints
(Inherited from GridPoint)
Ratio Ratio used when interpolating between values in the up and down stream reach direction v = (1-ratio)*v_{j-1} + ratio*v_{j+1}

Ratio is Dx/D2x


(Inherited from GridPoint)
RoutingElement Routing element that this grid point is associated with. The grid point is located at the end of the routing element.
ZLocation Location of grid point
(Inherited from GridPoint)

Methods

CompareTo Compares the current instance with another object of the same type.
(Inherited from GridPoint)
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)
GetGridPointSpan Get the ILocationSpan around this gridpoint where the values are valid, usually the span from the previous gridpoint to the next gridpoint in the reach.
(Inherited from GridPoint)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

Fields

_d2x distance from previous point to next point. For the first grid point in the reach it is the distance to the grid point after this point. For the last grid point in the reach it is the distance to the gridpiont before this point.
(Inherited from GridPoint)
_dx Distance to prev point for the first grid point in a reach it is zero.
(Inherited from GridPoint)
_location Location in network.
(Inherited from GridPoint)

See Also