Click or drag to resize

NodeDischargeAvailable Class

Helper class calculating discharge available in node.

this is not intended for parallel pumps - if there are more than one pump connected to a node, this will not do as intended, reporting total available volume to both/all pumps.

This is used in the parallel part of the code, in the loop over reaches, and this may access data in other reaches (which other threads can be working on), so it is important that this class only accesses properties of the reach that does not change - especially calling hdh-gridpoint cross section functionality is not allowed (race condition on the cross section buffer values / hdReachConnection.ReachNodeFlowType)

Inheritance Hierarchy
SystemObject
  DHI.Mike1D.Engine.ModuleHDNodeDischargeAvailable

Namespace:  DHI.Mike1D.Engine.ModuleHD
Assembly:  DHI.Mike1D.Engine (in DHI.Mike1D.Engine.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public class NodeDischargeAvailable

The NodeDischargeAvailable type exposes the following members.

Constructors
  NameDescription
Public methodNodeDischargeAvailable
Constructor
Top
Methods
  NameDescription
Public methodDischargeAvailableForPumping
Return the maximum discharge that can be pumped out of this node before it runs dry.
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 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
See Also