timestepCalc Interface

interface
private function timestepCalc(this, inputVars, currentTimestep) result(timestep)

Arguments

Type IntentOptional Attributes Name
class(TimestepController), intent(inout) :: this
class(VariableContainer), intent(in) :: inputVars

Variable container used to calculate timestep

real(kind=rk), intent(in) :: currentTimestep

Current timestep to be used if the controller rescales timesteps

Return Value real(kind=rk)

Description

Calculate timestep in accordance with timestep controller rules and using current timestep and input variables