Click or drag to resize

CompositStructure Class

Composit structure is a structure which contains one or more structures at the same location. Uses the Composite Pattern.
Inheritance Hierarchy
SystemObject
  DHI.Mike1D.StructureModuleCompositStructure

Namespace:  DHI.Mike1D.StructureModule
Assembly:  DHI.Mike1D.StructureModule (in DHI.Mike1D.StructureModule.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public class CompositStructure : ICompositStructure

The CompositStructure type exposes the following members.

Constructors
  NameDescription
Public methodCompositStructure
Initializes a new instance of the CompositStructure class
Top
Properties
  NameDescription
Public propertydDischargedDownStreamWaterLevel
Calculated Discharge derivative with DownStreamWaterLevel. Downstream is relative to the direction of chainage. The value is calculated by SetWaterLevels. Unit: [m^2/s]
Public propertydDischargedUpStreamWaterLevel
Calculated Discharge derivative with UpStreamWaterLevel. Upstream is relative to the direction of chainage. The value is calculated by SetWaterLevels. Unit: [m^2/s]
Public propertyDiagnostics
Validate composite structure
Public propertyDischarge
Calculated Discharge. The value is calculated by SetWaterLevels. Unit: [m^3/s]
Public propertyID
Public propertyInvertLevelDownstream
Public propertyInvertLevelUpstream
Public propertyLocation
Location property.
Public propertyMaximumIterations
Maximum number of iterations
Public propertyStructures
Getter to the list of structures
Public propertyTotalIterations
Top
Methods
  NameDescription
Public methodAdd
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 methodPrepare
Public methodPrepareTimeStep
Prepare structure for time step

This method need only be called in case structures are being controlled and i.e. a gate is closing with a specified speed and needs to know time.

Public methodSetWaterLevels(Double, Double)
Sets up- and down- stream water level and forces the calculation of the discharge and its derivatives.
Public methodSetWaterLevels(Double, Double, Double, Double)
Sets up- and down-stream water level and forces the calculation of the discharge and its derivatives.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodValidate
Top
See Also