GriddedValueBoundarySource Class

Helper class, implementing an IBoundarySource for a boundary extracting weighted values directly from a grid.

Using the GriddedValueBuffer as value provider.

Definition

Namespace: DHI.Mike1D.BoundaryModule
Assembly: DHI.Mike1D.BoundaryModule (in DHI.Mike1D.BoundaryModule.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public class GriddedValueBoundarySource : IBoundarySource, 
	IBoundaryWithComponents
Inheritance
Object    GriddedValueBoundarySource
Implements
IBoundarySource, IBoundaryWithComponents

Constructors

Properties

BoundaryID ID of boundary. Used for searching and connecting sources and items, when required. Not used by the engine.
Components Not supported
Modifier Not supported

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)
GetAccumulatedValue(DateTime, DateTime) Returns the mid-point value
GetAccumulatedValue(Int32, DateTime, DateTime) Not supported
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetNextTransitionTime Get next transistion time of GriddedValueBuffer, which just returns the date
GetTypeGets the Type of the current instance.
(Inherited from Object)
GetValue(DateTime) Get value for this source at the given time
GetValue(Int32, DateTime) Not supported
GetValueWithoutDWF Get value for this source at the given time excluding items marked as dry weather flow
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Prepare Not supported
ToStringReturns a string that represents the current object.
(Inherited from Object)
Validate Not supported

Extension Methods

FindTimeNextValue Findes the time where the boundary source has a value that is non-zero. The time interval is within the provided limits.
(Defined by BoundaryExtensions)
GetAccumulatedValue Method for IBoundarySource to support items implementing GetAccumulatedValue(DateTime, DateTime, TimeSpan)
(Defined by BoundaryExtensions)

See Also