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 285 for trunk/NEMO/OPA_SRC/TRD – NEMO

Changeset 285 for trunk/NEMO/OPA_SRC/TRD


Ignore:
Timestamp:
2005-09-22T12:30:35+02:00 (19 years ago)
Author:
opalod
Message:

nemo_v1_bugfix_002 : CT : use ln_traldf_iso logical instead of l_traldf_iso one because it should not be dependant of the use or not of the partial steps

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OPA_SRC/TRD/trdmld.F90

    r247 r285  
    386386      END DO 
    387387 
    388       IF( l_traldf_iso ) THEN 
     388      IF( ln_traldf_iso ) THEN 
    389389         ! We substract to the TOTAL vertical diffusion tmltrd(:,:,jpmldzdf)  
    390390         ! computed in subroutines trazdf_iso.F90 or trazdf_imp.F90 
     
    396396 
    397397      ! Boundary conditions 
    398       DO jk = 1, jpltrd 
    399          CALL lbc_lnk( tmltrd, 'T', 1. ) 
    400          CALL lbc_lnk( smltrd, 'T', 1. ) 
    401       END DO 
     398      CALL lbc_lnk( tmltrd, 'T', 1. ) 
     399      CALL lbc_lnk( smltrd, 'T', 1. ) 
    402400 
    403401      IF( idebug /= 0 ) THEN 
     
    581579         CALL histwrite( nidtrd,"somlbtdz",it,tmltrd(:,:, 6),ndimtrd1,ndextrd1) ! vert. diffusion  
    582580         CALL histwrite( nidtrd,"somlbtdt",it,ztmlres       ,ndimtrd1,ndextrd1) ! dh/dt entrainment (residual) 
    583          IF( l_traldf_iso ) THEN 
     581         IF( ln_traldf_iso ) THEN 
    584582            CALL histwrite( nidtrd,"somlbtdv",it,tmltrd(:,:, 7),ndimtrd1,ndextrd1) ! vert. lateral diff. 
    585583         ENDIF 
     
    603601         CALL histwrite( nidtrd,"somlbsdz",it,smltrd(:,:, 6),ndimtrd1,ndextrd1) ! vert. diff. 
    604602         CALL histwrite( nidtrd,"somlbsdt",it,zsmlres       ,ndimtrd1,ndextrd1) ! dh/dt entrainment (residual) 
    605          IF( l_traldf_iso ) THEN 
     603         IF( ln_traldf_iso ) THEN 
    606604            CALL histwrite( nidtrd,"somlbsdv",it,smltrd(:,:, 7),ndimtrd1,ndextrd1) ! vert. lateral diff; 
    607605         ENDIF 
     
    793791      CALL histdef( nidtrd, "somlbtdt", clmxl//"T dh/dt Entrainment (Residual)", "C/s",   & ! T * dh/dt  
    794792         &          jpi, jpj, nh_t, 1  , 1, 1  , -99 , 32, clop, zout, zout ) 
    795       IF( l_traldf_iso ) THEN 
     793      IF( ln_traldf_iso ) THEN 
    796794      CALL histdef( nidtrd, "somlbtdv", clmxl//"T Vert. lateral Diffusion","C/s",   & ! vertical diffusion entrainment (ISO) 
    797795         &          jpi, jpj, nh_t, 1  , 1, 1  , -99 , 32, clop, zsto, zout ) 
     
    828826      CALL histdef( nidtrd, "somlbsdt", clmxl//"S dh/dt Entrainment (Residual)", "PSU/s",   & ! S * dh/dt  
    829827         &          jpi, jpj, nh_t, 1  , 1, 1  , -99 , 32, clop, zsto, zout ) 
    830       IF( l_traldf_iso ) THEN 
     828      IF( ln_traldf_iso ) THEN 
    831829      ! vertical diffusion entrainment (ISO) 
    832830      CALL histdef( nidtrd, "somlbsdv", clmxl//"S Vertical lateral Diffusion", "PSU/s",   & ! vert. lat. diff. 
Note: See TracChangeset for help on using the changeset viewer.