Calculates an appropriate time step with which to integrate the cryosphere so as not to cause numerical instability.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(cryosphere), | intent(inout) | :: | this |
function time_step(this)
!* Author: Chris MacMackin
! Date: December 2016
!
! Calculates an appropriate time step with which to integrate the
! cryosphere so as not to cause numerical instability.
!
class(cryosphere), intent(inout) :: this
real(r8) :: time_step
time_step = this%dt_factor*this%ice%time_step()
end function time_step