fill_melt Subroutine

public subroutine fill_melt(state_handle, buf)

Basal melt mass flux (kg m-2 s-1), positive = melting.

Arguments

Type IntentOptional Attributes Name
class(*), intent(in) :: state_handle
real(kind=wp), intent(inout) :: buf(:,:,:)

Calls

proc~~fill_melt~~CallsGraph proc~fill_melt fill_melt proc~cavity_mask_impl cavity_mask_impl proc~fill_melt->proc~cavity_mask_impl

Source Code

   subroutine fill_melt(state_handle, buf)
      !! Basal melt mass flux (kg m-2 s-1), **positive = melting**.
      class(*), intent(in) :: state_handle
      real(wp), intent(inout) :: buf(:, :, :)
      select type (state => state_handle)
      class is (ocean_state_t)
         call cavity_mask_impl(state%cavity_flux%melt, state%cavity_flux%active, buf)
      end select
   end subroutine fill_melt