Click or drag to resize

RRExtensions Class

Static class containing extension methods related to DHI.Mike1D.RainfallRunoffModule
Inheritance Hierarchy
SystemObject
  DHI.Mike1D.RainfallRunoffModuleRRExtensions

Namespace:  DHI.Mike1D.RainfallRunoffModule
Assembly:  DHI.Mike1D.RainfallRunoffModule (in DHI.Mike1D.RainfallRunoffModule.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public static class RRExtensions

The RRExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCalculateWeights
Calculate grid weights for catchment.

If catchment has a geometry (CatchmentGeometry), that is being used for the calculations. If it does not have a geometry, but it has a CenterPoint, the centerpoint is used.

Public methodStatic memberCreateMonthlyAbstractionBoundary
Sets up monthly abstraction for nam, assuming the abstraction values are in mm/month.
Public methodStatic memberFind(RainfallRunoffData, String)
Find the catchment with the given model ID. Returns null if not found.
Public methodStatic memberFind(RainfallRunoffData, String, IQuantity)
Find the first catchment with the given name and offering quantity. Returns null if none found.
Public methodStatic memberFindAll(RainfallRunoffData, String)
Get a catchment via its name. Returns null if no catchment has this name.
Public methodStatic memberFindAll(ICatchments, String, IQuantity)
Find all catchments with the specified name, and providing the specified quantity
Public methodStatic memberFindAll(RainfallRunoffData, String, IQuantity)
Find all catchments with the specified name, and offering the specified quantity. Returns null if none found.
Public methodStatic memberIsImpervious
Returns true when the surface is impervious
Public methodStatic memberNTSGeometry
Create an NTS geometry from the CatchmentGeometry.

Depending on the coordinates, the returned IGeometry is either a NTS Polygon or NTS MultiPolygon.

Public methodStatic memberUHMRescaleTimeStep
Rescale time step for UHM catchments such that the number of computational cells do not get too big. A "decent" range of value for maxNumberOfCells is 100-200.
Top
See Also