NodeDischargeAvailable Class |
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)
Namespace: DHI.Mike1D.Engine.ModuleHD
The NodeDischargeAvailable type exposes the following members.
Name | Description | |
---|---|---|
NodeDischargeAvailable |
Constructor
|
Name | Description | |
---|---|---|
DischargeAvailableForPumping |
Return the maximum discharge that can be pumped out of this node before it runs dry.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |