TimeCheckPointController Class |
It contains itself a list of check points, where check points can be added, CheckPoints.
It also contains a list of ITimeCheckPointSet, CheckPointSets, in case a user implementation of a check point set is appropriate (e.g. constant equidistant check points)
All check points within the list of check points and the list of check point sets will be considered as check points.
Namespace: DHI.Mike1D.Generic
The TimeCheckPointController type exposes the following members.
Name | Description | |
---|---|---|
TimeCheckPointController | Initializes a new instance of the TimeCheckPointController class |
Name | Description | |
---|---|---|
CheckPoints |
List of check points
| |
CheckPointSets |
List of check point sets
| |
LookAhead |
Lookahead variables. dt is adjusted to hit checkpoints in _nLookAhead times steps.
Default is 2 |
Name | Description | |
---|---|---|
AddCheckPoint |
Add check point. Time series is written at each check point.
| |
AddCheckPoints |
Add check point. Time series is written at each check point.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetCheckpoint |
Get the first check point after the provided current time, or MaxValue
if no checkpoint exists after current time.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
LimitToCheckPoint |
Make sure next timestep does not go past next CheckPoint. Assume checkpoints are
sorted increasingly.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Prepare |
Prepare for simulation
| |
SortCheckPoints |
Sort check points. Must be called after all checkpoint have been added and before LimitToCheckPoint() is used
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |