Click or drag to resize

AbstractEngineDataReach Class

Abstract class for supporting Pull version of calculating additional output for a reach. Data is calculated when GetValues are called
Inheritance Hierarchy

Namespace:  DHI.Mike1D.Engine.ModuleData
Assembly:  DHI.Mike1D.Engine (in DHI.Mike1D.Engine.dll) Version: 16.0.0.0 (11.1.1.1111)
Syntax
C#
public abstract class AbstractEngineDataReach : IEngineDataReach<double>, 
	IEngineData<double>, IVectorGetter<double>

The AbstractEngineDataReach type exposes the following members.

Constructors
  NameDescription
Protected methodAbstractEngineDataReach
Initializes a new instance of the AbstractEngineDataReach class
Top
Properties
  NameDescription
Public propertyElementCount
Number of element values
Public propertyElementValues
element values
Public propertyGridPointIndices
Indices of gridpoints that data belongs to
Public propertyItem
Element value by index
Top
Methods
  NameDescription
Protected methodBuildIndexListForEndPoints
Build the indexlist for the specified gridpoints
Protected methodBuildIndexListForGridPoints
Build the indexlist for the specified gridpoints
Public methodStatic memberCreateDataItemForAllReaches
Factory method for creating a dataitem containing data for all reaches. The data for each reach are created by the delegate
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 a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetValue
Get the current values.
Public methodGetValues
Get the current values. A new array will be returned every time this function is called.
Public methodGetValues(Double)
Get the current values. Values are stored in provided array
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPrepare
Prepare for new simulation. For pull versions, this is the empty function.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Protected field_indexList
List of indexes into points in a reach
Top
Remarks
To build the index list, use the engineReach, since the hdReach does not have gridpoints before prepare is called, and we need to insert this before prepare (otherwise ResultData will not find it).
See Also