Changeset 1566 for trunk/NEMO/OPA_SRC/DYN/dynspg_oce.F90
- Timestamp:
- 2009-07-31T16:34:08+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMO/OPA_SRC/DYN/dynspg_oce.F90
r1528 r1566 1 1 MODULE dynspg_oce 2 !! ----------------------------------------------------------------------2 !!====================================================================== 3 3 !! *** MODULE dynspg_oce *** 4 4 !! 5 !! ** Purpose : Define in memory all the ocean space domain variables 5 !! Ocean dynamics: Define in memory surface pressure gradient variables 6 !!====================================================================== 7 !! History : 1.0 ! 05-12 (C. Talandier, G. Madec) Original code 8 !! 3.2 ! 2009-07 (R. Benshila) Suppression of rigid-lid option 6 9 !!---------------------------------------------------------------------- 7 !! Modules used 8 USE par_oce ! ocean parameters 10 USE par_oce ! ocean parameters 9 11 10 12 IMPLICIT NONE 11 13 PUBLIC 12 !!----------------------------------------------------------------------13 !! OPA 9.0 , LOCEAN-IPSL (2005)14 !! $Id$15 !! This software is governed by the CeCILL licence see modipsl/doc/NEMO_CeCILL.txt16 !!----------------------------------------------------------------------17 14 18 !! Surface pressure gradient logicals 19 !! ---------------------------------- 20 #if defined key_dynspg_exp || defined key_esopa 21 LOGICAL, PUBLIC, PARAMETER :: lk_dynspg_exp = .TRUE. !: Explicit free surface flag 15 ! !!! Surface pressure gradient logicals 16 #if defined key_dynspg_exp || defined key_esopa 17 LOGICAL, PUBLIC, PARAMETER :: lk_dynspg_exp = .TRUE. !: Explicit free surface flag 22 18 #else 23 LOGICAL, PUBLIC, PARAMETER :: lk_dynspg_exp = .FALSE. !: Explicit free surface flag19 LOGICAL, PUBLIC, PARAMETER :: lk_dynspg_exp = .FALSE. !: Explicit free surface flag 24 20 #endif 25 21 #if defined key_dynspg_ts || defined key_esopa 26 LOGICAL, PUBLIC, PARAMETER :: lk_dynspg_ts = .TRUE. !: Free surface with time splitting flag22 LOGICAL, PUBLIC, PARAMETER :: lk_dynspg_ts = .TRUE. !: Free surface with time splitting flag 27 23 #else 28 LOGICAL, PUBLIC, PARAMETER :: lk_dynspg_ts = .FALSE. !: Free surface with time splitting flag24 LOGICAL, PUBLIC, PARAMETER :: lk_dynspg_ts = .FALSE. !: Free surface with time splitting flag 29 25 #endif 30 26 #if defined key_dynspg_flt || defined key_esopa 31 LOGICAL, PUBLIC, PARAMETER :: lk_dynspg_flt = .TRUE. !: Filtered free surface cst volume flag27 LOGICAL, PUBLIC, PARAMETER :: lk_dynspg_flt = .TRUE. !: Filtered free surface cst volume flag 32 28 #else 33 LOGICAL, PUBLIC, PARAMETER :: lk_dynspg_flt = .FALSE. !: Filtered free surface cst volume flag29 LOGICAL, PUBLIC, PARAMETER :: lk_dynspg_flt = .FALSE. !: Filtered free surface cst volume flag 34 30 #endif 35 31 36 #if defined key_dynspg_ts || defined key_vvl || defined key_esopa 37 !! Time splitting variables ! variables of the explicit barotropic loop 38 !! ------------------------ 39 REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: ua_e , va_e ! barotropic velocities (after) 40 REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: sshn_e, ssha_e, sshn_b ! sea surface heigth (now, after, average) 41 REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: hu_e , hv_e ! depth arrays for the barotropic solution 42 REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: hur_e , hvr_e ! inverse of depth arrays 32 !!gm BUG : always required in _ts, only some of them in vvl 33 ! #if defined key_dynspg_ts || defined key_esopa 34 !!gm end 35 #if defined key_dynspg_ts || defined key_vvl || defined key_esopa 36 ! !!! Time splitting scheme (sub-time step variables) 37 REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: ua_e , va_e ! barotropic velocities (after) 38 REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: sshn_e, ssha_e, sshn_b ! sea surface heigth (now, after, average) 39 REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: hu_e , hv_e ! now ocean depth ( = Ho+sshn_e ) 40 REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: hur_e , hvr_e ! inverse of the now depth ( = 1/(Ho+sshn_e) ) 43 41 #endif 44 42 45 43 !!---------------------------------------------------------------------- 46 44 !! NEMO/OPA 3.2 , LODYC-IPSL (2009) 45 !! $Id$ 46 !! Software governed by the CeCILL licence (modipsl/doc/NEMO_CeCILL.txt) 47 !!====================================================================== 47 48 END MODULE dynspg_oce
Note: See TracChangeset
for help on using the changeset viewer.