Network Class

Defines a 1D network, nodes and reaches.

Definition

Namespace: DHI.Mike1D.NetworkDataAccess
Assembly: DHI.Mike1D.NetworkDataAccess (in DHI.Mike1D.NetworkDataAccess.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public class Network : AbstractDataAccess, INetwork, 
	INetworkGeneric
Inheritance
Object    AbstractDataAccess    Network
Implements
INetworkGeneric, INetwork

Constructors

NetworkInitializes a new instance of the Network class

Properties

CatchmentConnections List of catchment connections.
Connection Holder of read/write information
(Inherited from AbstractDataAccess)
CustomTypes 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)
DoReorderNodes True if nodes are to be reordered, using a Reverse Cuthill-McKee approach
DQTable Table of head loss parameter sets, used for Curb Inlets links to 2D overland.

Key is id of node, value is DQ table

ExtensionData Holds data from an extended DataContract
(Inherited from AbstractDataAccess)
HeadLossParameterTable Table of possible referenceable head loss parameter sets.
Nodes List of nodes. Nodes are man holes, ...
Reaches List of sewer links
ReachSearcher 
StructureCollection Provides access to the structures

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetEndReaches 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).
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)
Validate Validate network

Fields

_connection Protected holder of read/write info
(Inherited from AbstractDataAccess)

Extension Methods

BuildReachSearcherReachSearcherT containing all reaches in the network.
(Defined by NetworkExtensions)

See Also