MODULE dynspg_oce !!====================================================================== !! *** MODULE dynspg_oce *** !! !! Ocean dynamics: Define in memory surface pressure gradient variables !!====================================================================== !! History : 1.0 ! 2005-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 #if defined key_dynspg_ts || defined key_vvl || defined key_esopa ! !!! Time splitting scheme (sub-time step variables) REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) :: ua_e , va_e ! barotropic velocities (after) REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) :: sshn_e, ssha_e ! sea surface heigth (now, after, average) REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) :: hu_e , hv_e ! now ocean depth ( = Ho+sshn_e ) REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) :: hur_e , hvr_e ! inverse of the now depth ( = 1/(Ho+sshn_e) ) #endif !!---------------------------------------------------------------------- !! NEMO/OPA 4.0 , LODYC-IPSL (2011) !! $Id$ !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt) !!====================================================================== END MODULE dynspg_oce