1 | MODULE 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 , LOCEAN-IPSL (2005) |
---|
10 | !! $Header$ |
---|
11 | !! This software is governed by the CeCILL licence see modipsl/doc/NEMO_CeCILL.txt |
---|
12 | !!---------------------------------------------------------------------- |
---|
13 | !! * Modules used |
---|
14 | USE par_oce ! ocean parameters |
---|
15 | |
---|
16 | IMPLICIT NONE |
---|
17 | PRIVATE |
---|
18 | |
---|
19 | !! dynamics and tracer fields |
---|
20 | !! -------------------------- |
---|
21 | REAL(wp), PUBLIC, DIMENSION(jpi,jpj,jpk) :: & !: |
---|
22 | ! before ! now ! after ! ! the after trends becomes the fields |
---|
23 | ! fields ! fields ! trends ! ! only in dyn(tra)_zdf and dyn(tra)_nxt |
---|
24 | un , ua , & !: i-horizontal velocity (m/s) |
---|
25 | vn , va , & !: j-horizontal velocity (m/s) |
---|
26 | wn , & !: vertical velocity (m/s) |
---|
27 | hdivn , & !: horizontal divergence (1/s) |
---|
28 | tn , ta , & !: potential temperature (celcius) |
---|
29 | sn , sa !: salinity (psu) |
---|
30 | REAL(wp), PUBLIC, DIMENSION(jpi,jpj,jpk) :: & !: |
---|
31 | rhd , & !: in situ density anomalie rhd=(rho-rau0)/rau0 (no units) |
---|
32 | rhop, & !: potential volumic mass (kg/m3) |
---|
33 | rn2 !: brunt-vaisala frequency (1/s2) |
---|
34 | |
---|
35 | #if defined key_partial_steps || defined key_esopa |
---|
36 | !! interpolated gradient |
---|
37 | !! --------------------- |
---|
38 | REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: & !: |
---|
39 | gtu, gsu, gru, & !: t-, s- and rd horizontal gradient at u- and |
---|
40 | gtv, gsv, grv !: v-points at bottom ocean level |
---|
41 | #else |
---|
42 | REAL(wp), PUBLIC :: & !: |
---|
43 | gtu, gsu, gru, & !: dummy scalars |
---|
44 | gtv, gsv, grv !: |
---|
45 | #endif |
---|
46 | |
---|
47 | !!---------------------------------------------------------------------- |
---|
48 | END MODULE oce |
---|