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.
ldfdyn_oce.F90 in trunk/NEMO/OPA_SRC/LDF – NEMO

source: trunk/NEMO/OPA_SRC/LDF/ldfdyn_oce.F90 @ 3

Last change on this file since 3 was 3, checked in by opalod, 20 years ago

Initial revision

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.5 KB
Line 
1MODULE ldfdyn_oce
2   !!======================================================================
3   !!                  ***  MODULE  ldfdyn_oce  ***
4   !! Ocean physics:  lateral momentum mixing coefficient defined in memory
5   !!======================================================================
6   !!
7   !! ** Purpose :
8   !!       - Define in memory lateral momentum mixing coefficients
9   !!
10   !! History :
11   !!   8.5  !  02-11  (G. Madec)  F90: Free form and module
12   !!----------------------------------------------------------------------
13   !!  OPA 8.5, LODYC-IPSL (2002)
14   !!----------------------------------------------------------------------
15   !! * Modules used
16   USE par_oce      ! ocean parameters
17
18   IMPLICIT NONE
19   PUBLIC
20
21   !!----------------------------------------------------------------------
22   !! Lateral eddy viscosity coefficients (dynamics)
23   !!----------------------------------------------------------------------
24
25   LOGICAL  ::                      & !!! ** lateral mixing namelist (nam_dynldf) **
26      ln_dynldf_lap   = .TRUE.  ,   &  ! laplacian operator
27      ln_dynldf_bilap = .FALSE. ,   &  ! bilaplacian operator
28      ln_dynldf_level = .FALSE. ,   &  ! iso-level direction
29      ln_dynldf_hor   = .TRUE.  ,   &  ! horizontal (geopotential) direction
30      ln_dynldf_iso   = .FALSE.        ! iso-neutral direction
31
32   REAL(wp) ::                      & !!! ** lateral mixing namelist (nam_dynldf) **
33      ahm0  = 40000._wp ,   &  ! lateral eddy viscosity (m2/s)
34      ahmb0 =     0._wp        ! lateral background eddy viscosity (m2/s)
35
36   LOGICAL  ::                      &  ! flag of the lateral diff. scheme used
37      l_dynldf_lap         ,        &  ! iso-level laplacian operator
38      l_dynldf_bilap       ,        &  ! iso-level bilaplacian operator
39      l_dynldf_bilapg      ,        &  ! geopotential bilap. (s-coord)
40      l_dynldf_iso         ,        &  ! iso-neutral laplacian or horizontal lapacian (s-coord)
41      l_dynzdf_iso                     ! iso-neutral laplacian or horizontal lapacian (s-coord)
42   
43
44#if defined key_dynldf_c3d
45   REAL(wp), DIMENSION(jpi,jpj,jpk) ::   &  ! ** 3D coefficients **
46#elif defined key_dynldf_c2d
47   REAL(wp), DIMENSION(jpi,jpj)     ::   &  ! ** 2D coefficients **
48#elif defined key_dynldf_c1d
49   REAL(wp), DIMENSION(jpk)         ::   &  ! ** 2D coefficients **
50#else
51   REAL(wp)                         ::   &  ! ** 0D coefficients **
52#endif
53      ahm1, ahm2, ahm3, ahm4                ! ????
54
55   !!----------------------------------------------------------------------
56END MODULE ldfdyn_oce
Note: See TracBrowser for help on using the repository browser.