ModuleHDExtensions Class

Class with extension methods for the HD module

Definition

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

Methods

AddToOffers(IHDHGridPoint, IQuantity, FuncDouble) Add to "offers", i.e. quantities that can be outputted to result file and requested through the result proxy system

Adding to offers of HD grid points using this method is intended for experimentation, where it is easy to readily get an offer on a grid point. For more memory optimized code the use of DataModule is suggested.

AddToOffers(IHDNode, IQuantity, FuncDouble) Add to "offers", i.e. quantities that can be outputted to result file and requested through the result proxy system
AddToOffers(IHDQGridPoint, IQuantity, FuncDouble) Add to "offers", i.e. quantities that can be outputted to result file and requested through the result proxy system

Adding to offers of HD grid points using this method is intended for experimentation, where it is easy to readily get an offer on a grid point. For more memory optimized code the use of DataModule is suggested.

MinimumOfNaturalAndCriticalDepth Calculates minimum of natural and critical depth.
Slope Slope of reach, when looking into the reach from the node.

The slope is positive if the reach bottome level increases when looking from the node.

Does not work for structure reaches

See Also