[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) |
---|
[1152] | 11 | !! $Id$ |
---|
[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 | !! --------------------------- |
---|
[915] | 22 | LOGICAL, PUBLIC :: l_traldf_rot = .FALSE. !: rotated laplacian operator for lateral diffusion |
---|
[15] | 23 | LOGICAL, PUBLIC :: ln_dynhpg_imp = .FALSE. !: semi-implicite hpg flag |
---|
[544] | 24 | INTEGER, PUBLIC :: nn_dynhpg_rst = 0 !: add dynhpg implicit variables in restart ot not |
---|
[3] | 25 | |
---|
| 26 | !! dynamics and tracer fields |
---|
| 27 | !! -------------------------- |
---|
[15] | 28 | REAL(wp), PUBLIC, DIMENSION(jpi,jpj,jpk) :: & !: |
---|
[88] | 29 | ! before ! now ! after ! ! the after trends becomes the fields |
---|
| 30 | ! fields ! fields ! trends ! ! only in dyn(tra)_zdf and dyn(tra)_nxt |
---|
[3] | 31 | ub , un , ua , & !: i-horizontal velocity (m/s) |
---|
| 32 | vb , vn , va , & !: j-horizontal velocity (m/s) |
---|
| 33 | wn , & !: vertical velocity (m/s) |
---|
| 34 | rotb , rotn , & !: relative vorticity (1/s) |
---|
| 35 | hdivb , hdivn , & !: horizontal divergence (1/s) |
---|
| 36 | tb , tn , ta , & !: potential temperature (celcius) |
---|
| 37 | sb , sn , sa !: salinity (psu) |
---|
[15] | 38 | REAL(wp), PUBLIC, DIMENSION(jpi,jpj,jpk) :: & !: |
---|
[3] | 39 | rhd , & !: in situ density anomalie rhd=(rho-rau0)/rau0 (no units) |
---|
| 40 | rhop, & !: potential volumic mass (kg/m3) |
---|
| 41 | rn2 !: brunt-vaisala frequency (1/s2) |
---|
| 42 | |
---|
[216] | 43 | !! advection scheme choice |
---|
| 44 | !! ----------------------- |
---|
| 45 | CHARACTER(len=3), PUBLIC :: l_adv !: 'ce2' centre scheme used |
---|
[467] | 46 | ! !: 'tvd' TVD scheme used |
---|
| 47 | ! !: 'mus' MUSCL scheme used |
---|
| 48 | ! !: 'mu2' MUSCL2 scheme used |
---|
[216] | 49 | |
---|
[3] | 50 | !! surface pressure gradient |
---|
| 51 | !! ------------------------- |
---|
[15] | 52 | REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: & !: |
---|
[3] | 53 | spgu, spgv !: horizontal surface pressure gradient |
---|
| 54 | |
---|
[467] | 55 | !! interpolated gradient (only used in zps case) |
---|
[3] | 56 | !! --------------------- |
---|
[15] | 57 | REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: & !: |
---|
[3] | 58 | gtu, gsu, gru, & !: t-, s- and rd horizontal gradient at u- and |
---|
| 59 | gtv, gsv, grv !: v-points at bottom ocean level |
---|
| 60 | |
---|
[359] | 61 | !! free surface |
---|
| 62 | !! ------------ |
---|
[15] | 63 | REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: & !: |
---|
[593] | 64 | sshb , sshn , & !: before, now sea surface height (meters) |
---|
| 65 | sshu , sshv , & !: sea surface height at u- and v- point |
---|
| 66 | sshbb, ssha !: before before sea surface height at t-point |
---|
[359] | 67 | |
---|
[3] | 68 | #if defined key_dynspg_rl || defined key_esopa |
---|
| 69 | !! rigid-lid formulation |
---|
| 70 | !! --------------------- |
---|
[15] | 71 | REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: & !: |
---|
[3] | 72 | bsfb, bsfn, & !: before, now barotropic streamfunction (m3/s) |
---|
| 73 | bsfd !: now trend of barotropic streamfunction (m3/s2) |
---|
| 74 | #endif |
---|
| 75 | !!---------------------------------------------------------------------- |
---|
| 76 | END MODULE oce |
---|