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/OPA_SRC – NEMO

source: trunk/NEMO/OPA_SRC/oce.F90 @ 85

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

CT : UPDATE001 : First major NEMO update

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.5 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   !! Physics and algorithm flags
18   !! ---------------------------
19   LOGICAL, PUBLIC ::   ln_dynhpg_imp   = .FALSE.  !: semi-implicite hpg flag
20
21   !! dynamics and tracer fields
22   !! --------------------------
23   REAL(wp), PUBLIC, DIMENSION(jpi,jpj,jpk) ::   &   !:
24      ! before !  now      !  after  !
25      ub       ,  un       ,  ua     ,   &  !: i-horizontal velocity (m/s)
26      vb       ,  vn       ,  va     ,   &  !: j-horizontal velocity (m/s)
27                  wn       ,             &  !: vertical velocity (m/s)
28      rotb     ,  rotn     ,             &  !: relative vorticity (1/s)
29      hdivb    ,  hdivn    ,             &  !: horizontal divergence (1/s)
30      tb       ,  tn       ,  ta     ,   &  !: potential temperature (celcius)
31      sb       ,  sn       ,  sa            !: salinity (psu)
32   REAL(wp), PUBLIC, DIMENSION(jpi,jpj,jpk) ::   &   !:
33      rhd ,                              &  !: in situ density anomalie rhd=(rho-rau0)/rau0 (no units)
34      rhop,                              &  !: potential volumic mass (kg/m3)
35      rn2                                   !: brunt-vaisala frequency (1/s2)
36
37   !! surface pressure gradient
38   !! -------------------------
39   REAL(wp), PUBLIC, DIMENSION(jpi,jpj) ::   &   !:
40      spgu, spgv             !: horizontal surface pressure gradient
41
42#if defined key_partial_steps     ||   defined key_esopa
43   !! interpolated gradient
44   !! ---------------------
45   REAL(wp), PUBLIC, DIMENSION(jpi,jpj) ::   &   !:
46      gtu, gsu, gru,      &  !: t-, s- and rd horizontal gradient at u- and
47      gtv, gsv, grv          !: v-points at bottom ocean level
48#else
49   REAL(wp), PUBLIC ::   &   !:
50      gtu, gsu, gru,      &  !: dummy scalars
51      gtv, gsv, grv          !:
52#endif
53
54#if defined key_dynspg_fsc   ||   defined key_esopa
55   !! free surface - constant volume formulation
56   !! ------------------------------------------
57   REAL(wp), PUBLIC, DIMENSION(jpi,jpj) ::   &   !:
58      sshb, sshn,         &  !: before, now sea surface height (meters)
59      hu, hv                 !: depth at u- and v-points (meters)
60# if defined key_obc
61   REAL(wp), PUBLIC ::    &  !:
62      obcsurftot       !: Total lateral surface of open boundaries
63   REAL(wp), PUBLIC, DIMENSION(jpi,jpj) ::   &   !:
64      obcumask, obcvmask     !: u-, v- Force filtering mask for the open
65      !                      !  boundary condition on grad D
66# endif
67#endif
68#if defined key_dynspg_rl   ||   defined key_esopa
69   !! rigid-lid formulation
70   !! ---------------------
71   REAL(wp), PUBLIC, DIMENSION(jpi,jpj) ::   &   !:
72      hur, hvr,           &  !: inverse of u and v-points ocean depth (1/m)
73      bsfb, bsfn,         &  !: before, now barotropic streamfunction (m3/s)
74      bsfd                   !: now trend of barotropic streamfunction (m3/s2)
75#endif
76
77   !!----------------------------------------------------------------------
78END MODULE oce
Note: See TracBrowser for help on using the repository browser.