Returns the velocity of the ice shelf across its domain.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(ice_shelf), | intent(in) | :: | this |
The ice velocity.
function shelf_velocity(this) result(velocity)
!* Author: Christopher MacMackin
! Date: July 2016
!
! Returns the velocity of the ice shelf across its domain.
!
class(ice_shelf), intent(in) :: this
class(vector_field), pointer :: velocity !! The ice velocity.
call this%velocity%allocate_vector_field(velocity)
velocity = this%velocity
#ifdef DEBUG
call logger%debug('ice_shelf%velocity','Returned ice shelf velocity')
#endif
end function shelf_velocity