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 8882 for branches/2017/dev_CNRS_2017/NEMOGCM/NEMO/SAS_SRC/diawri.F90 – NEMO

Ignore:
Timestamp:
2017-12-01T18:44:09+01:00 (6 years ago)
Author:
flavoni
Message:

dev_CNRS_2017 branch: merged dev_r7881_ENHANCE09_RK3 with trunk r8864

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_CNRS_2017/NEMOGCM/NEMO/SAS_SRC/diawri.F90

    r7761 r8882  
    3838   USE iom 
    3939   USE ioipsl 
    40 #if defined key_lim2 
    41    USE limwri_2  
    42 #elif defined key_lim3 
    43    USE limwri 
     40#if defined key_lim3 
     41   USE icewri 
    4442#endif 
    4543   USE lib_mpp         ! MPP library 
     
    397395         &          jpi, jpj, nh_i, 1  , 1, 1  , -99 , 32, clop, zsto, zout ) 
    398396 
    399 #if defined key_lim2 
    400       CALL lim_wri_state_2( kt, id_i, nh_i ) 
    401 #elif defined key_lim3 
    402       CALL lim_wri_state( kt, id_i, nh_i ) 
     397#if defined key_lim3 
     398      IF( nn_ice == 2 ) THEN   ! clem2017: condition in case agrif + lim but no-ice in child grid 
     399         CALL ice_wri_state( kt, id_i, nh_i ) 
     400      ENDIF 
    403401#else 
    404402      CALL histend( id_i, snc4chunks=snc4set ) 
Note: See TracChangeset for help on using the changeset viewer.