[3] | 1 | MODULE oce |
---|
| 2 | !!====================================================================== |
---|
[15] | 3 | !! *** MODULE oce *** |
---|
[3] | 4 | !! Ocean : dynamics and active tracers defined in memory |
---|
| 5 | !!====================================================================== |
---|
| 6 | !! History : |
---|
| 7 | !! 8.5 ! 02-11 (G. Madec) F90: Free form and module |
---|
[359] | 8 | !! 9.0 ! 05-11 (V. Garnier) Surface pressure gradient organization |
---|
[3] | 9 | !!---------------------------------------------------------------------- |
---|
[247] | 10 | !! OPA 9.0 , LOCEAN-IPSL (2005) |
---|
[719] | 11 | !! $Header$ |
---|
[247] | 12 | !! This software is governed by the CeCILL licence see modipsl/doc/NEMO_CeCILL.txt |
---|
[3] | 13 | !!---------------------------------------------------------------------- |
---|
| 14 | !! * Modules used |
---|
| 15 | USE par_oce ! ocean parameters |
---|
| 16 | |
---|
| 17 | IMPLICIT NONE |
---|
[15] | 18 | PRIVATE |
---|
[3] | 19 | |
---|
| 20 | !! Physics and algorithm flags |
---|
| 21 | !! --------------------------- |
---|
[15] | 22 | LOGICAL, PUBLIC :: ln_dynhpg_imp = .FALSE. !: semi-implicite hpg flag |
---|
[544] | 23 | INTEGER, PUBLIC :: nn_dynhpg_rst = 0 !: add dynhpg implicit variables in restart ot not |
---|
[3] | 24 | |
---|
| 25 | !! dynamics and tracer fields |
---|
| 26 | !! -------------------------- |
---|
[15] | 27 | REAL(wp), PUBLIC, DIMENSION(jpi,jpj,jpk) :: & !: |
---|
[88] | 28 | ! before ! now ! after ! ! the after trends becomes the fields |
---|
| 29 | ! fields ! fields ! trends ! ! only in dyn(tra)_zdf and dyn(tra)_nxt |
---|
[3] | 30 | ub , un , ua , & !: i-horizontal velocity (m/s) |
---|
| 31 | vb , vn , va , & !: j-horizontal velocity (m/s) |
---|
| 32 | wn , & !: vertical velocity (m/s) |
---|
| 33 | rotb , rotn , & !: relative vorticity (1/s) |
---|
| 34 | hdivb , hdivn , & !: horizontal divergence (1/s) |
---|
| 35 | tb , tn , ta , & !: potential temperature (celcius) |
---|
| 36 | sb , sn , sa !: salinity (psu) |
---|
[15] | 37 | REAL(wp), PUBLIC, DIMENSION(jpi,jpj,jpk) :: & !: |
---|
[3] | 38 | rhd , & !: in situ density anomalie rhd=(rho-rau0)/rau0 (no units) |
---|
| 39 | rhop, & !: potential volumic mass (kg/m3) |
---|
| 40 | rn2 !: brunt-vaisala frequency (1/s2) |
---|
| 41 | |
---|
[216] | 42 | !! advection scheme choice |
---|
| 43 | !! ----------------------- |
---|
| 44 | CHARACTER(len=3), PUBLIC :: l_adv !: 'ce2' centre scheme used |
---|
[467] | 45 | ! !: 'tvd' TVD scheme used |
---|
| 46 | ! !: 'mus' MUSCL scheme used |
---|
| 47 | ! !: 'mu2' MUSCL2 scheme used |
---|
[216] | 48 | |
---|
[3] | 49 | !! surface pressure gradient |
---|
| 50 | !! ------------------------- |
---|
[15] | 51 | REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: & !: |
---|
[3] | 52 | spgu, spgv !: horizontal surface pressure gradient |
---|
| 53 | |
---|
[467] | 54 | !! interpolated gradient (only used in zps case) |
---|
[3] | 55 | !! --------------------- |
---|
[15] | 56 | REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: & !: |
---|
[3] | 57 | gtu, gsu, gru, & !: t-, s- and rd horizontal gradient at u- and |
---|
| 58 | gtv, gsv, grv !: v-points at bottom ocean level |
---|
| 59 | |
---|
[359] | 60 | !! free surface |
---|
| 61 | !! ------------ |
---|
[15] | 62 | REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: & !: |
---|
[593] | 63 | sshb , sshn , & !: before, now sea surface height (meters) |
---|
| 64 | sshu , sshv , & !: sea surface height at u- and v- point |
---|
| 65 | sshbb, ssha !: before before sea surface height at t-point |
---|
[359] | 66 | |
---|
[3] | 67 | #if defined key_dynspg_rl || defined key_esopa |
---|
| 68 | !! rigid-lid formulation |
---|
| 69 | !! --------------------- |
---|
[15] | 70 | REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: & !: |
---|
[3] | 71 | bsfb, bsfn, & !: before, now barotropic streamfunction (m3/s) |
---|
| 72 | bsfd !: now trend of barotropic streamfunction (m3/s2) |
---|
| 73 | #endif |
---|
| 74 | !!---------------------------------------------------------------------- |
---|
| 75 | END MODULE oce |
---|