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

source: trunk/NEMO/OPA_SRC/TRD/trdtra_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: 3.3 KB
Line 
1MODULE trdtra_oce
2   !!======================================================================
3   !!                   ***  MODULE trdtra_oce  ***
4   !! Ocean trends :   set tracer trend variables
5   !!======================================================================
6
7   !!----------------------------------------------------------------------
8   !! * Modules used
9   USE par_oce      ! ocean parameters
10
11   IMPLICIT NONE
12   PUBLIC
13
14   INTEGER  ::      & !!! namdia :  diagnostics on dynamics and/or tracer trends
15      ntrd  = 10 ,  &  !: time step frequency dynamics and tracers trends
16      nctls =  0       !: control surface type for trends vertical integration
17   !!----------------------------------------------------------------------
18
19#if   defined key_trdtra   ||   defined key_trdmld   ||   defined key_esopa
20   !!----------------------------------------------------------------------
21   !!   'key_trdtra'   or                         tracer trends diagnostics
22   !!   'key_trdmld'                         mixed layer trends diagnostics
23   !!----------------------------------------------------------------------
24
25   !! Trends diagnostics parameters
26   !!---------------------------------------------------------------------
27   INTEGER, PARAMETER ::            &
28# if defined key_traldf_eiv
29      jptrdh = 4,   &  !: number of 3D horiz trends arrays
30      jpltrd = 10,  &  !: number of mixed-layer trends arrays
31      jpktrd = jpk     !: max level for mixed-layer trends diag.
32# else
33      jptrdh = 2,   &  !: number of 3D horiz trends arrays
34      jpltrd = 7,   &  !: number of mixed-layer trends arrays
35      jpktrd = jpk     !: max level for mixed-layer trends diag.
36# endif
37
38   !! Trends diagnostics variables
39   !!---------------------------------------------------------------------
40   REAL(wp) ::   &
41      tvolt         ! volume of the whole ocean computed at t-points
42   REAL(wp), DIMENSION(jpi,jpj,jpk,7) ::   &
43      ttrd             !: trends of the temperature tracer equations
44      !                !  ttrd(,,,1) : horizontal advection
45      !                !  ttrd(,,,2) : vertical advection
46      !                !  ttrd(,,,3) : horizontal diffusion
47      !                !  ttrd(,,,4) : vertical diffusion
48      !                !  ttrd(,,,5) : static instability
49      !                !  ttrd(,,,6) : damping OR vertical EIV
50      !                !  ttrd(,,,7) : penetrative solar radiation (T only)
51   REAL(wp), DIMENSION(jpi,jpj,jpk,6) ::   &
52      strd             !: trends of the salinity tracer equations
53      !                !  same as ttrd()
54   REAL(wp), DIMENSION(jpi,jpj,jpk,jptrdh) ::   &
55      ttrdh, strdh     !: ttrdh(,,,1) : zonal advection
56      !                !  ttrdh(,,,2) : meridional advection
57      !                !  ttrdh(,,,3) : zonal EIV
58      !                !  ttrdh(,,,4) : meridional EIV
59   REAL(wp), DIMENSION(jpi,jpj,2) ::   &
60      flxtrd,       &  !: tracer forcing trends
61      bbltrd           !: tracer bottom boundary layer trends
62   
63#else
64  !!----------------------------------------------------------------------
65  !!   Default option :                        NO tracer trend diagnostics
66  !!----------------------------------------------------------------------
67#endif
68
69  !!======================================================================
70END MODULE trdtra_oce
Note: See TracBrowser for help on using the repository browser.