1 |
heimbach |
1.2 |
C $Header: /u/gcmpack/models/MITgcmUV/pkg/gmredi/GMREDI.h,v 1.1 2000/06/21 19:42:54 adcroft Exp $ |
2 |
adcroft |
1.1 |
|
3 |
|
|
#ifdef ALLOW_GMREDI |
4 |
heimbach |
1.2 |
|
5 |
|
|
C Package flag |
6 |
|
|
logical gmrediIsOn |
7 |
adcroft |
1.1 |
|
8 |
|
|
C GM/Redi parameters |
9 |
|
|
_RL GM_background_K |
10 |
|
|
_RL GM_maxSlope |
11 |
|
|
_RL GM_Visbeck_alpha |
12 |
|
|
_RL GM_Visbeck_length |
13 |
|
|
_RL GM_Visbeck_depth |
14 |
|
|
_RL GM_Visbeck_maxval_K |
15 |
|
|
CHARACTER*(MAX_LEN_FNAM) GM_taper_scheme |
16 |
|
|
_RL GM_Scrit |
17 |
|
|
_RL GM_Sd |
18 |
|
|
COMMON /GM_PARAMS/ GM_background_K, |
19 |
|
|
& GM_maxSlope, |
20 |
|
|
& GM_Visbeck_alpha, |
21 |
|
|
& GM_Visbeck_length, |
22 |
|
|
& GM_Visbeck_depth, |
23 |
|
|
& GM_Visbeck_maxval_K, |
24 |
|
|
& GM_taper_scheme, |
25 |
|
|
& GM_Scrit, |
26 |
|
|
& GM_Sd |
27 |
|
|
|
28 |
|
|
|
29 |
|
|
C More GM/Redi parameters diagnosed from previous block |
30 |
|
|
C (not directly user configured) |
31 |
|
|
_RL GM_rMaxSlope |
32 |
|
|
COMMON /GM_PARAMS2/ GM_rMaxSlope |
33 |
|
|
|
34 |
|
|
|
35 |
|
|
C GM/Redi tensor elements |
36 |
|
|
|
37 |
|
|
C Bottom row of tensor corresponds to W points |
38 |
|
|
C Kwx is K_31 element, X direction at W point |
39 |
|
|
C Kwy is K_32 element, Y direction at W point |
40 |
|
|
C Kwz is K_33 element, Z direction at W point |
41 |
|
|
_RL Kwx(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,MAX_NO_THREADS) |
42 |
|
|
_RL Kwy(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,MAX_NO_THREADS) |
43 |
|
|
_RL Kwz(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,MAX_NO_THREADS) |
44 |
|
|
COMMON /GM_Wtensor/ Kwx,Kwy,Kwz |
45 |
|
|
|
46 |
|
|
#ifdef GM_NON_UNITY_DIAGONAL |
47 |
|
|
C First/second rows of tensor corresponds to U/V points |
48 |
|
|
C Kux is K_11 element, X direction at U point |
49 |
|
|
C Kvy is K_22 element, Y direction at V point |
50 |
|
|
_RL Kux(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,MAX_NO_THREADS) |
51 |
|
|
_RL Kvy(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,MAX_NO_THREADS) |
52 |
|
|
COMMON /GM_UVtensor/ Kux,Kvy |
53 |
|
|
#else |
54 |
|
|
_RL Kux,Kvy |
55 |
|
|
PARAMETER(Kux=1.,Kvy=1.) |
56 |
|
|
#endif |
57 |
|
|
|
58 |
|
|
#ifdef GM_VISBECK_VARIABLE_K |
59 |
|
|
C GM mixing/stirring coefficient (spatially variable in horizontal |
60 |
|
|
C for Visbeck et al. parameterization) |
61 |
|
|
_RL VisbeckK(1-OLx:sNx+OLx,1-OLy:sNy+OLy,MAX_NO_THREADS) |
62 |
|
|
COMMON /GM_Visbeck/ VisbeckK |
63 |
|
|
#endif |
64 |
|
|
|
65 |
|
|
#endif /* ALLOW_GMREDI */ |