Click or drag to resize

Catchment Methods

The Catchment type exposes the following members.

Methods
  NameDescription
Public methodAccepts
Public methodAddToOffers
Public methodApplyBoundary(ICatchmentSourceBoundary)
Apply a boundary to this catchment
Public methodApplyBoundary(CatchmentSourceBoundaryTypes, IBoundarySource)
Apply a boundary to this catchment
Public methodApplyBoundary(GlobalSourceBoundaryTypes, GlobalGeoLocatedSource)
Apply a boundary to this catchment
Protected methodApplyBoundaryLIDs(GlobalGeoLocatedSource)
Apply boundary to LID's in catchment
Protected methodApplyBoundaryLIDs(ICatchmentSourceBoundary)
Apply boundary to LID's in catchment
Protected methodApplyBoundaryLIDs(CatchmentSourceBoundaryTypes, IBoundarySource)
Apply boundary to LID's in catchment
Protected methodApplyBoundaryLIDs(GlobalSourceBoundaryTypes, GlobalGeoLocatedSource)
Apply boundary to LID's in catchment
Public methodBoundaryTypeIsAdditive
Return true if boundaries of the specified type are additive; the contributions of two discharge boundaries add up, while two temperature boundaries do not.
Protected methodCalculateStatistics
Calculate statistics on catchment.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Destructor
(Overrides ObjectFinalize.)
Protected methodFinalizeTimeStep
Finalizes the time step for the catchment.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetRequiredTypes
Get the type of boundary required by this catchment
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodGetYearlyStat
Get or create a RRYearlyStat object for the specified year.
Public methodInitialize
Initialize Rainfall Runoff model. Sets up static data.
Public methodInitializePlugins
Initializes the cathcment plugins.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOffers
List of data types that is offered and can be used in GetValue
Public methodPerformTimeStep
This procedure forwards the calculation with one time step.
Public methodPrepare
Prepare Rainfall Runoff model. Sets up dynamic data so that the model is ready for first time step.
Protected methodPrepareForTimeStep
Prepares the catchment for the time step.
Public methodPreparePlugins
Prepares the cathcment plugins.
Protected methodPrepareSource
Prepare boundary source.
Protected methodPrepareState
Prepare state, especially time
Protected methodReadPluginStates
Write current state of plugins
Public methodReset
Reset the catchment and set the current time.
Public methodResetBoundaries
Remove boundaries applied in previous runs
Public methodStateUpdated
If state has been updated from outside, call this method to recalculate state dependent parameters.
Protected methodTakeTimeStep
This procedure is the one actually calculating the new time step.
Public methodTimeOffers
List of data types that is offered and can be used in GetValue
Public methodTimeOfNextUpdate Obsolete.
Return the time of next update. Used for PostTimeStepEvent event in Catchments. If a catchment uses variable timesteps, then this function must be overridden!!
Public methodTimeValueGetter
Get value getter for the specified data quantity
Public methodToString
Returns a string that represents the current object.
(Overrides ObjectToString.)
Protected methodTriggerPostTimeStepEvent
Trigger the PostTimeStepEvent, called at end of a time step.
Public methodType
The type of catchment: NAM, Urban A etc
Public methodUpdate
Update internal state of catchment to time Time()
Protected methodUpdateCheckPointTime
Updates check point time.
Protected methodUpdateRouting
Updates the routing for the catchment.
Protected methodUpdateStorage
Updates the storage for the catchment.
Protected methodUpdateTime
Update time, setting _timeNew to _timeOld + _effectiveTimeStep. This method will assue that _timeNew does not go beyond _endTime, by modifying _effectiveTimeStep. Before calling UpdateTime, be sure that _effectiveTimeStep is set.
Protected methodUpdateTimeStepUsingCheckPoint
Updates the present time if it is greater than the check point time.
Public methodValidate
Validate that the catchment is set up correctly
Protected methodValidateLIDs
Validate all LIDs in catchment
Public methodValueGetter
Get value setter for the specified data quantity
Public methodValueSetter
Public methodVolumeInCatchment
Volume of water stored in catchment after previous time step.
Public methodVolumeInCatchmentAtStart
Volume of water stored in catchment after previous time step.
Protected methodWritePluginStates
Write current state of plugins
Top
Extension Methods
  NameDescription
Public Extension MethodGetter(IQuantity)Overloaded.

From the proxy, return an FuncTResult for the specified quantity.

It returns the first quantity of that type that is offered, and null if the quantity is not offered.

(Defined by ProxyExtensions.)
Public Extension MethodGetter(IQuantity, IQuantity)Overloaded.

From the proxy, return an FuncTResult for the specified quantity.

It returns the first quantity of that type that is offered, and null if the quantity is not offered.

(Defined by ProxyExtensions.)
Public Extension MethodGetters
Returns a set of FuncTResult for the quantity. We can return several quantities with the same id (usually they will differ in their description). If the quantity is not offerent, an empty list is returned.
(Defined by ProxyExtensions.)
Public Extension MethodGettersFraction
Returns a set of FuncT, TResult for the quantity. We can return several quantities with the same id (usually they will differ in their description). If the quantity is not offerent, an empty list is returned.
(Defined by ProxyExtensions.)
Public Extension MethodGetterUnboxed

From the proxy, return an FuncTResult for the specified quantity.

It returns the first quantity of that type that is offered, and null if the quantity is not offered.

(Defined by ProxyExtensions.)
Public Extension MethodNTSGeometry
Create an NTS geometry from the CatchmentGeometry.

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

(Defined by RRExtensions.)
Public Extension MethodSetter

From the proxy, return an IDoubleGetSet for the specified quantity.

It returns the first quantity of that type that is accepted, and null if the quantity is not accepted.

(Defined by ProxyExtensions.)
Public Extension MethodTimeValueGetter

From the proxy, return an FuncT, TResult for the specified quantity.

It returns the first quantity of that type that is offered, and null if the quantity is not offered.

(Defined by ProxyExtensions.)
Top
See Also