Click or drag to resize

GridPoint Class

Base class for all gridpoints
Inheritance Hierarchy

Namespace:  DHI.Mike1D.Engine
Assembly:  DHI.Mike1D.Engine (in DHI.Mike1D.Engine.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public abstract class GridPoint : IComparable, 
	IGridPoint, INetworkGridPoint

The GridPoint type exposes the following members.

Constructors
  NameDescription
Protected methodGridPoint
Constructor
Top
Properties
  NameDescription
Public propertyD2x
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.
Public propertyDx
Distance to prev point. For the first grid point in a reach it is zero.
Public propertyLocation
Location of grid point
Public propertyPointIndex
Index in list of gridpoints
Public propertyRatio
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

Top
Methods
  NameDescription
Public methodCompareTo
Compares the current instance with another object of the same type.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetGridPointSpan
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.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Protected field_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.
Protected field_dx
Distance to prev point for the first grid point in a reach it is zero.
Protected field_location
Location in network.
Top
See Also