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 3318 for branches/2012/dev_r3309_LOCEAN12_Ediag/NEMOGCM/NEMO/OPA_SRC/TRA/tranxt.F90 – NEMO

Ignore:
Timestamp:
2012-02-25T16:50:01+01:00 (12 years ago)
Author:
gm
Message:

Ediag branche: #927 split TRA/DYN trd computation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2012/dev_r3309_LOCEAN12_Ediag/NEMOGCM/NEMO/OPA_SRC/TRA/tranxt.F90

    r3317 r3318  
    2929   USE zdf_oce         ! ??? 
    3030   USE domvvl          ! variable volume 
     31   USE phycst          ! physical constant 
    3132   USE ldftra_oce      ! ocean active tracers lateral physics 
    3233   USE dynspg_oce      ! surface     pressure gradient variables 
    3334   USE dynhpg          ! hydrostatic pressure gradient  
    34    USE trdmod_oce      ! ocean space and time domain variables  
    35    USE trdtra          ! ocean active tracers trends  
    36    USE phycst 
    37    USE obc_oce 
     35   USE traqsr          ! penetrative solar radiation (needed for nksr) 
     36   USE trd_oce         ! trends: ocean variables 
     37   USE trdtra          ! trends manager: tracers  
     38   USE obc_oce         ! open boundary condition variable 
    3839   USE obctra          ! open boundary condition (obc_tra routine) 
    3940   USE bdy_oce 
     
    4243   USE lbclnk          ! ocean lateral boundary conditions (or mpp link) 
    4344   USE prtctl          ! Print control 
    44    USE traqsr          ! penetrative solar radiation (needed for nksr) 
    4545#if defined key_agrif 
    4646   USE agrif_opa_update 
     
    134134         ztrds(:,:,:) = tsn(:,:,:,jp_sal) 
    135135         IF( ln_traldf_iso ) THEN              ! diagnose the "pure" Kz diffusive trend  
    136             CALL trd_tra( kt, 'TRA', jp_tem, jptra_trd_zdfp, ztrdt ) 
    137             CALL trd_tra( kt, 'TRA', jp_sal, jptra_trd_zdfp, ztrds ) 
     136            CALL trd_tra( kt, 'TRA', jp_tem, jptra_zdfp, ztrdt ) 
     137            CALL trd_tra( kt, 'TRA', jp_sal, jptra_zdfp, ztrds ) 
    138138         ENDIF 
    139139      ENDIF 
     
    164164            ztrds(:,:,jk) = ( tsb(:,:,jk,jp_sal) - ztrds(:,:,jk) ) * zfact 
    165165         END DO 
    166          CALL trd_tra( kt, 'TRA', jp_tem, jptra_trd_atf, ztrdt ) 
    167          CALL trd_tra( kt, 'TRA', jp_sal, jptra_trd_atf, ztrds ) 
     166         CALL trd_tra( kt, 'TRA', jp_tem, jptra_atf, ztrdt ) 
     167         CALL trd_tra( kt, 'TRA', jp_sal, jptra_atf, ztrds ) 
    168168         CALL wrk_dealloc( jpi, jpj, jpk, ztrdt, ztrds ) 
    169169      END IF 
Note: See TracChangeset for help on using the changeset viewer.