- Timestamp:
- 2013-04-19T08:48:21+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2013/dev_r3858_CNRS3_Ediag/NEMOGCM/NEMO/OPA_SRC/ZDF/zdfmxl.F90
r3294 r3876 6 6 !! History : 1.0 ! 2003-08 (G. Madec) original code 7 7 !! 3.2 ! 2009-07 (S. Masson, G. Madec) IOM + merge of DO-loop 8 !! 3.5 ! 2012-03 (G. Madec) make public the density criteria for trdmxl 8 9 !!---------------------------------------------------------------------- 9 10 !! zdf_mxl : Compute the turbocline and mixed layer depths. … … 29 30 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) :: hmlp !: mixed layer depth (rho=rho0+zdcrit) [m] 30 31 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) :: hmlpt !: mixed layer depth at t-points [m] 32 33 REAL(wp), PUBLIC :: rho_c = 0.01_wp !: density criterion for mixed layer depth 34 REAL(wp) :: avt_c = 5.e-4_wp ! Kz criterion for the turbocline depth 31 35 32 36 !! * Substitutions … … 63 67 !! ** Method : The mixed layer depth is the shallowest W depth with 64 68 !! the density of the corresponding T point (just bellow) bellow a 65 !! given value defined locally as rho(10m) + zrho_c69 !! given value defined locally as rho(10m) + rho_c 66 70 !! The turbocline depth is the depth at which the vertical 67 71 !! eddy diffusivity coefficient (resulting from the vertical physics 68 72 !! alone, not the isopycnal part, see trazdf.F) fall below a given 69 !! value defined locally (avt_c here taken equal to 5 cm/s2 )73 !! value defined locally (avt_c here taken equal to 5 cm/s2 by default) 70 74 !! 71 75 !! ** Action : nmln, hmld, hmlp, hmlpt … … 76 80 INTEGER :: iikn, iiki ! temporary integer within a do loop 77 81 INTEGER, POINTER, DIMENSION(:,:) :: imld ! temporary workspace 78 REAL(wp) :: zrho_c = 0.01_wp ! density criterion for mixed layer depth79 REAL(wp) :: zavt_c = 5.e-4_wp ! Kz criterion for the turbocline depth80 82 !!---------------------------------------------------------------------- 81 83 ! … … 98 100 DO jj = 1, jpj 99 101 DO ji = 1, jpi 100 IF( rhop(ji,jj,jk) > rhop(ji,jj,nla10) + zrho_c ) nmln(ji,jj) = jk ! Mixed layer101 IF( avt (ji,jj,jk) < zavt_c ) imld(ji,jj) = jk ! Turbocline102 IF( rhop(ji,jj,jk) > rhop(ji,jj,nla10) + rho_c ) nmln(ji,jj) = jk ! Mixed layer 103 IF( avt (ji,jj,jk) < avt_c ) imld(ji,jj) = jk ! Turbocline 102 104 END DO 103 105 END DO
Note: See TracChangeset
for help on using the changeset viewer.