MODULE dynspg_oce !!====================================================================== !! *** MODULE dynspg_oce *** !! !! Ocean dynamics: Define in memory surface pressure gradient variables !!====================================================================== !! History : 1.0 ! 05-12 (C. Talandier, G. Madec) Original code !! 3.2 ! 2009-07 (R. Benshila) Suppression of rigid-lid option !!---------------------------------------------------------------------- USE par_oce ! ocean parameters IMPLICIT NONE PUBLIC ! !!! Surface pressure gradient logicals #if defined key_dynspg_exp || defined key_esopa LOGICAL, PUBLIC, PARAMETER :: lk_dynspg_exp = .TRUE. !: Explicit free surface flag #else LOGICAL, PUBLIC, PARAMETER :: lk_dynspg_exp = .FALSE. !: Explicit free surface flag #endif #if defined key_dynspg_ts || defined key_esopa LOGICAL, PUBLIC, PARAMETER :: lk_dynspg_ts = .TRUE. !: Free surface with time splitting flag #else LOGICAL, PUBLIC, PARAMETER :: lk_dynspg_ts = .FALSE. !: Free surface with time splitting flag #endif #if defined key_dynspg_flt || defined key_esopa LOGICAL, PUBLIC, PARAMETER :: lk_dynspg_flt = .TRUE. !: Filtered free surface cst volume flag #else LOGICAL, PUBLIC, PARAMETER :: lk_dynspg_flt = .FALSE. !: Filtered free surface cst volume flag #endif !!gm BUG : always required in _ts, only some of them in vvl ! #if defined key_dynspg_ts || defined key_esopa !!gm end #if defined key_dynspg_ts || defined key_vvl || defined key_esopa ! !!! Time splitting scheme (sub-time step variables) REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: ua_e , va_e ! barotropic velocities (after) REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: sshn_e, ssha_e, sshn_b ! sea surface heigth (now, after, average) REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: hu_e , hv_e ! now ocean depth ( = Ho+sshn_e ) REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: hur_e , hvr_e ! inverse of the now depth ( = 1/(Ho+sshn_e) ) #endif !!---------------------------------------------------------------------- !! NEMO/OPA 3.2 , LODYC-IPSL (2009) !! $Id$ !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt) !!====================================================================== END MODULE dynspg_oce