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.
trddyn_oce.F90 in tags/nemo_dev_x5/NEMO/OPA_SRC/TRD – NEMO

source: tags/nemo_dev_x5/NEMO/OPA_SRC/TRD/trddyn_oce.F90 @ 7618

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

CT : UPDATE069 : Vorticity diagnostics has been added

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.7 KB
Line 
1MODULE trddyn_oce
2   !!======================================================================
3   !!                      ***  trddyn_oce  ***
4   !! Ocean trends :  dynamical trends arrays defined in memory
5   !!======================================================================
6#if   defined key_trddyn   ||   defined key_esopa || defined key_trd_vor
7   !!----------------------------------------------------------------------
8   !!   'key_trddyn'                             momentum trend diagnostics
9   !!----------------------------------------------------------------------
10   !! * Modules used
11   USE par_oce      ! ocean parameters
12
13   IMPLICIT NONE
14   PUBLIC
15
16    INTEGER  ::      & !!! namdia :  diagnostics on dynamics and/or tracer trends
17      ntrd=10,   &
18      nctls=0
19
20   REAL(wp) ::   &
21      tvols,     &  ! volume of the whole ocean computed at t-points
22      tvolu,     &  ! volume of the whole ocean computed at u-points
23      tvolv,     &  ! volume of the whole ocean computed at v-points
24      rpktrd        ! potential to kinetic energy conversion
25   REAL(wp), DIMENSION(jpi,jpj,jpk,9) ::   & 
26      utrd,      &  ! trends of the momentum equation
27      vtrd
28   REAL(wp), DIMENSION(jpi,jpj,2) ::   & 
29      utrd2,     &  ! trend with the free surface formulation
30      vtrd2
31   REAL(wp), DIMENSION(jpi,jpj,4) ::    &
32      tautrd        ! momentum forcing trends
33#else
34   !!----------------------------------------------------------------------
35   !!   Default case                          NO momentum trend diagnostics
36   !!----------------------------------------------------------------------
37#endif
38   !!----------------------------------------------------------------------
39END MODULE trddyn_oce
Note: See TracBrowser for help on using the repository browser.