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 trunk/NEMO/OPA_SRC/DYN – NEMO

source: trunk/NEMO/OPA_SRC/DYN/dynspg_oce.F90 @ 1502

Last change on this file since 1502 was 1502, checked in by rblod, 15 years ago

Update dynnxt and dynspg_ts for variable volume, see ticket #474

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.4 KB
Line 
1MODULE dynspg_oce
2   !!----------------------------------------------------------------------
3   !!                       ***  MODULE dynspg_oce  ***
4   !!       
5   !! ** Purpose :   Define in memory all the ocean space domain variables
6   !!----------------------------------------------------------------------
7   !! Modules used
8   USE par_oce          ! ocean parameters
9
10   IMPLICIT NONE
11   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.txt
16   !!----------------------------------------------------------------------
17
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
22#else
23   LOGICAL, PUBLIC, PARAMETER ::   lk_dynspg_exp = .FALSE. !: Explicit free surface flag
24#endif
25#if   defined key_dynspg_ts   ||  defined key_esopa
26   LOGICAL, PUBLIC, PARAMETER ::   lk_dynspg_ts  = .TRUE.  !: Free surface with time splitting flag
27#else
28   LOGICAL, PUBLIC, PARAMETER ::   lk_dynspg_ts  = .FALSE. !: Free surface with time splitting flag
29#endif
30#if   defined key_dynspg_flt  ||  defined key_esopa
31   LOGICAL, PUBLIC, PARAMETER ::   lk_dynspg_flt = .TRUE.  !: Filtered free surface cst volume flag
32#else
33   LOGICAL, PUBLIC, PARAMETER ::   lk_dynspg_flt = .FALSE. !: Filtered free surface cst volume flag
34#endif
35#if   defined key_dynspg_rl
36   LOGICAL, PUBLIC, PARAMETER ::   lk_dynspg_rl  = .TRUE.  !: Rigid-lid flag
37#else
38   LOGICAL, PUBLIC, PARAMETER ::   lk_dynspg_rl  = .FALSE. !: Rigid-lid flag
39#endif
40
41#if   defined key_dynspg_ts   ||  defined key_vvl   ||  defined key_esopa
42  !! Time splitting variables   ! variables of the explicit barotropic loop
43  !! ------------------------
44     REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: ua_e  , va_e             ! barotropic velocities (after)
45     REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: sshn_e, ssha_e, sshn_b   ! sea surface heigth (now, after, average)
46     REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: hu_e  , hv_e             ! depth arrays for the barotropic solution
47     REAL(wp), PUBLIC, DIMENSION(jpi,jpj) :: hur_e , hvr_e            ! inverse of depth arrays
48#endif
49
50   !!----------------------------------------------------------------------
51
52END MODULE dynspg_oce
Note: See TracBrowser for help on using the repository browser.