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 15503 – NEMO

Changeset 15503


Ignore:
Timestamp:
2021-11-15T10:15:37+01:00 (6 months ago)
Author:
jchanut
Message:

#2737, correct ssh adjustment induced by sea-ice in case of interpolation from parent (set it to 0)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/trunk/src/ICE/iceistate.F90

    r15496 r15503  
    437437         ! store the adjustment value in a global module variable to make it retrievable in nested domains 
    438438         IF( .NOT.Agrif_Root() ) THEN 
    439             zsshadj = Agrif_Parent(rsshadj) 
     439            IF  (.NOT.ln_init_chfrpar ) THEN 
     440               zsshadj = Agrif_Parent(rsshadj) 
     441            ELSE 
     442               zsshadj = 0._wp 
     443            ENDIF 
    440444         ELSE 
    441445            rsshadj = zsshadj 
Note: See TracChangeset for help on using the changeset viewer.