/[MITgcm]/MITgcm/pkg/gmredi/GMREDI.h
ViewVC logotype

Contents of /MITgcm/pkg/gmredi/GMREDI.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.10 - (show annotations) (download)
Mon Jan 13 19:02:45 2003 UTC (21 years, 5 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint50c_post, checkpoint48e_post, checkpoint50c_pre, checkpoint48i_post, checkpoint51, checkpoint50, checkpoint50d_post, checkpoint50b_pre, checkpoint48b_post, checkpoint48c_pre, checkpoint48d_pre, checkpoint47i_post, checkpoint48d_post, checkpoint48f_post, checkpoint48h_post, checkpoint51b_pre, checkpoint48a_post, checkpoint50f_post, checkpoint50a_post, checkpoint50f_pre, checkpoint47j_post, checkpoint48c_post, checkpoint51b_post, checkpoint51c_post, checkpoint50g_post, checkpoint50h_post, checkpoint50e_pre, checkpoint50i_post, checkpoint50e_post, checkpoint50d_pre, checkpoint48, checkpoint49, checkpoint48g_post, checkpoint50b_post, checkpoint51a_post
Changes since 1.9: +7 -4 lines
File MIME type: text/plain
add GM_Small_Number & GM_slopeSqCutoff (replace Large_SlopeSqr)
 as running-time parameter (data.gmredi)
 default value are 1.d-12 & 1.d+48 resp.
GM_EXCLUDE_() replace GM_TAPER_() in gmredi_slope_limit.F

1 C $Header: /u/gcmpack/MITgcm/pkg/gmredi/GMREDI.h,v 1.9 2003/01/10 00:48:39 heimbach Exp $
2 C $Name: $
3
4 #ifdef ALLOW_GMREDI
5
6 C Package flag
7 logical GMREDIisON
8 logical GM_AdvForm
9 logical GM_AdvSeparate
10 logical GM_ExtraDiag
11 COMMON /GM_PACKAGE/ GMREDIisON,
12 & GM_AdvForm, GM_AdvSeparate,
13 & GM_ExtraDiag
14
15 C GM/Redi parameters
16 C GM_Small_Number :: epsilon used in computing the slope
17 C GM_slopeSqCutoff :: slope^2 cut-off value
18 _RL GM_isopycK
19 _RL GM_background_K
20 _RL GM_maxSlope
21 _RL GM_Kmin_horiz
22 _RL GM_Small_Number
23 _RL GM_slopeSqCutoff
24 _RL GM_Visbeck_alpha
25 _RL GM_Visbeck_length
26 _RL GM_Visbeck_depth
27 _RL GM_Visbeck_maxval_K
28 CHARACTER*(MAX_LEN_FNAM) GM_taper_scheme
29 _RL GM_Scrit
30 _RL GM_Sd
31 COMMON /GM_PARAMS/ GM_isopycK, GM_background_K,
32 & GM_maxSlope,
33 & GM_Kmin_horiz,
34 & GM_Small_Number, GM_slopeSqCutoff,
35 & GM_Visbeck_alpha,
36 & GM_Visbeck_length,
37 & GM_Visbeck_depth,
38 & GM_Visbeck_maxval_K,
39 & GM_taper_scheme,
40 & GM_Scrit,
41 & GM_Sd
42
43 _RL op5
44 _RL op25
45 PARAMETER( op5 = 0.5 _d 0 )
46 PARAMETER( op25 = 0.25 _d 0 )
47
48 C More GM/Redi parameters diagnosed from previous block
49 C (not directly user configured)
50 _RL GM_rMaxSlope
51 _RL GM_skewflx
52 _RL GM_advect
53 COMMON /GM_PARAMS2/ GM_rMaxSlope,
54 & GM_skewflx, GM_advect
55
56 C GM/Redi tensor elements
57
58 C Bottom row of tensor corresponds to W points
59 C Kwx is K_31 element, X direction at W point
60 C Kwy is K_32 element, Y direction at W point
61 C Kwz is K_33 element, Z direction at W point
62 _RL Kwx(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
63 _RL Kwy(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
64 _RL Kwz(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
65 COMMON /GM_Wtensor/ Kwx,Kwy,Kwz
66
67 #ifdef GM_NON_UNITY_DIAGONAL
68 C Horizontal part of the tensor
69 C Kux is K_11 element, X direction at U point
70 C Kvy is K_22 element, Y direction at V point
71 _RL Kux(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
72 _RL Kvy(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
73 COMMON /GM_HorTensor/ Kux,Kvy
74 #else
75 _RL Kux,Kvy
76 PARAMETER(Kux=1.,Kvy=1.)
77 #endif
78
79 #ifdef GM_EXTRA_DIAGONAL
80 C First/second rows of tensor corresponds to U/V points
81 C Kuz is K_13 element, Z direction at U point
82 C Kvz is K_23 element, Z direction at V point
83 _RL Kuz(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
84 _RL Kvz(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
85 COMMON /GM_UVtensor/ Kuz,Kvz
86 #else
87 _RL Kuz,Kvz
88 PARAMETER(Kuz=1.,Kvz=1.)
89 #endif
90
91 #ifdef GM_BOLUS_ADVEC
92 C GM advection formulation: bolus velocities are derived from 2
93 C streamfunctions PsiX and PsiY :
94 _RL GM_PsiX(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
95 _RL GM_PsiY(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
96 COMMON /GM_BOLUS/ GM_PsiX,GM_PsiY
97 #endif
98
99 #ifdef GM_VISBECK_VARIABLE_K
100 C GM mixing/stirring coefficient (spatially variable in horizontal
101 C for Visbeck et al. parameterization)
102 _RL VisbeckK(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
103 COMMON /GM_Visbeck/ VisbeckK
104 #endif
105
106 #endif /* ALLOW_GMREDI */

  ViewVC Help
Powered by ViewVC 1.1.22