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 789 for trunk/NEMO/OPA_SRC/TRA/trazdf.F90 – NEMO

Ignore:
Timestamp:
2008-01-11T19:04:56+01:00 (16 years ago)
Author:
rblod
Message:

Suppress jki routines and associated key_mpp_omp

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OPA_SRC/TRA/trazdf.F90

    r719 r789  
    1717   USE trazdf_exp      ! vertical diffusion: explicit (tra_zdf_exp     routine) 
    1818   USE trazdf_imp      ! vertical diffusion: implicit (tra_zdf_imp     routine) 
    19    USE trazdf_imp_jki  ! vertical diffusion  implicit (tra_zdf_imp_jki routine) 
    2019 
    2120   USE ldftra_oce      ! ocean active tracers: lateral physics 
     
    9089         CALL prt_ctl( tab3d_1=ta, clinfo1=' zdf1 - Ta: ', mask1=tmask,               & 
    9190            &          tab3d_2=sa, clinfo2=       ' Sa: ', mask2=tmask, clinfo3='tra' ) 
    92          CALL tra_zdf_imp_jki( kt, r2dt ) 
    93          CALL prt_ctl( tab3d_1=ta, clinfo1=' zdf2 - Ta: ', mask1=tmask,               & 
    94             &          tab3d_2=sa, clinfo2=       ' Sa: ', mask2=tmask, clinfo3='tra' ) 
    9591 
    9692      CASE ( 0 )                                       ! explicit scheme 
     
    10298         ENDIF 
    10399 
    104       CASE ( 1 )                                       ! implicit scheme (k-j-i loop) 
     100      CASE ( 1 )                                       ! implicit scheme  
    105101         CALL tra_zdf_imp    ( kt, r2dt ) 
    106          IF( l_trdtra )   THEN                         ! save the vertical diffusive trends for further diagnostics 
    107             DO jk = 1, jpkm1 
    108                ztrdt(:,:,jk) = ( ( ta(:,:,jk) - tb(:,:,jk) ) / r2dt(jk) ) - ztrdt(:,:,jk) 
    109                ztrds(:,:,jk) = ( ( sa(:,:,jk) - sb(:,:,jk) ) / r2dt(jk) ) - ztrds(:,:,jk) 
    110             END DO 
    111             CALL trd_mod( ztrdt, ztrds, jptra_trd_zdf, 'TRA', kt ) 
    112          ENDIF 
    113  
    114       CASE ( 2 )                                       ! implicit scheme (j-k-i loop) 
    115          CALL tra_zdf_imp_jki( kt, r2dt ) 
    116102         IF( l_trdtra )   THEN                         ! save the vertical diffusive trends for further diagnostics 
    117103            DO jk = 1, jpkm1 
     
    137123      !! ** Purpose :   Choose the vertical mixing scheme 
    138124      !! 
    139       !! ** Method  :   Set nzdf from ln_zdfexp and 'key_mpp_omp'. 
     125      !! ** Method  :   Set nzdf from ln_zdfexp 
    140126      !!      nzdf = 0   explicit (time-splitting) scheme (ln_zdfexp=T) 
    141127      !!           = 1   implicit (euler backward) scheme (ln_zdfexp=F) 
    142       !!           = 2   implicit (euler backward) scheme with j-k-i loops 
    143       !!                 (ln_zdfexp=T and 'key_mpp_omp') 
    144128      !!      NB: rotation of lateral mixing operator or TKE or KPP scheme, 
    145129      !!      the implicit scheme is required. 
     
    169153      ENDIF 
    170154 
    171       ! NEC autotasking / OpenMP 
    172 #if defined key_mpp_omp 
    173       IF( nzdf == 1 )   nzdf = 2                       ! j-k-i loop 
    174 #endif 
    175  
    176155      ! Test: esopa 
    177156      IF( lk_esopa )    nzdf = -1                      ! All schemes used 
     
    184163         IF( nzdf ==  0 )   WRITE(numout,*) '              Explicit time-splitting scheme' 
    185164         IF( nzdf ==  1 )   WRITE(numout,*) '              Implicit (euler backward) scheme' 
    186          IF( nzdf ==  2 )   WRITE(numout,*) '              Implicit (euler backward) scheme with j-k-i loops' 
    187165      ENDIF 
    188166 
Note: See TracChangeset for help on using the changeset viewer.