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 4206 for branches/2013/dev_LOCEAN_2013/NEMOGCM/NEMO/OPA_SRC/IOM/restart.F90 – NEMO

Ignore:
Timestamp:
2013-11-14T21:13:29+01:00 (10 years ago)
Author:
clem
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2013/dev_LOCEAN_2013/NEMOGCM/NEMO/OPA_SRC/IOM/restart.F90

    r4205 r4206  
    2525   USE domvvl          ! variable volume 
    2626   USE divcur          ! hor. divergence and curl      (div & cur routines) 
     27   USE sbc_ice, ONLY : lk_lim3 
    2728 
    2829   IMPLICIT NONE 
     
    132133                     CALL iom_rstput( kt, nitrst, numrow, 'rhd'    , rhd       ) 
    133134#endif 
     135                  IF( lk_lim3 ) THEN 
    134136                     CALL iom_rstput( kt, nitrst, numrow, 'iatte'  , iatte     ) !clem modif 
    135137                     CALL iom_rstput( kt, nitrst, numrow, 'oatte'  , oatte     ) !clem modif 
     138                  ENDIF 
    136139      IF( kt == nitrst ) THEN 
    137140         CALL iom_close( numrow )     ! close the restart file (only at last time step) 
     
    234237      ENDIF 
    235238      ! 
    236       CALL iom_get( numror, jpdom_autoglo, 'iatte' , iatte ) ! clem modif 
    237       CALL iom_get( numror, jpdom_autoglo, 'oatte' , oatte ) ! clem modif 
     239      IF( lk_lim3 ) THEN  
     240         CALL iom_get( numror, jpdom_autoglo, 'iatte' , iatte ) ! clem modif 
     241         CALL iom_get( numror, jpdom_autoglo, 'oatte' , oatte ) ! clem modif 
     242      ENDIF 
    238243      ! 
    239244   END SUBROUTINE rst_read 
Note: See TracChangeset for help on using the changeset viewer.