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 1481 for trunk/NEMO/OPA_SRC/SBC/sbcice_lim_2.F90 – NEMO

Ignore:
Timestamp:
2009-07-03T17:07:08+02:00 (15 years ago)
Author:
ctlod
Message:

ensure restartability of TKE2 in coupled mode + few minor bugs corrections, see ticket: #466

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OPA_SRC/SBC/sbcice_lim_2.F90

    r1470 r1481  
    171171         ! ---------------- ! 
    172172 
    173 #if defined key_zdftke2 
    174          IF ( kt .NE. nitend+1 ) THEN 
    175173                                        CALL lim_rst_opn_2  ( kt )      ! Open Ice restart file 
    176          ENDIF 
    177 #else 
    178                                         CALL lim_rst_opn_2  ( kt )      ! Open Ice restart file 
    179 #endif 
    180174         IF( .NOT. lk_c1d ) THEN                                        ! Ice dynamics & transport (not in 1D case) 
    181175                                        CALL lim_dyn_2      ( kt )           ! Ice dynamics    ( rheology/dynamics ) 
     
    192186                                        CALL lim_thd_2      ( kt )      ! Ice thermodynamics  
    193187                                        CALL lim_sbc_2      ( kt )      ! Ice/Ocean Mass & Heat fluxes  
    194 #if defined key_zdftke2 
    195          IF( kt .NE. nitend+1 ) THEN 
    196             IF( ( MOD( kt+nn_fsbc-1, ninfo ) == 0 .OR. ntmoy == 1 ) .AND. .NOT. lk_mpp )   & 
    197                &                        CALL lim_dia_2      ( kt )      ! Ice Diagnostics  
    198                                         CALL lim_wri_2      ( kt )      ! Ice outputs  
    199             IF( lrst_ice )              CALL lim_rst_write_2( kt )      ! Ice restart file  
    200             ! 
    201          ENDIF 
    202 #else 
     188 
    203189         IF( ( MOD( kt+nn_fsbc-1, ninfo ) == 0 .OR. ntmoy == 1 ) .AND. .NOT. lk_mpp )   & 
    204190            &                           CALL lim_dia_2      ( kt )      ! Ice Diagnostics 
     
    206192         IF( lrst_ice )                 CALL lim_rst_write_2( kt )      ! Ice restart file 
    207193         ! 
    208 #endif 
    209194      ENDIF 
    210195      ! 
Note: See TracChangeset for help on using the changeset viewer.