ResultDataDiff Class

Class for producing difference report between two result data objects

Definition

Namespace: DHI.Mike1D.ResultDataAccess
Assembly: DHI.Mike1D.ResultDataAccess (in DHI.Mike1D.ResultDataAccess.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public class ResultDataDiff
Inheritance
Object    ResultDataDiff

Constructors

ResultDataDiffInitializes a new instance of the ResultDataDiff class

Properties

ConsoleProgress Print progress to console, currently used when reading the file
ConvertGeometry Flag indicating if geometry should also be unit converted
Critical Flag indicating that there where critical differences
Failed Flag indicating if there are differences
IDCloseSearch Flag to try search also for ID's in the check file that are close to those in the reference file.
IgnoreCase Flag to ignore case when comparing string ID's
Messages Difference messages
OverAllDiff Over all difference
QuantityDiffs Difference for all quantities
ReachMatchMap For each ref reach, index of check reach. -1 if no node found
ResCheck Result data object to check against ResRef
ResRef Reference result data
TimestepFirst First time step to check
TimestepLast Last time step to check
Tolerance Absolute tolerance of when to report a difference.
UnitSystem Unit system to convert to, before applying diff

Methods

CheckAll Check all. Runs Init, if not already run, and then CheckAllQuantities.
CheckAllQuantities Check all quantities in the two files
CheckCatchmentQuantity(IRes1DCatchment, IRes1DCatchment, IQuantity) Checks quantity for catchment
CheckCatchmentQuantity(IRes1DCatchment, IRes1DCatchment, IQuantity, IQuantity) Checks quantity for catchment
CheckDataSetQuantity Checks one quantity of one data set, which can be reach, node, catchment, or global.
CheckGlobalDataQuantity Checks quantity for global data
CheckNodeQuantity Checks quantity for node
CheckReachQuantity(IRes1DReach, IRes1DReach, IQuantity) Checks quantity for reach
CheckReachQuantity(IRes1DReach, IRes1DReach, IQuantity, IQuantity) Checks quantity for reach
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)
FindTimestepLimits Find the limits of timesteps to investigate Sets up timestepFirst and timestepLast and does validity checks on those
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
Init Initialize diff, check static data, i.e. time, network and catchments
Interpolate(ITimeData, Int32, Single) Interpolate time data between (i-1) to (i) with fraction
Interpolate(IDataItem, Int32, Double, Int32) Interpolate time data between (i-1) to (i) with fraction
LoadFile Load result file.
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

Fields

SkipQuantities Skip quantities with Id's in this list

See Also