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 15010 for NEMO/branches/2021/ticket2680_C1D_PAPA/src/OFF/dtadyn.F90 – NEMO

Ignore:
Timestamp:
2021-06-17T14:14:52+02:00 (3 years ago)
Author:
gsamson
Message:

remove cpp key 'key_c1d' and replace 'lk_c1d' by 'ln_c1d' in &namdom (#2680)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2021/ticket2680_C1D_PAPA/src/OFF/dtadyn.F90

    r14310 r15010  
    2121   !!---------------------------------------------------------------------- 
    2222   USE oce             ! ocean dynamics and tracers variables 
    23    USE c1d             ! 1D configuration: lk_c1d 
     23   USE c1d             ! 1D configuration: ln_c1d 
    2424   USE dom_oce         ! ocean domain: variables 
    2525#if defined key_qco  
     
    135135      CALL fld_read( kt, 1, sf_dyn )      !=  read data at kt time step   ==! 
    136136      ! 
    137       IF( l_ldfslp .AND. .NOT.lk_c1d )   CALL  dta_dyn_slp( kt, Kbb, Kmm )    ! Computation of slopes 
     137      IF( l_ldfslp .AND. .NOT.ln_c1d )   CALL  dta_dyn_slp( kt, Kbb, Kmm )    ! Computation of slopes 
    138138      ! 
    139139      ts(:,:,:,jp_tem,Kmm) = sf_dyn(jf_tem)%fnow(:,:,:)  * tmask(:,:,:)    ! temperature 
     
    187187      avs(:,:,:)      = avt(:,:,:) 
    188188      ! 
    189       IF( ln_trabbl .AND. .NOT.lk_c1d ) THEN       ! diffusive Bottom boundary layer param  
     189      IF( ln_trabbl .AND. .NOT.ln_c1d ) THEN       ! diffusive Bottom boundary layer param  
    190190         ahu_bbl(:,:) = sf_dyn(jf_ubl)%fnow(:,:,1) * umask(:,:,1)    ! bbl diffusive coef 
    191191         ahv_bbl(:,:) = sf_dyn(jf_vbl)%fnow(:,:,1) * vmask(:,:,1) 
     
    321321      END DO 
    322322      ! 
    323       IF( l_ldfslp .AND. .NOT.lk_c1d ) THEN                  ! slopes  
     323      IF( l_ldfslp .AND. .NOT.ln_c1d ) THEN                  ! slopes  
    324324         IF( sf_dyn(jf_tem)%ln_tint ) THEN      ! time interpolation 
    325325            ALLOCATE( uslpdta (jpi,jpj,jpk,2), vslpdta (jpi,jpj,jpk,2),    & 
     
    628628            &    / REAL( sf_dyn(jf_tem)%nrec(2,sf_dyn(jf_tem)%naa) - sf_dyn(jf_tem)%nrec(2,sf_dyn(jf_tem)%nbb), wp ) 
    629629         ztintb =  1. - ztinta 
    630          IF( l_ldfslp .AND. .NOT.lk_c1d ) THEN    ! Computes slopes (here avt is used as workspace) 
     630         IF( l_ldfslp .AND. .NOT.ln_c1d ) THEN    ! Computes slopes (here avt is used as workspace) 
    631631            uslp (:,:,:) = ztintb * uslpdta (:,:,:,1)  + ztinta * uslpdta (:,:,:,2)   
    632632            vslp (:,:,:) = ztintb * vslpdta (:,:,:,1)  + ztinta * vslpdta (:,:,:,2)   
     
    640640         CALL compute_slopes( kt, zts, zuslp, zvslp, zwslpi, zwslpj, Kbb, Kmm ) 
    641641         ! 
    642          IF( l_ldfslp .AND. .NOT.lk_c1d ) THEN    ! Computes slopes (here avt is used as workspace) 
     642         IF( l_ldfslp .AND. .NOT.ln_c1d ) THEN    ! Computes slopes (here avt is used as workspace) 
    643643            uslp (:,:,:) = zuslp (:,:,:) 
    644644            vslp (:,:,:) = zvslp (:,:,:) 
     
    665665      !!--------------------------------------------------------------------- 
    666666      ! 
    667       IF( l_ldfslp .AND. .NOT.lk_c1d ) THEN    ! Computes slopes (here avt is used as workspace) 
     667      IF( l_ldfslp .AND. .NOT.ln_c1d ) THEN    ! Computes slopes (here avt is used as workspace) 
    668668         CALL eos    ( pts, rhd, rhop, gdept_0(:,:,:) ) 
    669669         CALL eos_rab( pts, rab_n, Kmm )       ! now local thermal/haline expension ratio at T-points 
Note: See TracChangeset for help on using the changeset viewer.