File indexing completed on 2024-02-29 06:10:23 UTC
view on githubraw file Latest commit a4576c7c on 2024-02-28 22:55:11 UTC
0c49347dc7 Alis*0001 #ifdef ALLOW_GMREDI
a4576c7cde Juli*0002
0003
0004
0005
0c49347dc7 Alis*0006
a4576c7cde Juli*0007
0008
0009
0010
0011
0012
2a09713997 Patr*0013
86e2f7bc1f Jean*0014
0015 _RL op5
0016 _RL op25
a8da45f13c Jean*0017 PARAMETER( op5 = 0.5 _d 0 )
0018 PARAMETER( op25 = 0.25 _d 0 )
86e2f7bc1f Jean*0019
f6de204bec Jean*0020
0021
0022
d0035fac68 Jean*0023
f5509be190 Mart*0024
0025
f6de204bec Jean*0026
0027
0028
0029
05118ac017 Jean*0030
0031
0032
0033
0034
0035
0036
0037
f59d76b0dd Ed D*0038
a4576c7cde Juli*0039
0040
0041
86e2f7bc1f Jean*0042 LOGICAL GM_AdvForm
0043 LOGICAL GM_AdvSeparate
d0035fac68 Jean*0044 LOGICAL GM_useBVP
050b4366e6 Jean*0045 LOGICAL GM_useSubMeso
86e2f7bc1f Jean*0046 LOGICAL GM_ExtraDiag
0047 LOGICAL GM_InMomAsStress
0048 LOGICAL GM_MNC
0049 LOGICAL GM_MDSIO
05118ac017 Jean*0050 LOGICAL GM_useBatesK3d
0051 LOGICAL GM_Bates_ThickSheet
0052 LOGICAL GM_Bates_surfK
0053 LOGICAL GM_Bates_constRedi
0054 LOGICAL GM_Bates_use_constK
0055 LOGICAL GM_Bates_beta_eq_0
0056 LOGICAL GM_Bates_smooth
f59d76b0dd Ed D*0057 LOGICAL GM_useLeithQG
a4576c7cde Juli*0058 LOGICAL GM_useGEOM
0059 LOGICAL GEOM_vert_struc
86e2f7bc1f Jean*0060 COMMON /GM_PARAMS_L/
050b4366e6 Jean*0061 & GM_AdvForm, GM_AdvSeparate,
0062 & GM_useBVP, GM_useSubMeso,
86e2f7bc1f Jean*0063 & GM_ExtraDiag, GM_MNC, GM_MDSIO,
0d1e4b948d Mich*0064 & GM_InMomAsStress,
05118ac017 Jean*0065 & GM_useBatesK3d, GM_Bates_smooth,
0066 & GM_Bates_use_constK, GM_Bates_beta_eq_0,
0067 & GM_Bates_ThickSheet, GM_Bates_surfK,
0068 & GM_Bates_constRedi,
a4576c7cde Juli*0069 & GM_useLeithQG,
0070 & GM_useGEOM, GEOM_vert_struc
86e2f7bc1f Jean*0071
d0035fac68 Jean*0072
0073
05118ac017 Jean*0074
d0035fac68 Jean*0075 INTEGER GM_BVP_modeNumber
05118ac017 Jean*0076 INTEGER GM_Bates_NModes
0077 PARAMETER (GM_Bates_NModes=6)
d0035fac68 Jean*0078 COMMON /GM_PARAMS_I/
5a6ef5c2b4 Mich*0079 & GM_BVP_modeNumber
d0035fac68 Jean*0080
f6de204bec Jean*0081
0082
0083
0084
0085
0086
94a8024bbe Jean*0087
0088
8882fbc8b1 Ou W*0089
86e2f7bc1f Jean*0090 CHARACTER*(40) GM_taper_scheme
f6de204bec Jean*0091 CHARACTER*(MAX_LEN_FNAM) GM_iso2dFile
0092 CHARACTER*(MAX_LEN_FNAM) GM_iso1dFile
0093 CHARACTER*(MAX_LEN_FNAM) GM_bol2dFile
0094 CHARACTER*(MAX_LEN_FNAM) GM_bol1dFile
94a8024bbe Jean*0095 CHARACTER*(MAX_LEN_FNAM) GM_K3dRediFile
0096 CHARACTER*(MAX_LEN_FNAM) GM_K3dGMFile
86e2f7bc1f Jean*0097 COMMON /GM_PARAMS_C/
f6de204bec Jean*0098 & GM_taper_scheme,
0099 & GM_iso2dFile, GM_iso1dFile,
8882fbc8b1 Ou W*0100 & GM_bol2dFile, GM_bol1dFile,
94a8024bbe Jean*0101 & GM_K3dRediFile, GM_K3dGMFile
86e2f7bc1f Jean*0102
f6de204bec Jean*0103
86e2f7bc1f Jean*0104
0105
0106
0107
0108
bd3f833a36 Jean*0109
05118ac017 Jean*0110
f5509be190 Mart*0111
0112
050b4366e6 Jean*0113
86e2f7bc1f Jean*0114
0115
0116
050b4366e6 Jean*0117
d0035fac68 Jean*0118
050b4366e6 Jean*0119
0120
0121
0122
0123
05118ac017 Jean*0124
a4576c7cde Juli*0125
0126
0127
0128
0129
0130
0131
0132
0133
05118ac017 Jean*0134
0135
0136
0137
0138
0139
0140
0141
0142
0143
0144
0145
0146
0147
0148
0149
0150
0151
0152
f42e64b3e7 Jean*0153 _RL GM_isopycK
0c49347dc7 Alis*0154 _RL GM_background_K
0155 _RL GM_maxSlope
f42e64b3e7 Jean*0156 _RL GM_Kmin_horiz
bd3f833a36 Jean*0157 _RL GM_Small_Number
0158 _RL GM_slopeSqCutoff
05118ac017 Jean*0159 _RL GM_Scrit, GM_Sd
f5509be190 Mart*0160 _RL GM_isoFac_calcK
86e2f7bc1f Jean*0161 _RL GM_facTrL2dz
0162 _RL GM_facTrL2ML
0163 _RL GM_maxTransLay
d0035fac68 Jean*0164 _RL GM_BVP_cMin
050b4366e6 Jean*0165 _RL subMeso_Ceff
0166 _RL subMeso_invTau
0167 _RL subMeso_LfMin
0168 _RS subMeso_Lmax
05118ac017 Jean*0169 _RL GM_Visbeck_alpha
0170 _RL GM_Visbeck_length
0171 _RL GM_Visbeck_depth
0172 _RL GM_Visbeck_minDepth
0173 _RL GM_Visbeck_maxSlope
0174 _RL GM_Visbeck_minVal_K
0175 _RL GM_Visbeck_maxVal_K
a4576c7cde Juli*0176 _RL GEOM_alpha
0177 _RL GEOM_lmbda
0178 _RL GEOM_ini_EKE
0179 _RL GEOM_diffKh_EKE
0180 _RL GEOM_minval_K
0181 _RL GEOM_maxval_K
0182 _RL GEOM_vert_struc_min
0183 _RL GEOM_vert_struc_max
05118ac017 Jean*0184 _RL GM_Bates_gamma
0185 _RL GM_Bates_b1
0186 _RL GM_Bates_EadyMinDepth
0187 _RL GM_Bates_EadyMaxDepth
0188 _RL GM_Bates_Lambda
0189 _RL GM_Bates_smallK
0190 _RL GM_Bates_maxK
0191 _RL GM_Bates_constK
0192 _RL GM_Bates_maxC
0193 _RL GM_Bates_Rmax
0194 _RL GM_Bates_Rmin
0195 _RL GM_Bates_minCori
0196 _RL GM_Bates_minN2
0197 _RL GM_Bates_surfMinDepth
0198 _RL GM_Bates_vecFreq
0199 _RL GM_Bates_minRenorm
0200 _RL GM_Bates_maxRenorm
050b4366e6 Jean*0201 COMMON /GM_PARAMS_RL/
05118ac017 Jean*0202 & GM_isopycK, GM_background_K,
0203 & GM_maxSlope,
0204 & GM_Kmin_horiz,
0205 & GM_Small_Number, GM_slopeSqCutoff,
f5509be190 Mart*0206 & GM_Scrit, GM_Sd, GM_isoFac_calcK,
05118ac017 Jean*0207 & GM_facTrL2dz, GM_facTrL2ML, GM_maxTransLay,
0208 & GM_BVP_cMin,
0209 & subMeso_Ceff, subMeso_invTau, subMeso_LfMin,
0210 & GM_Visbeck_alpha, GM_Visbeck_length,
0211 & GM_Visbeck_depth,
0212 & GM_Visbeck_minDepth, GM_Visbeck_maxSlope,
0213 & GM_Visbeck_minVal_K, GM_Visbeck_maxVal_K,
a4576c7cde Juli*0214 & GEOM_alpha, GEOM_lmbda,
0215 & GEOM_ini_EKE, GEOM_diffKh_EKE,
0216 & GEOM_minval_K, GEOM_maxval_K,
0217 & GEOM_vert_struc_min, GEOM_vert_struc_max,
05118ac017 Jean*0218 & GM_Bates_gamma, GM_Bates_b1,
0219 & GM_Bates_EadyMinDepth, GM_Bates_EadyMaxDepth,
0220 & GM_Bates_Lambda, GM_Bates_smallK, GM_Bates_maxK,
0221 & GM_Bates_constK, GM_Bates_maxC,
0222 & GM_Bates_Rmax, GM_Bates_Rmin,
0223 & GM_Bates_minCori, GM_Bates_minN2,
0224 & GM_Bates_surfMinDepth, GM_Bates_vecFreq,
0225 & GM_Bates_minRenorm, GM_Bates_maxRenorm
0226
050b4366e6 Jean*0227 COMMON /GM_PARAMS_RS/
0228 & subMeso_Lmax
0c49347dc7 Alis*0229
f6de204bec Jean*0230
0231
0c49347dc7 Alis*0232 _RL GM_rMaxSlope
f42e64b3e7 Jean*0233 _RL GM_skewflx
d0035fac68 Jean*0234 _RL GM_BVP_rModeNumber
0235 _RL GM_BVP_cHat2Min
86e2f7bc1f Jean*0236 COMMON /GM_DERIVED_PAR/
0237 & GM_rMaxSlope,
f5509be190 Mart*0238 & GM_skewflx,
d0035fac68 Jean*0239 & GM_BVP_rModeNumber, GM_BVP_cHat2Min
0240
f6de204bec Jean*0241
0242
0243
0244
0245
0246
0247 _RS GM_isoFac2d(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
0248 _RS GM_bolFac2d(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
0249 _RS GM_isoFac1d(Nr)
0250 _RS GM_bolFac1d(Nr)
0251 COMMON /GM_COEFFICIENTS/
0252 & GM_isoFac2d, GM_bolFac2d, GM_isoFac1d, GM_bolFac1d
0253
94a8024bbe Jean*0254 #ifdef GM_READ_K3D_REDI
0255
0256 COMMON /GM_INP_K3D_REDI/ GM_inpK3dRedi
0257 _RL GM_inpK3dRedi(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
0258 #endif
0259 #ifdef GM_READ_K3D_GM
0260
0261 COMMON /GM_INP_K3D_GM/ GM_inpK3dGM
0262 _RL GM_inpK3dGM (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
0263 #endif
0264
86e2f7bc1f Jean*0265
0266
0c49347dc7 Alis*0267
0268
f6de204bec Jean*0269
0270
0271
ed71574026 Patr*0272 _RL Kwx(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
0273 _RL Kwy(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
0274 _RL Kwz(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
796b5e35f7 Jean*0275 COMMON /GM_Wtensor/ Kwx, Kwy, Kwz
0c49347dc7 Alis*0276
86e2f7bc1f Jean*0277
f6de204bec Jean*0278
0279
ed71574026 Patr*0280 _RL Kux(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
0281 _RL Kvy(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
796b5e35f7 Jean*0282 COMMON /GM_HorTensor/ Kux, Kvy
0c49347dc7 Alis*0283
f42e64b3e7 Jean*0284 #ifdef GM_EXTRA_DIAGONAL
0285
f6de204bec Jean*0286
0287
f42e64b3e7 Jean*0288 _RL Kuz(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
0289 _RL Kvz(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
796b5e35f7 Jean*0290 COMMON /GM_UVtensor/ Kuz, Kvz
f42e64b3e7 Jean*0291 #else
796b5e35f7 Jean*0292 _RL Kuz, Kvz
0293 PARAMETER( Kuz=1., Kvz=1. )
f42e64b3e7 Jean*0294 #endif
0295
0296 #ifdef GM_BOLUS_ADVEC
86e2f7bc1f Jean*0297
0298
f42e64b3e7 Jean*0299 _RL GM_PsiX(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
0300 _RL GM_PsiY(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
796b5e35f7 Jean*0301 COMMON /GM_BOLUS/ GM_PsiX, GM_PsiY
f42e64b3e7 Jean*0302 #endif
0303
0c49347dc7 Alis*0304 #ifdef GM_VISBECK_VARIABLE_K
94a8024bbe Jean*0305
0306
ed71574026 Patr*0307 _RL VisbeckK(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
0c49347dc7 Alis*0308 COMMON /GM_Visbeck/ VisbeckK
0309 #endif
0310
05118ac017 Jean*0311 #ifdef GM_BATES_K3D
94a8024bbe Jean*0312
05118ac017 Jean*0313
0314
0315
0316
0317
0d1e4b948d Mich*0318
05118ac017 Jean*0319 _RL GM_BatesK3d(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
0320 _RL modesC (1,1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
0321 _RL modesW(GM_Bates_NModes,
0322 & 1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
0323 _RL modesS(GM_Bates_NModes,
0324 & 1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
0325 _RL Rdef (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
0326 _RL gradf (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
0327 COMMON /GM_BATES_K/
0328 & GM_BatesK3d,
0329 & modesC, modesW, modesS,
0330 & Rdef, gradf
0d1e4b948d Mich*0331 #endif
f59d76b0dd Ed D*0332
a4576c7cde Juli*0333 #ifdef GM_GEOM_VARIABLE_K
0334
0335
0336
0337
0338
0339
0340
0341
0342
0343
0344
0345 _RL GEOM_K3d (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
0346 _RL GEOM_EKE (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
0347 _RL GEOM_gEKE_Nm1(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
0348 _RL GEOM_taper (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
0349 INTEGER GEOM_startAB
0350
0351 COMMON /GM_GEOM/ GEOM_K3d,
0352 & GEOM_EKE,
0353 & GEOM_gEKE_Nm1,
0354 & GEOM_taper
0355 COMMON /GM_GEOM_I/ GEOM_startAB
0356 #endif /* GM_GEOM_VARIABLE_K */
0357
f59d76b0dd Ed D*0358 #ifdef ALLOW_GM_LEITH_QG
0359
0360 _RL GM_LeithQG_K(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
0361 COMMON /GM_LEITH_QG/ GM_LeithQG_K
0362 #endif /* ALLOW_GM_LEITH_QG */
0363
0c49347dc7 Alis*0364 #endif /* ALLOW_GMREDI */