UtilLimitTimeStepToCheckPoint Method |
The lookAhead parameter defines how many time steps before checkPoint to modify in order to hit the checkPoint. If lookAhead is 1, only the last time step before checkPoint will be modified. If 2, then two time steps before checkPoint will be modified etc.
Assuming checkPoint is after currentTime (suggestedTimeStep is returned).
Namespace: DHI.Mike1D.Generic
public static TimeSpan LimitTimeStepToCheckPoint( DateTime currentTime, TimeSpan suggestedTimeStep, DateTime checkPoint, int lookAhead )
[Missing <param name="currentTime"/> documentation for "M:DHI.Mike1D.Generic.Util.LimitTimeStepToCheckPoint(System.DateTime,System.TimeSpan,System.DateTime,System.Int32)"]
[Missing <param name="suggestedTimeStep"/> documentation for "M:DHI.Mike1D.Generic.Util.LimitTimeStepToCheckPoint(System.DateTime,System.TimeSpan,System.DateTime,System.Int32)"]
[Missing <param name="checkPoint"/> documentation for "M:DHI.Mike1D.Generic.Util.LimitTimeStepToCheckPoint(System.DateTime,System.TimeSpan,System.DateTime,System.Int32)"]
[Missing <param name="lookAhead"/> documentation for "M:DHI.Mike1D.Generic.Util.LimitTimeStepToCheckPoint(System.DateTime,System.TimeSpan,System.DateTime,System.Int32)"]