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 2382 for branches/nemo_v3_3_beta/NEMOGCM/NEMO/OPA_SRC/ZDF/zdftke.F90 – NEMO

Ignore:
Timestamp:
2010-11-13T14:08:12+01:00 (13 years ago)
Author:
gm
Message:

v3.3beta: C1D - bug correction to compile with key_c1d

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/nemo_v3_3_beta/NEMOGCM/NEMO/OPA_SRC/ZDF/zdftke.F90

    r2375 r2382  
    3737   !!   tke_rst      : read/write tke restart in ocean restart file 
    3838   !!---------------------------------------------------------------------- 
    39    USE oce            ! ocean dynamics and active tracers  
    40    USE dom_oce        ! ocean space and time domain 
    41    USE domvvl         ! ocean space and time domain : variable volume layer 
    42    USE zdf_oce        ! ocean vertical physics 
     39   USE oce            ! ocean: dynamics and active tracers variables 
     40   USE phycst         ! physical constants 
     41   USE dom_oce        ! domain: ocean 
     42   USE domvvl         ! domain: variable volume layer 
    4343   USE sbc_oce        ! surface boundary condition: ocean 
    44    USE phycst         ! physical constants 
    45    USE zdfmxl         ! mixed layer 
    46    USE restart        ! only for lrst_oce 
     44   USE zdf_oce        ! vertical physics: ocean variables 
     45   USE zdfmxl         ! vertical physics: mixed layer 
     46   USE zdfbfr         ! vertical mixing: bottom friction 
     47   USE restart        ! ocean restart 
    4748   USE lbclnk         ! ocean lateral boundary conditions (or mpp link) 
    4849   USE prtctl         ! Print control 
    4950   USE in_out_manager ! I/O manager 
    5051   USE iom            ! I/O manager library 
    51    USE zdfbfr          ! bottom friction 
    5252 
    5353   IMPLICIT NONE 
     
    180180      !! 
    181181      INTEGER  ::   ji, jj, jk                      ! dummy loop arguments 
    182 !!$      INTEGER  ::   ikbu, ikbv, ikbum1, ikbvm1      ! temporary scalar 
    183 !!$      INTEGER  ::   ikbt, ikbumm1, ikbvmm1          ! temporary scalar 
     182!!bfr      INTEGER  ::   ikbu, ikbv, ikbum1, ikbvm1      ! temporary scalar 
     183!!bfr      INTEGER  ::   ikbt, ikbumm1, ikbvmm1          ! temporary scalar 
    184184      REAL(wp) ::   zrhoa  = 1.22                   ! Air density kg/m3 
    185185      REAL(wp) ::   zcdrag = 1.5e-3                 ! drag coefficient 
     
    190190      REAL(wp) ::   zus   , zwlc  , zind            !    -         - 
    191191      REAL(wp) ::   zzd_up, zzd_lw                  !    -         - 
    192 !!$      REAL(wp) ::   zebot                           !    -         - 
     192!!bfr      REAL(wp) ::   zebot                           !    -         - 
    193193      INTEGER , DIMENSION(jpi,jpj)     ::   imlc    ! 2D workspace 
    194194      REAL(wp), DIMENSION(jpi,jpj)     ::   zhlc    !  -      - 
     
    209209         END DO 
    210210      END DO 
    211       ! 
     211       
     212!!bfr   - start commented area 
    212213      !                     !<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 
    213214      !                     !  Bottom boundary condition on tke 
     
    219220      ! computational cost is justified 
    220221      !<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 
    221       ! 
    222222      !                     en(bot)   = (rn_ebb0/rau0)*0.5*sqrt(u_botfr^2+v_botfr^2) (min value rn_emin) 
    223223!CDIR NOVERRCHK 
     
    242242!!       END DO 
    243243!!    END DO 
    244       ! 
     244!!bfr   - end commented area 
    245245      ! 
    246246      !                     !<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 
     
    275275            END DO 
    276276         END DO 
    277 # if defined key_c1d 
    278          hlc(:,:) = zhlc(:,:) * tmask(:,:,1)      ! c1d configuration: save finite Langmuir Circulation depth 
    279 # endif 
    280277         zcof = 0.016 / SQRT( zrhoa * zcdrag ) 
    281278!CDIR NOVERRCHK 
Note: See TracChangeset for help on using the changeset viewer.