Changeset 1601 for trunk/NEMO/OPA_SRC/LDF/ldftra_oce.F90
- Timestamp:
- 2009-08-11T12:09:19+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMO/OPA_SRC/LDF/ldftra_oce.F90
r1152 r1601 4 4 !! Ocean physics : lateral tracer mixing coefficient defined in memory 5 5 !!===================================================================== 6 !! 7 !! ** Purpose : - Define in memory lateral tracer mixing coefficients 8 !! 9 !! History : 10 !! 9.0 ! 02-11 (G. Madec) Original code (from common.h) 6 !! History : 9.0 ! 02-11 (G. Madec) Original code 11 7 !!---------------------------------------------------------------------- 12 !! OPA 9.0 , LOCEAN-IPSL (2005)13 !! $Id$14 !! This software is governed by the CeCILL licence see modipsl/doc/NEMO_CeCILL.txt15 !!----------------------------------------------------------------------16 !! * Modules used17 8 USE par_oce ! ocean parameters 18 9 … … 23 14 !! Lateral eddy diffusivity coefficients (tracers) 24 15 !!---------------------------------------------------------------------- 16 ! !!* Namelist namtra_ldf : lateral mixing * 17 LOGICAL , PUBLIC :: ln_traldf_lap = .TRUE. !: laplacian operator 18 LOGICAL , PUBLIC :: ln_traldf_bilap = .FALSE. !: bilaplacian operator 19 LOGICAL , PUBLIC :: ln_traldf_level = .FALSE. !: iso-level direction 20 LOGICAL , PUBLIC :: ln_traldf_hor = .FALSE. !: horizontal (geopotential) direction 21 LOGICAL , PUBLIC :: ln_traldf_iso = .TRUE. !: iso-neutral direction 22 REAL(wp), PUBLIC :: rn_aht_0 = 2000._wp !: lateral eddy diffusivity (m2/s) 23 REAL(wp), PUBLIC :: rn_ahtb_0 = 0._wp !: lateral background eddy diffusivity (m2/s) 24 REAL(wp), PUBLIC :: rn_aeiv_0 = 2000._wp !: eddy induced velocity coefficient (m2/s) 25 25 26 LOGICAL , PUBLIC :: & !!: ** lateral mixing namelist (nam_traldf) ** 27 ln_traldf_lap = .TRUE. , & !: laplacian operator 28 ln_traldf_bilap = .FALSE. , & !: bilaplacian operator 29 ln_traldf_level = .FALSE. , & !: iso-level direction 30 ln_traldf_hor = .FALSE. , & !: horizontal (geopotential) direction 31 ln_traldf_iso = .TRUE. !: iso-neutral direction 32 33 REAL(wp), PUBLIC :: & !!: ** lateral mixing namelist (namldf) ** 34 aht0 = 2000._wp , & !: lateral eddy diffusivity (m2/s) 35 ahtb0 = 0._wp , & !: lateral background eddy diffusivity (m2/s) 36 aeiv0 = 2000._wp !: eddy induced velocity coefficient (m2/s) 26 REAL(wp), PUBLIC :: aht0, ahtb0, aeiv0 !!: OLD namelist names 37 27 38 28 #if defined key_traldf_c3d 39 REAL(wp), PUBLIC, DIMENSION(jpi,jpj,jpk) :: & !: ** 3D coefficients **29 REAL(wp), PUBLIC, DIMENSION(jpi,jpj,jpk) :: ahtt, ahtu, ahtv, ahtw !: ** 3D coefficients ** at T-, U-, V-, W-points 40 30 #elif defined key_traldf_c2d 41 REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: & !: ** 2D coefficients **31 REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: ahtt, ahtu, ahtv, ahtw !: ** 2D coefficients ** at T-, U-, V-, W-points 42 32 #elif defined key_traldf_c1d 43 REAL(wp), PUBLIC, DIMENSION(jpk) :: & !: ** 1D coefficients **33 REAL(wp), PUBLIC, DIMENSION(jpk) :: ahtt, ahtu, ahtv, ahtw !: ** 1D coefficients ** at T-, U-, V-, W-points 44 34 #else 45 REAL(wp), PUBLIC :: & !: ** 0D coefficients **35 REAL(wp), PUBLIC :: ahtt, ahtu, ahtv, ahtw !: ** 0D coefficients ** at T-, U-, V-, W-points 46 36 #endif 47 ahtt, ahtu, ahtv, ahtw !: T-, U-, V-, W-points coefficients48 37 49 38 … … 55 44 56 45 # if defined key_traldf_c3d 57 REAL(wp), PUBLIC, DIMENSION(jpi,jpj,jpk) :: & !: ** 3D coefficients **46 REAL(wp), PUBLIC, DIMENSION(jpi,jpj,jpk) :: aeiu, aeiv, aeiw !: ** 3D coefficients ** at U-, V-, W-points [m2/s] 58 47 # elif defined key_traldf_c2d 59 REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: & !: ** 2D coefficients **48 REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: aeiu, aeiv, aeiw !: ** 2D coefficients ** at U-, V-, W-points [m2/s] 60 49 # elif defined key_traldf_c1d 61 REAL(wp), PUBLIC, DIMENSION(jpk) :: & !: ** 1D coefficients **50 REAL(wp), PUBLIC, DIMENSION(jpk) :: aeiu, aeiv, aeiw !: ** 1D coefficients ** at U-, V-, W-points [m2/s] 62 51 # else 63 REAL(wp), PUBLIC :: & !: ** 0D coefficients **52 REAL(wp), PUBLIC :: aeiu, aeiv, aeiw !: ** 0D coefficients ** at U-, V-, W-points [m2/s] 64 53 # endif 65 aeiu, aeiv, aeiw !: U-, V-, W-points induced velocity coef. (m2/s)66 67 54 # if defined key_diaeiv 68 REAL(wp), PUBLIC, DIMENSION(jpi,jpj,jpk) :: & !: 69 u_eiv, v_eiv, w_eiv !: The three component of the eddy induced velocity (m/s) 55 REAL(wp), PUBLIC, DIMENSION(jpi,jpj,jpk) :: u_eiv, v_eiv, w_eiv !: eddy induced velocity [m/s] 70 56 # endif 71 57 … … 75 61 !!---------------------------------------------------------------------- 76 62 LOGICAL , PUBLIC, PARAMETER :: lk_traldf_eiv = .FALSE. !: eddy induced velocity flag 77 REAL(wp), PUBLIC :: aeiu, aeiv, aeiw63 REAL(wp), PUBLIC :: aeiu, aeiv, aeiw !: eddy induced coef. (not used) 78 64 #endif 79 65 80 66 !!---------------------------------------------------------------------- 67 !! NEMO/OPA 3.2 , LOCEAN-IPSL (2009) 68 !! $Id$ 69 !! Software governed by the CeCILL licence (modipsl/doc/NEMO_CeCILL.txt) 70 !!===================================================================== 81 71 END MODULE ldftra_oce
Note: See TracChangeset
for help on using the changeset viewer.