IEngineTimeStepAdaptive Interface

Interface for controlling the size of the time step adaptively

Definition

Namespace: DHI.Mike1D.Engine
Assembly: DHI.Mike1D.Engine (in DHI.Mike1D.Engine.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public interface IEngineTimeStepAdaptive : IEngineTimeStep
Implements
IEngineTimeStep

Properties

TimeStepOk Flag indicating if last time step was ok. If not ok, the DecreaseTimeStep(DateTime, TimeSpan) will be called.

Methods

DecreaseTimeStep 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.

NextTimeStep Return the new time step, based on the current time.
(Inherited from IEngineTimeStep)
Prepare
(Inherited from IEngineTimeStep)
Reset Reset the time stepping information.
(Inherited from IEngineTimeStep)

See Also