New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 5208 for branches/2014/dev_r4650_UKMO11_restart_functionality/NEMOGCM/NEMO/OPA_SRC/SBC/sbcfwb.F90 – NEMO

Ignore:
Timestamp:
2015-04-13T15:08:59+02:00 (9 years ago)
Author:
davestorkey
Message:

Merge in changes from trunk up to 5021.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2014/dev_r4650_UKMO11_restart_functionality/NEMOGCM/NEMO/OPA_SRC/SBC/sbcfwb.F90

    r4689 r5208  
    1919   USE phycst          ! physical constants 
    2020   USE sbcrnf          ! ocean runoffs 
     21   USE sbcisf          ! ice shelf melting contribution 
    2122   USE sbcssr          ! SS damping terms 
    2223   USE in_out_manager  ! I/O manager 
     
    9091         area = glob_sum( e1e2t(:,:) )           ! interior global domain surface 
    9192         ! 
    92 #if ! defined key_lim2 &&  ! defined key_lim3 && ! defined key_cice  
     93#if ! defined key_lim2 &&  ! defined key_lim3 && ! defined key_cice 
    9394         snwice_mass_b(:,:) = 0.e0               ! no sea-ice model is being used : no snow+ice mass 
    9495         snwice_mass  (:,:) = 0.e0 
     
    103104         ! 
    104105         IF( MOD( kt-1, kn_fsbc ) == 0 ) THEN 
    105             z_fwf = glob_sum( e1e2t(:,:) * ( emp(:,:) - rnf(:,:) -  snwice_fmass(:,:) ) ) / area   ! sum over the global domain 
     106            z_fwf = glob_sum( e1e2t(:,:) * ( emp(:,:) - rnf(:,:) + rdivisf * fwfisf(:,:) -  snwice_fmass(:,:) ) ) / area   ! sum over the global domain 
    106107            zcoef = z_fwf * rcp 
    107108            emp(:,:) = emp(:,:) - z_fwf  
Note: See TracChangeset for help on using the changeset viewer.