dallaston2015_melt_rate Function

private function dallaston2015_melt_rate(this) result(melt)

Arguments

Type IntentOptional AttributesName
class(dallaston2015_melt), intent(in) :: this

Return Value class(scalar_field), pointer

The melt rate from the ice into the plume water.


Contents


Source Code

  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