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

Ignore:
Timestamp:
2015-11-25T17:58:51+01:00 (8 years ago)
Author:
mathiot
Message:

ice sheet coupling: add treshold to define grounded area, remove useless va
riable, change some variable name + add some namelist parameter

File:
1 edited

Legend:

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

    r5823 r5920  
    531531               ! set grounded point to 0  
    532532               ! (a treshold could be set here if needed, or set it offline based on the grounded fraction) 
    533                WHERE ( bathy(:,:) .LE. risfdep(:,:) ) 
     533               WHERE ( bathy(:,:) .LE. risfdep(:,:) + rn_isfhmin ) 
    534534                  misfdep(:,:) = 0 ; risfdep(:,:) = 0._wp 
    535535                  mbathy (:,:) = 0 ; bathy  (:,:) = 0._wp 
     
    12581258      DO jl = 1, 10      
    12591259         ! check at each iteration if isf is grounded or not (1cm treshold have to be update after first coupling experiments) 
    1260          WHERE (bathy(:,:) .LE. risfdep(:,:)+1e-2 ) 
     1260         WHERE (bathy(:,:) .LE. risfdep(:,:) + rn_isfhmin) 
    12611261            misfdep(:,:) = 0 ; risfdep(:,:) = 0._wp 
    12621262            mbathy (:,:) = 0 ; bathy  (:,:) = 0._wp 
Note: See TracChangeset for help on using the changeset viewer.