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