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 5823 for branches/NERC/dev_r5589_is_oce_cpl/NEMOGCM/NEMO/OPA_SRC/DOM/domzgr.F90 – NEMO

Ignore:
Timestamp:
2015-10-22T17:18:18+02:00 (9 years ago)
Author:
mathiot
Message:

ice sheet coupling : add comments, rm PRINT statements, cosmetic changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/NERC/dev_r5589_is_oce_cpl/NEMOGCM/NEMO/OPA_SRC/DOM/domzgr.F90

    r5802 r5823  
    529529               WHERE( bathy(:,:) <= 0._wp )  risfdep(:,:) = 0._wp 
    530530 
    531                ! set grounded point to 0 (treshold at 1cm, have to be update after first coupling experience) 
    532                WHERE (bathy(:,:) .LE. risfdep(:,:)+1e-2 ) 
     531               ! set grounded point to 0  
     532               ! (a treshold could be set here if needed, or set it offline based on the grounded fraction) 
     533               WHERE ( bathy(:,:) .LE. risfdep(:,:) ) 
    533534                  misfdep(:,:) = 0 ; risfdep(:,:) = 0._wp 
    534535                  mbathy (:,:) = 0 ; bathy  (:,:) = 0._wp 
     
    575576         ! patch to avoid case bathy = ice shelf draft and bathy between 0 and zhmin 
    576577         IF ( ln_isfcav ) THEN 
    577             WHERE (bathy == risfdep) 
     578            WHERE ( bathy == risfdep ) 
    578579               bathy   = 0.0_wp ; risfdep = 0.0_wp 
    579580            END WHERE 
Note: See TracChangeset for help on using the changeset viewer.