[778] | 1 | MODULE par_eel_r6 |
---|
| 2 | !!====================================================================== |
---|
| 3 | !! *** par_eel_r6 *** |
---|
| 4 | !! Ocean Domain parameter : 6 km resolution cyclic Channel (EEL_R6 configuration) |
---|
| 5 | !!====================================================================== |
---|
| 6 | !! History : 9.0 ! 2007-11 (G. Madec) Original code from par_EEL_R6.h90 |
---|
| 7 | !!---------------------------------------------------------------------- |
---|
| 8 | !! NEMO/OPA 2.4 , LOCEAN-IPSL (2007) |
---|
| 9 | !! $Header: $ |
---|
| 10 | !! Software governed by the CeCILL licence (modipsl/doc/NEMO_CeCILL.txt) |
---|
| 11 | !!---------------------------------------------------------------------- |
---|
| 12 | #if defined key_eel_r6 |
---|
[3] | 13 | !!--------------------------------------------------------------------- |
---|
[778] | 14 | !! 'key_eel_r6' : EEL configuration : R6 |
---|
[3] | 15 | !!--------------------------------------------------------------------- |
---|
[778] | 16 | USE par_kind ! kind parameters |
---|
[3] | 17 | |
---|
[778] | 18 | IMPLICIT NONE |
---|
| 19 | PUBLIC |
---|
[3] | 20 | |
---|
[778] | 21 | # if defined key_agrif |
---|
| 22 | !------!!-------------------------------------------------------------- |
---|
| 23 | ! !! 'key_agrif' : AGRIF |
---|
| 24 | !------!!-------------------------------------------------------------- |
---|
[3] | 25 | |
---|
[778] | 26 | ! Configuration, and domain size are not assigned to a parameter value |
---|
| 27 | ! as they are different in mother and children models |
---|
| 28 | INTEGER :: cp_cfg, jp_cfg !: configuration id (AGRIF case) |
---|
| 29 | INTEGER :: jpidta, jpjdta, jpkdta !: input data size (AGRIF case) |
---|
| 30 | INTEGER :: jpiglo, jpjglo, jpk, jpizoom, jpjzoom !: domain size and zoom (AGRIF case) |
---|
| 31 | INTEGER :: jperio, jpisl, jpnisl !: domain characteristics (AGRIF case) |
---|
[3] | 32 | |
---|
[778] | 33 | # else |
---|
| 34 | !------!!-------------------------------------------------------------- |
---|
| 35 | ! !! Default : no AGRIF: model parameters |
---|
| 36 | !------!!-------------------------------------------------------------- |
---|
[15] | 37 | |
---|
[778] | 38 | ! Configuration name and resolution !!! * GYRE R6 * |
---|
| 39 | CHARACTER (len=16) :: cp_cfg = "eel" !: name of the configuration |
---|
| 40 | INTEGER :: jp_cfg = 6 !: resolution of the configuration [km] |
---|
[3] | 41 | |
---|
[778] | 42 | ! input data size !!! * size of all input files * |
---|
| 43 | INTEGER, PARAMETER :: jpidta = 29 !: 1st lateral dimension ( >= jpiglo ) |
---|
| 44 | INTEGER, PARAMETER :: jpjdta = 83 !: 2nd " " ( >= jpjglo ) |
---|
| 45 | INTEGER, PARAMETER :: jpkdta = 30 !: number of levels ( >= jpk ) |
---|
| 46 | |
---|
[3] | 47 | |
---|
[778] | 48 | # if defined key_cfg_1d |
---|
| 49 | !------------!!-------------------------------------------------------- |
---|
| 50 | ! !! 'key_cfg_1d' : 1D configuration of GYRE_R6 |
---|
| 51 | !------------!!-------------------------------------------------------- |
---|
| 52 | ! global domain size !!! * 1D configuration * |
---|
| 53 | INTEGER, PARAMETER :: jpiglo = 3 !: 1st dimension of global domain --> i |
---|
| 54 | INTEGER, PARAMETER :: jpjglo = 3 !: 2nd " " --> j |
---|
| 55 | INTEGER, PARAMETER :: jpk = jpkdta !: number of vertical levels |
---|
| 56 | ! starting position of the zoom |
---|
| 57 | INTEGER, PARAMETER :: jpizoom = 16 !: left bottom (i,j) indices of the zoom |
---|
| 58 | INTEGER, PARAMETER :: jpjzoom = 11 !: in data domain indices |
---|
| 59 | ! Domain characteristics |
---|
| 60 | INTEGER, PARAMETER :: jperio = 0 !: lateral cond. type (between 0 and 6) |
---|
| 61 | INTEGER, PARAMETER :: jpisl = 0 !: number of islands |
---|
| 62 | INTEGER, PARAMETER :: jpnisl = 0 !: maximum number of points per island |
---|
[15] | 63 | |
---|
[778] | 64 | # else |
---|
| 65 | !------------!!-------------------------------------------------------- |
---|
| 66 | ! !! Default : Full global domain of GYRE_R6 |
---|
| 67 | !------------!!-------------------------------------------------------- |
---|
| 68 | ! global domain size !!! * global domain * |
---|
| 69 | INTEGER, PARAMETER :: jpiglo = jpidta !: 1st dimension of global domain --> i |
---|
| 70 | INTEGER, PARAMETER :: jpjglo = jpjdta !: 2nd " " --> j |
---|
| 71 | INTEGER, PARAMETER :: jpk = jpkdta !: number of vertical levels |
---|
| 72 | ! starting position of the zoom |
---|
| 73 | INTEGER, PARAMETER :: jpizoom = 1 !: left bottom (i,j) indices of the zoom |
---|
| 74 | INTEGER, PARAMETER :: jpjzoom = 1 !: in data domain indices |
---|
| 75 | ! Domain characteristics |
---|
| 76 | INTEGER, PARAMETER :: jperio = 1 !: lateral cond. type (between 0 and 6) |
---|
| 77 | INTEGER, PARAMETER :: jpisl = 1 !: number of islands |
---|
| 78 | INTEGER, PARAMETER :: jpnisl = jpiglo !: maximum number of points per island |
---|
| 79 | # endif |
---|
[15] | 80 | |
---|
[778] | 81 | # endif |
---|
[3] | 82 | |
---|
[778] | 83 | !!--------------------------------------------------------------------- |
---|
| 84 | !! grid parameters for domhgr and domzgr |
---|
| 85 | !!--------------------------------------------------------------------- |
---|
| 86 | ! Values set to pp_not_used indicates that this parameter is not used in THIS config. |
---|
| 87 | ! Values set to pp_to_be_computed indicates that variables will be computed in domzgr |
---|
| 88 | REAL(wp), PARAMETER :: pp_not_used = 999999_wp !: default value for "not used" |
---|
| 89 | REAL(wp), PARAMETER :: pp_to_be_computed = 0._wp !: default value for "to be computed" |
---|
[15] | 90 | |
---|
[778] | 91 | ! horizontal mesh (domhgr) |
---|
| 92 | ! Coefficients associated with the horizontal coordinate system (jphgr_msh /= 0 ) |
---|
| 93 | INTEGER, PARAMETER :: jphgr_msh = 3 !: type of horizontal mesh |
---|
| 94 | ! ! = 3 beta-plane with regular grid-spacing |
---|
| 95 | |
---|
| 96 | ! ppglam0 , ppgphi0: coordinates of the lower leftmost T point of the grid. |
---|
| 97 | ! The mercator grid starts only approximately at gphi0 because |
---|
| 98 | ! of the constraint that the equator be a T point. |
---|
| 99 | REAL(wp) ,PARAMETER :: ppglam0 = 0.0_wp !: longitude of first raw and column T-point (jphgr_msh=1) |
---|
| 100 | REAL(wp) ,PARAMETER :: ppgphi0 = 35.0_wp !: latitude of first raw and column T-point (jphgr_msh=1) |
---|
| 101 | ! ! latitude of the Coriolis/Beta parameter (jphgr_msh=2 or 3) |
---|
| 102 | REAL(wp) ,PARAMETER :: ppe1_deg = pp_not_used !: zonal grid-spacing (degrees) |
---|
| 103 | REAL(wp) ,PARAMETER :: ppe2_deg = pp_not_used !: meridional grid-spacing (degrees) |
---|
| 104 | ! |
---|
| 105 | REAL(wp) ,PARAMETER :: ppe1_m = 6000.0_wp !: zonal grid-spacing (meters ) |
---|
| 106 | REAL(wp) ,PARAMETER :: ppe2_m = 6000.0_wp !: meridional grid-spacing (meters ) |
---|
| 107 | |
---|
| 108 | ! Vertical mesh (domzgr) |
---|
| 109 | ! parameter used in the analytical function defining the repartition of the level and their thickness |
---|
| 110 | REAL(wp), PARAMETER :: ppsur = -2033.194295283385_wp !: ORCA r4, r2 and r05 coefficients |
---|
| 111 | REAL(wp), PARAMETER :: ppa0 = 155.8325369664153_wp !: (default coefficients) |
---|
| 112 | REAL(wp), PARAMETER :: ppa1 = 146.3615918601890_wp !: |
---|
| 113 | REAL(wp), PARAMETER :: ppkth = 17.28520372419791_wp !: (non dimensional): gives the approximate |
---|
| 114 | ! !: layer number above which stretching will |
---|
| 115 | ! !: be maximum. Usually of order jpk/2. |
---|
| 116 | REAL(wp), PARAMETER :: ppacr = 5.00000000000_wp !: (non dimensional): stretching factor |
---|
| 117 | ! !: for the grid. The highest zacr, the smallest |
---|
| 118 | ! !: the stretching. |
---|
| 119 | ! If both ppa0 ppa1 and ppsur are specified to 0, then |
---|
| 120 | ! they are computed from ppdzmin, pphmax, ppkth, ppacr in dom_zgr |
---|
| 121 | REAL(wp), PARAMETER :: ppdzmin = pp_not_used !: (meters) vertical thickness of the top layer |
---|
| 122 | REAL(wp), PARAMETER :: pphmax = pp_not_used !: (meters) Maximum depth of the ocean gdepw(jpk) |
---|
| 123 | |
---|
| 124 | #else |
---|
[3] | 125 | !!--------------------------------------------------------------------- |
---|
[778] | 126 | !! default option : Empty module |
---|
| 127 | !!--------------------------------------------------------------------- |
---|
| 128 | #endif |
---|
| 129 | |
---|
| 130 | !!====================================================================== |
---|
| 131 | END MODULE par_eel_r6 |
---|