Click or drag to resize

IModulePreferredTimeStep Method

Returns the preferred time step for the current state. It is called between every time step and can increase as well as decrease the time step.

Used when AdaptiveTimeSteppingActivated is true.

Do return the maximum of the allowed time step; in case a buffer is required, this is handled by a time step controller.

Namespace:  DHI.Mike1D.Engine
Assembly:  DHI.Mike1D.Engine (in DHI.Mike1D.Engine.dll) Version: 16.0.0.0 (11.1.1.1111)
Syntax
C#
TimeSpan PreferredTimeStep(
	bool onFailure,
	TimeSpan maxDt
)

Parameters

onFailure
Type: SystemBoolean
maxDt
Type: SystemTimeSpan

Return Value

Type: TimeSpan
See Also