Calculates the time step for integrating the ice sheet, using the CFL condition.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(ice_sheet), | intent(in) | :: | this |
The time-step to use
function sheet_time_step(this) result(dt)
!* Author: Chris MacMackin
! Date: December 2016
!
! Calculates the time step for integrating the ice sheet, using
! the CFL condition.
!
class(ice_sheet), intent(in) :: this
real(r8) :: dt
!! The time-step to use
end function sheet_time_step