Click or drag to resize

IEngineTimeStepAdaptive Interface

Interface for controlling the size of the time step adaptively

Namespace:  DHI.Mike1D.Engine
Assembly:  DHI.Mike1D.Engine (in DHI.Mike1D.Engine.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public interface IEngineTimeStepAdaptive : IEngineTimeStep

The IEngineTimeStepAdaptive type exposes the following members.

Properties
  NameDescription
Public propertyTimeStepOk
Flag indicating if last time step was ok. If not ok, the DecreaseTimeStep(DateTime, TimeSpan) will be called.
Top
Methods
  NameDescription
Public methodDecreaseTimeStep
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.

Public methodNextTimeStep
Return the new time step, based on the current time.
(Inherited from IEngineTimeStep.)
Public methodPrepare (Inherited from IEngineTimeStep.)
Public methodReset
Reset the time stepping information.
(Inherited from IEngineTimeStep.)
Top
See Also