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

Changeset 15530


Ignore:
Timestamp:
2021-11-23T16:09:32+01:00 (2 years ago)
Author:
clem
Message:

add comment to better understand

File:
1 edited

Legend:

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

    r15503 r15530  
    437437         ! store the adjustment value in a global module variable to make it retrievable in nested domains 
    438438         IF( .NOT.Agrif_Root() ) THEN 
    439             IF  (.NOT.ln_init_chfrpar ) THEN 
     439            IF  (.NOT.ln_init_chfrpar ) THEN   ! child is not initialized from the parent 
    440440               zsshadj = Agrif_Parent(rsshadj) 
    441             ELSE 
    442                zsshadj = 0._wp 
     441            ELSE                               ! child is     initialized from the parent 
     442               zsshadj = 0._wp                 ! => 0 since ssh adjustement is already done 
    443443            ENDIF 
    444444         ELSE 
Note: See TracChangeset for help on using the changeset viewer.