/[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.7 - (show annotations) (download)
Wed Mar 6 01:56:27 2002 UTC (22 years, 3 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint46n_post, checkpoint46l_post, checkpoint46g_pre, checkpoint46f_post, checkpoint46b_post, checkpoint46l_pre, checkpoint46d_pre, checkpoint45d_post, checkpoint46j_pre, checkpoint44h_pre, checkpoint46a_post, checkpoint46j_post, checkpoint46k_post, checkpoint45a_post, checkpoint46e_pre, checkpoint45b_post, checkpoint46b_pre, checkpoint46c_pre, checkpoint46, checkpoint46h_pre, checkpoint46m_post, checkpoint46a_pre, checkpoint45c_post, checkpoint44h_post, checkpoint46g_post, checkpoint46i_post, checkpoint46c_post, checkpoint46e_post, checkpoint45, checkpoint46h_post, checkpoint46d_post
Changes since 1.6: +5 -2 lines
File MIME type: text/plain
o GM Advective form:
 Tracers are advected using the residual transport (= Eulerian + GM-bolus).
 parameter GM_AdvSeparate=T return to previous form (i.e. compute separately
  Eulerian and Bolus advection fluxes)

1 C $Header: /u/gcmpack/MITgcm/pkg/gmredi/GMREDI.h,v 1.6 2001/12/16 18:54:49 jmc 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 _RL GM_isopycK
17 _RL GM_background_K
18 _RL GM_maxSlope
19 _RL GM_Kmin_horiz
20 _RL GM_Visbeck_alpha
21 _RL GM_Visbeck_length
22 _RL GM_Visbeck_depth
23 _RL GM_Visbeck_maxval_K
24 CHARACTER*(MAX_LEN_FNAM) GM_taper_scheme
25 _RL GM_Scrit
26 _RL GM_Sd
27 COMMON /GM_PARAMS/ GM_isopycK, GM_background_K,
28 & GM_maxSlope,
29 & GM_Kmin_horiz,
30 & GM_Visbeck_alpha,
31 & GM_Visbeck_length,
32 & GM_Visbeck_depth,
33 & GM_Visbeck_maxval_K,
34 & GM_taper_scheme,
35 & GM_Scrit,
36 & GM_Sd
37
38
39 C More GM/Redi parameters diagnosed from previous block
40 C (not directly user configured)
41 _RL GM_rMaxSlope
42 _RL GM_skewflx
43 _RL GM_advect
44 COMMON /GM_PARAMS2/ GM_rMaxSlope,
45 & GM_skewflx, GM_advect
46
47 C GM/Redi tensor elements
48
49 C Bottom row of tensor corresponds to W points
50 C Kwx is K_31 element, X direction at W point
51 C Kwy is K_32 element, Y direction at W point
52 C Kwz is K_33 element, Z direction at W point
53 _RL Kwx(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
54 _RL Kwy(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
55 _RL Kwz(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
56 COMMON /GM_Wtensor/ Kwx,Kwy,Kwz
57
58 #ifdef GM_NON_UNITY_DIAGONAL
59 C Horizontal part of the tensor
60 C Kux is K_11 element, X direction at U point
61 C Kvy is K_22 element, Y direction at V point
62 _RL Kux(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
63 _RL Kvy(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
64 COMMON /GM_HorTensor/ Kux,Kvy
65 #else
66 _RL Kux,Kvy
67 PARAMETER(Kux=1.,Kvy=1.)
68 #endif
69
70 #ifdef GM_EXTRA_DIAGONAL
71 C First/second rows of tensor corresponds to U/V points
72 C Kuz is K_13 element, Z direction at U point
73 C Kvz is K_23 element, Z direction at V point
74 _RL Kuz(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
75 _RL Kvz(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
76 COMMON /GM_UVtensor/ Kuz,Kvz
77 #else
78 _RL Kuz,Kvz
79 PARAMETER(Kuz=1.,Kvz=1.)
80 #endif
81
82 #ifdef GM_BOLUS_ADVEC
83 C GM advection formulation: bolus velocities are derived from 2
84 C streamfunctions PsiX and PsiY :
85 _RL GM_PsiX(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
86 _RL GM_PsiY(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
87 COMMON /GM_BOLUS/ GM_PsiX,GM_PsiY
88 #endif
89
90 #ifdef GM_VISBECK_VARIABLE_K
91 C GM mixing/stirring coefficient (spatially variable in horizontal
92 C for Visbeck et al. parameterization)
93 _RL VisbeckK(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
94 COMMON /GM_Visbeck/ VisbeckK
95 #endif
96
97 #endif /* ALLOW_GMREDI */

  ViewVC Help
Powered by ViewVC 1.1.22