Changeset 1438 for trunk/NEMO/OPA_SRC/oce.F90
- Timestamp:
- 2009-05-11T16:34:47+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMO/OPA_SRC/oce.F90
r1152 r1438 4 4 !! Ocean : dynamics and active tracers defined in memory 5 5 !!====================================================================== 6 !! History : 7 !! 8.5 ! 02-11 (G. Madec) F90: Free form and module8 !! 9.0 ! 05-11 (V. Garnier) Surface pressure gradient organization6 !! History : 0.1 ! 2002-11 (G. Madec) F90: Free form and module 7 !! 1.0 ! 2005-11 (V. Garnier) Surface pressure gradient organization 8 !! 3.1 ! 2009-02 (G. Madec, M. Leclair) pure z* coordinate 9 9 !!---------------------------------------------------------------------- 10 !! OPA 9.0 , LOCEAN-IPSL (2005)11 !! $Id$12 !! This software is governed by the CeCILL licence see modipsl/doc/NEMO_CeCILL.txt13 !!----------------------------------------------------------------------14 !! * Modules used15 10 USE par_oce ! ocean parameters 16 11 … … 20 15 !! Physics and algorithm flags 21 16 !! --------------------------- 22 LOGICAL, PUBLIC :: l_traldf_rot = .FALSE. !: rotated laplacian operator for lateral diffusion 17 LOGICAL, PUBLIC :: l_traldf_rot = .FALSE. !: rotated laplacian operator for lateral diffusion 23 18 LOGICAL, PUBLIC :: ln_dynhpg_imp = .FALSE. !: semi-implicite hpg flag 24 19 INTEGER, PUBLIC :: nn_dynhpg_rst = 0 !: add dynhpg implicit variables in restart ot not 25 20 26 !! dynamics and tracer fields 27 !! -------------------------- 28 REAL(wp), PUBLIC, DIMENSION(jpi,jpj,jpk) :: & !: 29 ! before ! now ! after ! ! the after trends becomes the fields 30 ! fields ! fields ! trends ! ! only in dyn(tra)_zdf and dyn(tra)_nxt 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) 38 REAL(wp), PUBLIC, DIMENSION(jpi,jpj,jpk) :: & !: 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) 21 !! dynamics and tracer fields ! before ! now ! after ! the after trends becomes the fields 22 !! -------------------------- ! fields ! fields ! trends ! only after tra_zdf and dyn_spg 23 REAL(wp), PUBLIC, DIMENSION(jpi,jpj,jpk) :: ub , un , ua !: i-horizontal velocity [m/s] 24 REAL(wp), PUBLIC, DIMENSION(jpi,jpj,jpk) :: vb , vn , va !: j-horizontal velocity [m/s] 25 REAL(wp), PUBLIC, DIMENSION(jpi,jpj,jpk) :: wn !: vertical velocity [m/s] 26 REAL(wp), PUBLIC, DIMENSION(jpi,jpj,jpk) :: rotb , rotn !: relative vorticity [s-1] 27 REAL(wp), PUBLIC, DIMENSION(jpi,jpj,jpk) :: hdivb , hdivn !: horizontal divergence [s-1] 28 REAL(wp), PUBLIC, DIMENSION(jpi,jpj,jpk) :: tb , tn , ta !: potential temperature [Celcius] 29 REAL(wp), PUBLIC, DIMENSION(jpi,jpj,jpk) :: sb , sn , sa !: salinity [psu] 30 REAL(wp), PUBLIC, DIMENSION(jpi,jpj,jpk) :: rn2b , rn2 !: brunt-vaisala frequency**2 [s-2] 31 ! 32 REAL(wp), PUBLIC, DIMENSION(jpi,jpj,jpk) :: rhd !: in situ density anomalie rhd=(rho-rau0)/rau0 [no units] 33 REAL(wp), PUBLIC, DIMENSION(jpi,jpj,jpk) :: rhop !: potential volumic mass [kg/m3] 42 34 43 !! advection scheme choice 44 !! ----------------------- 45 CHARACTER(len=3), PUBLIC :: l_adv !: 'ce2' centre scheme used 46 ! !: 'tvd' TVD scheme used 47 ! !: 'mus' MUSCL scheme used 48 ! !: 'mu2' MUSCL2 scheme used 35 !! advection scheme choice 36 !! ----------------------- 37 CHARACTER(len=3), PUBLIC :: l_adv !: flag for the advection scheme used (= 'ce2', 'tvd', 'mus' or ...) 49 38 50 39 !! surface pressure gradient 51 40 !! ------------------------- 52 REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: & !: 53 spgu, spgv !: horizontal surface pressure gradient 41 REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: spgu, spgv !: horizontal surface pressure gradient 54 42 55 43 !! interpolated gradient (only used in zps case) 56 44 !! --------------------- 57 REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: & !: 58 gtu, gsu, gru, & !: t-, s- and rd horizontal gradient at u- and 59 gtv, gsv, grv !: v-points at bottom ocean level 45 REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: gtu, gsu, gru !: horizontal gradient of T, S and rd at bottom u-point 46 REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: gtv, gsv, grv !: horizontal gradient of T, S and rd at bottom v-point 60 47 61 !! free surface 62 !! ------------ 63 REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: & !:64 sshb , sshn , & !: before, now sea surface height (meters)65 sshu , sshv , & !: sea surface height at u- and v- point66 sshbb, ssha !: before before sea surface height at t-point48 !! free surface ! before ! now ! after ! 49 !! ------------ ! fields ! fields ! trends ! 50 REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: sshb , sshn , ssha !: sea surface height at t-point [m] 51 REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: sshu_b , sshu_n , sshu_a !: sea surface height at u-point [m] 52 REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: sshv_b , sshv_n , sshv_a !: sea surface height at u-point [m] 53 REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: sshf_b , sshf_n , sshf_a !: sea surface height at f-point [m] 67 54 68 55 #if defined key_dynspg_rl || defined key_esopa 69 56 !! rigid-lid formulation 70 57 !! --------------------- 71 REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: & !: 72 bsfb, bsfn, & !: before, now barotropic streamfunction (m3/s) 73 bsfd !: now trend of barotropic streamfunction (m3/s2) 58 REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: bsfb, bsfn !: before, now barotropic streamfunction (m3/s) 59 REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: bsfd !: now trend of barotropic streamfunction (m3/s2) 74 60 #endif 75 61 !!---------------------------------------------------------------------- 62 !! NEMO/OPA 3.2 , LOCEAN-IPSL (2008) 63 !! $Id$ 64 !! Software governed by the CeCILL licence (modipsl/doc/NEMO_CeCILL.txt) 65 !!====================================================================== 76 66 END MODULE oce
Note: See TracChangeset
for help on using the changeset viewer.