New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
dynspg_oce.F90 in tags/nemo_v3_2/nemo_v3_2/NEMO/OPA_SRC/DYN – NEMO

source: tags/nemo_v3_2/nemo_v3_2/NEMO/OPA_SRC/DYN/dynspg_oce.F90 @ 1878

Last change on this file since 1878 was 1878, checked in by flavoni, 14 years ago

initial test for nemogcm

File size: 2.5 KB
Line 
1MODULE dynspg_oce
2   !!======================================================================
3   !!                       ***  MODULE dynspg_oce  ***
4   !!       
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
9   !!----------------------------------------------------------------------
10   USE par_oce        ! ocean parameters
11
12   IMPLICIT NONE
13   PUBLIC           
14
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
18#else
19   LOGICAL, PUBLIC, PARAMETER ::   lk_dynspg_exp = .FALSE.  !: Explicit free surface flag
20#endif
21#if   defined key_dynspg_ts   ||  defined key_esopa
22   LOGICAL, PUBLIC, PARAMETER ::   lk_dynspg_ts  = .TRUE.   !: Free surface with time splitting flag
23#else
24   LOGICAL, PUBLIC, PARAMETER ::   lk_dynspg_ts  = .FALSE.  !: Free surface with time splitting flag
25#endif
26#if   defined key_dynspg_flt  ||  defined key_esopa
27   LOGICAL, PUBLIC, PARAMETER ::   lk_dynspg_flt = .TRUE.   !: Filtered free surface cst volume flag
28#else
29   LOGICAL, PUBLIC, PARAMETER ::   lk_dynspg_flt = .FALSE.  !: Filtered free surface cst volume flag
30#endif
31
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) )
41#endif
42
43   !!----------------------------------------------------------------------
44   !! NEMO/OPA 3.2 , LODYC-IPSL  (2009)
45   !! $Id: dynspg_oce.F90 1566 2009-07-31 14:34:08Z rblod $
46   !! Software governed by the CeCILL licence (modipsl/doc/NEMO_CeCILL.txt)
47   !!======================================================================
48END MODULE dynspg_oce
Note: See TracBrowser for help on using the repository browser.