Click or drag to resize

EngineTimeCheckPointControllerLimitToCheckPoint Method

Make sure next timestep does not go past next CheckPoint. Assume checkpoints are sorted increasingly.

Namespace:  DHI.Mike1D.Engine
Assembly:  DHI.Mike1D.Engine (in DHI.Mike1D.Engine.dll) Version: 16.0.0.0 (11.1.1.1111)
Syntax
C#
public TimeSpan LimitToCheckPoint(
	DateTime currentTime,
	TimeSpan suggestedTimeStep
)

Parameters

currentTime
Type: SystemDateTime
suggestedTimeStep
Type: SystemTimeSpan

Return Value

Type: TimeSpan
See Also