Click or drag to resize

Network Class

Defines a 1D network, nodes and reaches.
Inheritance Hierarchy

Namespace:  DHI.Mike1D.NetworkDataAccess
Assembly:  DHI.Mike1D.NetworkDataAccess (in DHI.Mike1D.NetworkDataAccess.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public class Network : AbstractDataAccess, INetwork

The Network type exposes the following members.

Constructors
  NameDescription
Public methodNetwork
Initializes a new instance of the Network class
Top
Properties
  NameDescription
Public propertyCatchmentConnections
List of catchment connections.
Public propertyConnection
Holder of read/write information
(Inherited from AbstractDataAccess.)
Public propertyCustomTypes
List of custom types stored in the data object and that must be serialized.

A custom type is e.g. a user implemented structure or catchment model. In order to store information on the custom type in the .m1dx file, the system needs to know which custom types are being used, and they must be added to this list.

(Inherited from AbstractDataAccess.)
Public propertyDoReorderNodes
True if nodes are to be reordered, using a Reverse Cuthill-McKee approach
Public propertyDQTable
Table of head loss parameter sets, used for Curb Inlets links to 2D overland.

Key is id of node, value is DQ table

Public propertyExtensionData
Holds data from an extended DataContract
(Inherited from AbstractDataAccess.)
Public propertyHeadLossParameterTable
Table of possible referenceable head loss parameter sets.
Public propertyNodes
List of nodes. Nodes are man holes, ...
Public propertyReaches
List of sewer links
Public propertyStructureCollection
Provides access to the structures
Top
Methods
  NameDescription
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 methodGetEndReaches
Returns all locations (reach id, chainage) that is an end reach, i.e. end of the network. Those usually require a boundary condition. If no boundary condition is giving, the engine assumes a closed/wall boundary (which is usually not intended).
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.)
Public methodValidate
Validate network
Top
Fields
  NameDescription
Protected field_connection
Protected holder of read/write info
(Inherited from AbstractDataAccess.)
Top
Extension Methods
See Also