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.
par_GYRE.h90 in branches/2013/dev_r3940_CNRS4_IOCRS/NEMOGCM/NEMO/OPA_SRC – NEMO

source: branches/2013/dev_r3940_CNRS4_IOCRS/NEMOGCM/NEMO/OPA_SRC/par_GYRE.h90 @ 4015

Last change on this file since 4015 was 4015, checked in by cetlod, 11 years ago

2013/dev_r3940_CNRS4_IOCRS: 1st step, add new routines for outputs coarsening

  • Property svn:keywords set to Id
File size: 5.2 KB
RevLine 
[93]1   !!---------------------------------------------------------------------
2   !!                     ***  par_GYRE.h90  ***
3   !!   Ocean Domain : GYRE configuration at 1/jp_cfg degree resolution
4   !!---------------------------------------------------------------------
[247]5   !!----------------------------------------------------------------------
[2528]6   !! NEMO/OPA 3.3 , NEMO Consortium (2010)
[1152]7   !! $Id$
[2528]8   !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt)
[247]9   !!----------------------------------------------------------------------
[4015]10   CHARACTER (len=16) :: cp_cfg = "gyre"  !: name of the configuration
11   INTEGER            :: jp_cfg = 1       !: resolution of the configuration
12   INTEGER, PARAMETER ::     &
[93]13      ! data size              !!! * size of all the input files *
14      jpidta  = 30*jp_cfg+2, &  !: 1st horizontal dimension ( >= jpi )
15      jpjdta  = 20*jp_cfg+2, &  !: 2nd    "            "    ( >= jpj )
[4015]16      jpkdta  = 31              !: number of levels         ( >= jpk )
[93]17
[4015]18   INTEGER            ::     &
[93]19      ! global domain size     !!! * full domain *
20      jpiglo  = jpidta,      &  !: 1st dimension of global domain --> i
21      jpjglo  = jpjdta,      &  !: 2nd    "                  "    --> j
22      ! zoom starting position
23      jpizoom =   1   ,      &  !: left bottom (i,j) indices of the zoom
24      jpjzoom =   1   ,      &  !: in data indices
25
26      ! Domain characteristics
[1528]27      jperio  =     0           !: lateral cond. type (between 0 and 6)
[93]28
29   !!  Values set to pp_not_used indicates that this parameter is not used in THIS config.
30   !!  Values set to pp_to_be_computed  indicates that variables will be computed in domzgr
31   REAL(wp), PARAMETER ::   &  !:
32      pp_not_used       = 999999._wp  , & !: ???
33      pp_to_be_computed =      0._wp      !: ???
34   !!
35   !! Coefficients associated with the horizontal coordinate system (jphgr_msh /= 0 )
36   !!
37   INTEGER,PARAMETER   ::    & !:
38      jphgr_msh = 5            !: type of horizontal mesh
39      !                        ! = 0 curvilinear coordinate on the sphere
40      !                        !     read in coordinate.nc file
41      !                        ! = 1 geographical mesh on the sphere
42      !                        !     with regular grid-spacing
43      !                        ! = 2 f-plane with regular grid-spacing
44      !                        ! = 3 beta-plane with regular grid-spacing
45      !                        ! = 4 Mercator grid with T/U point at the equator  with
46      !                        !     isotropic resolution (e1_deg)
47      !                        ! =5  beta-plane with regular grid-spacing and rotated domain (GYRE configuration)
48
49      !   ppglam0 , ppgphi0: coordinates of the lower leftmost T point of the grid.
50      !   The mercator grid starts only approximately at gphi0 because
51      !   of the constraint that the equator be a T point.
[443]52   REAL(wp) &
53#if !defined key_agrif
54      , PARAMETER  &
55#endif
56      ::     &  !:
[93]57      ppglam0  =    0.0_wp,   &  !: longitude of first raw and column T-point (jphgr_msh = 1)
58      ppgphi0  =   29.0_wp,   &  !: latitude  of first raw and column T-point (jphgr_msh = 1)
59      !                          ! latitude for the Coriolis or Beta parameter (jphgr_msh = 2 or 3)
60      ppe1_deg = pp_not_used ,   &  !: zonal      grid-spacing (degrees)
61      ppe2_deg = pp_not_used ,   &  !: meridional grid-spacing (degrees)
62      !
63      ppe1_m   = pp_not_used,    &  !: zonal      grid-spacing (meters )
64      ppe2_m   = pp_not_used        !: meridional grid-spacing (meters )
65   !!
66   !!  Coefficients associated with the vertical coordinate system
67   !!
68
69   REAL(wp), PARAMETER  ::       &  !:
[434]70      &     ppsur = -2033.194295283385_wp   ,  &  !:
71      &     ppa0  =  155.8325369664153_wp   ,  &  !:
72      &     ppa1  =  146.3615918601890_wp   ,  &  !:
[93]73      !
74      &     ppkth =  17.28520372419791_wp   ,  &  !: (non dimensional): gives the approximate
75      !                                           !    layer number above which  stretching will
76      !                                           !    be maximum. Usually of order jpk/2.
77      &     ppacr =  5.000000000000000_wp         !: (non dimensional): stretching factor
78      !                                           !    for the grid. The highest zacr, the smallest
79      !                                           !    the stretching.
80
81   !!
82   !!  If all ppa0 ppa1 and ppsur are specified to 0, then
83   !!  they are computed from ppdzmin, pphmax , ppkth, ppacr in dom_zgr
84   !!
85   REAL(wp), PARAMETER ::        &  !:
[434]86      &     ppdzmin = pp_not_used   ,  &  !: (meters): depth of the top (first) model layer
[93]87      !                             !            depth of second "w" level
[434]88      &     pphmax  = pp_not_used         !: (meters): maximum depth of the ocean
[93]89      !                             !            depth of the last "w" level
[2528]90   LOGICAL,  PARAMETER ::        &
91      &     ldbletanh = .FALSE.                   !: Use/do not use double tanf function for vertical coordinates
92   REAL(wp), PARAMETER ::        &
93      &     ppa2    = pp_not_used           ,  &  !: Double tanh function parameters
94      &     ppkth2  = pp_not_used           ,  &  !:
95      &     ppacr2  = pp_not_used                 !:
[93]96
97   !!---------------------------------------------------------------------
Note: See TracBrowser for help on using the repository browser.