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.
oce.F90 in trunk/NEMO/OFF_SRC – NEMO

source: trunk/NEMO/OFF_SRC/oce.F90 @ 325

Last change on this file since 325 was 325, checked in by opalod, 19 years ago

Initial revision

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.1 KB
Line 
1MODULE oce
2   !!======================================================================
3   !!                      ***  MODULE  oce  ***
4   !! Ocean        :  dynamics and active tracers defined in memory
5   !!======================================================================
6   !! History :
7   !!   8.5  !  02-11  (G. Madec)  F90: Free form and module
8   !!----------------------------------------------------------------------
9   !!  OPA 9.0 , LODYC-IPSL (2003)
10   !!----------------------------------------------------------------------
11   !! * Modules used
12   USE par_oce      ! ocean parameters
13
14   IMPLICIT NONE
15   PRIVATE
16
17   !! dynamics and tracer fields
18   !! --------------------------
19   REAL(wp), PUBLIC, DIMENSION(jpi,jpj,jpk) ::   &   !:
20      ! before !  now      !  after  !      ! the after trends becomes the fields
21      ! fields !  fields   !  trends !      ! only in dyn(tra)_zdf and dyn(tra)_nxt
22                  un       ,  ua     ,   &  !: i-horizontal velocity (m/s)
23                  vn       ,  va     ,   &  !: j-horizontal velocity (m/s)
24                  wn       ,             &  !: vertical velocity (m/s)
25                  hdivn    ,             &  !: horizontal divergence (1/s)
26                  tn       ,  ta     ,   &  !: potential temperature (celcius)
27                  sn       ,  sa            !: salinity (psu)
28   REAL(wp), PUBLIC, DIMENSION(jpi,jpj,jpk) ::   &   !:
29      rhd ,                              &  !: in situ density anomalie rhd=(rho-rau0)/rau0 (no units)
30      rhop,                              &  !: potential volumic mass (kg/m3)
31      rn2                                   !: brunt-vaisala frequency (1/s2)
32
33#if defined key_partial_steps     ||   defined key_esopa
34   !! interpolated gradient
35   !! ---------------------
36   REAL(wp), PUBLIC, DIMENSION(jpi,jpj) ::   &   !:
37      gtu, gsu, gru,      &  !: t-, s- and rd horizontal gradient at u- and
38      gtv, gsv, grv          !: v-points at bottom ocean level
39#else
40   REAL(wp), PUBLIC ::   &   !:
41      gtu, gsu, gru,      &  !: dummy scalars
42      gtv, gsv, grv          !:
43#endif
44
45   !!----------------------------------------------------------------------
46END MODULE oce
Note: See TracBrowser for help on using the repository browser.