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

Location:
trunk/NEMO/OPA_SRC/SBC
Files:
2 edited

Legend:

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

    r1469 r1481  
    232232         ! 
    233233         !                                           ! Diagnostics and outputs  
    234 #if defined key_zdftke2 
    235          IF( kt .NE. nitend+1 ) THEN 
    236             IF( ( MOD( kt+nn_fsbc-1, ninfo ) == 0 .OR. ntmoy == 1 ) .AND. .NOT. lk_mpp )   & 
    237                &             CALL lim_dia  
    238                              CALL lim_wri( 1  )              ! Ice outputs  
    239             IF( lrst_ice )   CALL lim_rst_write( kt )        ! Ice restart file  
    240                              CALL lim_var_glo2eqv            ! ??? 
    241             ! 
    242             IF( ln_nicep )   CALL lim_ctl               ! alerts in case of model crash 
    243             ! 
    244          ENDIF 
    245 #else 
    246234         IF( ( MOD( kt+nn_fsbc-1, ninfo ) == 0 .OR. ntmoy == 1 ) .AND. .NOT. lk_mpp )   & 
    247235            &             CALL lim_dia  
     
    252240         IF( ln_nicep )   CALL lim_ctl               ! alerts in case of model crash 
    253241         ! 
    254 #endif 
    255242      ENDIF                                          ! End sea-ice time step only 
    256243 
  • 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.