evaluateTimestepSimple Interface

interface
private module function evaluateTimestepSimple(this, inputVars, currentTimestep) result(timestep)

Arguments

Type IntentOptional Attributes Name
class(SimpleTimestepController), 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 as min(max) of variable product