Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(dallaston2015_melt), | intent(in) | :: | this |
The melt rate from the ice into the plume water.
function dallaston2015_melt_rate(this) result(melt)
class(dallaston2015_melt), intent(in) :: this
class(scalar_field), pointer :: melt
!! The melt rate from the ice into the plume water.
if (.not. allocated(this%melt_values)) error stop ('Melt values not allocated')
call this%melt_values%allocate_scalar_field(melt)
melt = this%melt_conversion * this%melt_values
end function dallaston2015_melt_rate