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

source: trunk/NEMO/OPA_SRC/par_GYRE.h90 @ 389

Last change on this file since 389 was 389, checked in by opalod, 18 years ago

RB:nemo_v1_update_038: first integration of Agrif :

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