/[MITgcm]/MITgcm/pkg/dic/DIC_VARS.h
ViewVC logotype

Annotation of /MITgcm/pkg/dic/DIC_VARS.h

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


Revision 1.9 - (hide annotations) (download)
Fri Jun 8 20:31:10 2012 UTC (12 years ago) by stephd
Branch: MAIN
CVS Tags: checkpoint64y, checkpoint64x, checkpoint64z, checkpoint64q, checkpoint64p, checkpoint64s, checkpoint64r, checkpoint64u, checkpoint64t, checkpoint64w, checkpoint64v, checkpoint64i, checkpoint64h, checkpoint64k, checkpoint64j, checkpoint64m, checkpoint64l, checkpoint64o, checkpoint64n, checkpoint64a, checkpoint64c, checkpoint64b, checkpoint64e, checkpoint64d, checkpoint64g, checkpoint64f, checkpoint63p, checkpoint63q, checkpoint63r, checkpoint63s, checkpoint63o, checkpoint64, checkpoint65, checkpoint65b, checkpoint65c, checkpoint65a, checkpoint65f, checkpoint65d, checkpoint65e
Changes since 1.8: +4 -2 lines
File MIME type: text/plain
o fix bug so #define READ_PAR will work

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

  ViewVC Help
Powered by ViewVC 1.1.22