1 |
C $Header: /u/gcmpack/MITgcm/pkg/dic/DIC_VARS.h,v 1.1 2008/04/04 21:38:56 dfer Exp $ |
2 |
C $Name: $ |
3 |
|
4 |
C /==========================================================\ |
5 |
C | DIC_VARS.h |
6 |
C | o Carbon Variables |
7 |
C |==========================================================| |
8 |
|
9 |
COMMON /CARBON_NEEDS/ |
10 |
& AtmospCO2, AtmosP, pH, pCO2, FluxCO2, |
11 |
& wind, FIce, Silica, Kwexch_Pre |
12 |
_RL AtmospCO2(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
13 |
_RL AtmosP(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
14 |
_RL pH(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
15 |
_RL pCO2(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
16 |
_RL FluxCO2(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
17 |
_RL wind(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
18 |
_RL FIce(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
19 |
_RL Silica(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
20 |
_RL Kwexch_Pre(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
21 |
|
22 |
COMMON /CARBON_CHEM/ |
23 |
& ak0,ak1,ak2,akw,akb,aks,akf, |
24 |
& ak1p,ak2p,ak3p,aksi, |
25 |
& ff,ft,st,bt, Ksp_TP_Calc |
26 |
_RL ak0(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
27 |
_RL ak1(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
28 |
_RL ak2(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
29 |
_RL akw(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
30 |
_RL akb(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
31 |
_RL aks(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
32 |
_RL akf(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
33 |
_RL ak1p(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
34 |
_RL ak2p(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
35 |
_RL ak3p(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
36 |
_RL aksi(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
37 |
_RL ff(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
38 |
_RL ft(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
39 |
_RL st(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
40 |
_RL bt(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
41 |
_RL Ksp_TP_Calc(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
42 |
|
43 |
COMMON /OXYGEN_CHEM/ |
44 |
& oA0,oA1,oA2,oA3,oA4,oA5, |
45 |
& oB0,oB1,oB2,oB3, |
46 |
& oC0 |
47 |
_RL oA0,oA1,oA2,oA3,oA4,oA5 |
48 |
_RL oB0,oB1,oB2,oB3 |
49 |
_RL oC0 |
50 |
|
51 |
C permil : is conversion factor for mol/m3 to mol/kg |
52 |
C assumes uniform (surface) density |
53 |
C Pa2Atm : for conversion of atmospheric pressure |
54 |
C when coming from atmospheric model |
55 |
COMMON /GLOBAL_SURF_MEAN/ |
56 |
& gsm_alk,gsm_s,gsm_t,gsm_dic, |
57 |
& gsm_c14,permil,Pa2Atm |
58 |
_RL gsm_alk |
59 |
_RL gsm_s |
60 |
_RL gsm_t |
61 |
_RL gsm_DIC |
62 |
_RL gsm_C14 |
63 |
_RL permil |
64 |
_RL Pa2Atm |
65 |
|
66 |
C schmidt number coefficients |
67 |
COMMON /SCHMIDT_NO/ |
68 |
& sca1, sca2, sca3, sca4, |
69 |
& sox1, sox2, sox3, sox4 |
70 |
_RL sca1 |
71 |
_RL sca2 |
72 |
_RL sca3 |
73 |
_RL sca4 |
74 |
_RL sox1 |
75 |
_RL sox2 |
76 |
_RL sox3 |
77 |
_RL sox4 |
78 |
|
79 |
C-- COMMON /DIC_FILENAMES/ |
80 |
C WindFileDic :: file name of wind speeds |
81 |
C AtmospFileDic :: file name of atmospheric pressure |
82 |
C IceFileDic :: file name of seaice fraction |
83 |
C IronFileDic :: file name of aeolian iron flux |
84 |
C SilicaFileDic :: file name of surface silica |
85 |
C dic_ForcingPeriod :: periodic forcing parameter specific for dic (seconds) |
86 |
C dic_ForcingCycle :: periodic forcing parameter specific for dic (seconds) |
87 |
C dic_int* :: place holder to read in a integer number, set at run time |
88 |
C dic_pCO2 :: Atmospheric pCO2 to be rad in data.dic |
89 |
|
90 |
COMMON /DIC_FILENAMES/ |
91 |
& WindFileDic, AtmospFileDic, IceFileDic, |
92 |
& IronFileDic, SilicaFileDic, |
93 |
& dic_ForcingPeriod, dic_ForcingCycle, |
94 |
& dic_int1, dic_int2, dic_int3, dic_int4, dic_pCO2 |
95 |
|
96 |
CHARACTER*(MAX_LEN_FNAM) WindFileDic |
97 |
CHARACTER*(MAX_LEN_FNAM) AtmospFileDic |
98 |
CHARACTER*(MAX_LEN_FNAM) IceFileDic |
99 |
CHARACTER*(MAX_LEN_FNAM) IronFileDic |
100 |
CHARACTER*(MAX_LEN_FNAM) SilicaFileDic |
101 |
_RL dic_ForcingPeriod |
102 |
_RL dic_ForcingCycle |
103 |
INTEGER dic_int1 |
104 |
INTEGER dic_int2 |
105 |
INTEGER dic_int3 |
106 |
INTEGER dic_int4 |
107 |
_RL dic_pCO2 |
108 |
|
109 |
#ifdef DIC_BIOTIC |
110 |
C /==========================================================\ |
111 |
C | o Biological Carbon Variables |
112 |
C |==========================================================| |
113 |
|
114 |
COMMON /BIOTIC_NEEDS/ |
115 |
& BIOave, CARave, SURave, SUROave, pCO2ave, pHave, |
116 |
& fluxCO2ave, omegaCave, pfluxave, epfluxave, cfluxave, |
117 |
& dic_timeave, |
118 |
& alpha, rain_ratio, InputFe, omegaC, |
119 |
& Kpo4, DOPfraction, zcrit, KRemin, |
120 |
& KDOPremin,zca,R_op,R_cp,R_NP, R_FeP, |
121 |
& O2crit, alpfe, KScav, ligand_stab, ligand_tot, KFE, |
122 |
& freefemax, par, |
123 |
& parfrac, k0, lit0, |
124 |
& nlev, QSW_underice |
125 |
|
126 |
integer nlev |
127 |
|
128 |
C For averages |
129 |
_RL BIOave(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nR,nSx,nSy) |
130 |
_RL CARave(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nR,nSx,nSy) |
131 |
_RL SURave(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
132 |
_RL SUROave(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
133 |
_RL pCO2ave(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
134 |
_RL pHave(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
135 |
_RL fluxCO2ave(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
136 |
_RL OmegaCave(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nR,nSx,nSy) |
137 |
_RL pfluxave(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nR,nSx,nSy) |
138 |
_RL epfluxave(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nR,nSx,nSy) |
139 |
_RL cfluxave(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nR,nSx,nSy) |
140 |
_RL DIC_timeave(nSx,nSy,nR) |
141 |
|
142 |
C values for biogeochemistry |
143 |
_RL par(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
144 |
_RL alpha(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
145 |
_RL rain_ratio(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
146 |
_RL InputFe(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
147 |
_RL omegaC(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nR,nSx,nSy) |
148 |
_RL Kpo4 |
149 |
_RL DOPfraction |
150 |
_RL zcrit |
151 |
_RL KRemin |
152 |
_RL KDOPremin |
153 |
_RL zca |
154 |
_RL R_op |
155 |
_RL R_cp |
156 |
_RL R_NP |
157 |
_RL R_FeP |
158 |
_RL O2crit |
159 |
_RL alpfe |
160 |
_RL KScav |
161 |
_RL ligand_stab |
162 |
_RL ligand_tot |
163 |
_RL KFe |
164 |
_RL freefemax |
165 |
C values for light limited bio activity |
166 |
_RL k0, parfrac, lit0 |
167 |
|
168 |
LOGICAL QSW_underice |
169 |
#endif |
170 |
|
171 |
CEH3 ;;; Local Variables: *** |
172 |
CEH3 ;;; mode:fortran *** |
173 |
CEH3 ;;; End: *** |