Click or drag to resize

EngineTimeSteppingAdaptiveDecreaseTimeStep Method

Returns a new decreased time step, based on the current time and the current dt.

This method is called when a time step has been rejected and needs to be re-evaluated, hence this method must return a time step that is smaller than the current one.

If the currentDt is already the minimum allowed time step, this can be returned again.

Namespace:  DHI.Mike1D.Engine
Assembly:  DHI.Mike1D.Engine (in DHI.Mike1D.Engine.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public TimeSpan DecreaseTimeStep(
	DateTime currentTime,
	TimeSpan currentDt
)

Parameters

currentTime
Type: SystemDateTime
Current time
currentDt
Type: SystemTimeSpan
Current dt

Return Value

Type: TimeSpan
New time step

Implements

IEngineTimeStepAdaptiveDecreaseTimeStep(DateTime, TimeSpan)
See Also