/[MITgcm]/MITgcm_contrib/torge/itd/code/SEAICE.h
ViewVC logotype

Annotation of /MITgcm_contrib/torge/itd/code/SEAICE.h

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


Revision 1.1 - (hide annotations) (download)
Fri Apr 27 22:22:17 2012 UTC (13 years, 3 months ago) by dimitri
Branch: MAIN
File MIME type: text/plain
check-in original code, before itd modifications
seaice_advdiff.F,v 1.60 2012/02/16 01:22:02
seaice_check_pickup.F,v 1.7 2012/03/05 15:21:44
seaice_diagnostics_init.F,v 1.33 2012/02/16 01:22:02
seaice_growth.F,v 1.162 2012/03/15 03:07:31
seaice_init_fixed.F,v 1.19 2012/03/11 13:41:38
seaice_init_varia.F,v 1.72 2012/03/14 22:55:53
seaice_readparms.F,v 1.120 2012/03/14 22:55:53
seaice_write_pickup.F,v 1.14 2012/03/05 15:21:45
seaice_read_pickup.F,v 1.16 2012/03/05 15:21:44
seaice_model.F,v 1.100 2012/03/02 18:56:06
SEAICE.h,v 1.62 2012/03/06 16:51:21
SEAICE_OPTIONS.h,v 1.63 2012/03/08 01:15:02
SEAICE_PARAMS.h,v 1.91 2012/03/11 13:41:38
SEAICE_SIZE.h,v 1.5 2012/03/06 16:51:21
SIZE.h,v 1.28 2009/05/17 21:15:07

1 dimitri 1.1 C $Header: /u/gcmpack/MITgcm/pkg/seaice/SEAICE.h,v 1.62 2012/03/06 16:51:21 jmc Exp $
2     C $Name: $
3    
4     CBOP
5     C !ROUTINE: SEAICE.h
6    
7     C !DESCRIPTION: \bv
8     C *==========================================================*
9     C | SEAICE.h
10     C | o Basic header for sea ice model.
11     C | Contains most sea ice field declarations.
12     C *==========================================================*
13     C
14     C UICE :: zonal ice velocity in m/s at South-West B-grid
15     C (or C-grid #ifdef SEAICE_CGRID) U point
16     C >0 from West to East
17     C VICE :: meridional ice velocity in m/s at South-West B-grid
18     C (or C-grid #ifdef SEAICE_CGRID) V point
19     C >0 from South to North
20     C note: the South-West B-grid U and V points are on
21     C the lower, left-hand corner of each grid cell
22     C AREA :: fractional ice-covered area in m^2/m^2
23     C at center of grid, i.e., tracer point
24     C 0 is no cover, 1 is 100% cover
25     C HEFF :: effective ice thickness in m
26     C at center of grid, i.e., tracer point
27     C note: for non-zero AREA, actual ice thickness is HEFF / AREA
28     C HSNOW :: effective snow thickness in m
29     C at center of grid, i.e., tracer point
30     C note: for non-zero AREA, actual snow thickness is HSNOW / AREA
31     C HSALT :: effective sea ice salinity in g/m^2
32     C at center of grid, i.e., tracer point
33     C \ev
34     CEOP
35    
36     C-- Grid variables for seaice
37     COMMON/ARRAY/HEFFM
38     _RL HEFFM (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
39     #ifdef SEAICE_CGRID
40     COMMON/ARRAYC/ seaiceMaskU, seaiceMaskV
41     _RL seaiceMaskU(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
42     _RL seaiceMaskV(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
43     C k1/2AtZ :: coefficients at C and Z points
44     C k1/2AtC for metric terms in U/V ice equations.
45     COMMON/ARRAYCMETRIC/ k1AtC, k1AtZ, k2AtC, k2AtZ
46     _RS k1AtC (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
47     _RS k1AtZ (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
48     _RS k2AtC (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
49     _RS k2AtZ (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
50     #else
51     COMMON/ARRAYB/ UVM
52     _RS UVM (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
53     C k1/2AtC/U/V :: coefficients at C, U, and V points
54     C for metric terms in U/V ice equations.
55     COMMON/ARRAYBMETRIC/
56     & k1AtC, k1AtU, k1AtV, k2AtC, k2AtU, k2AtV
57     _RS k1AtC (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
58     _RS k1AtU (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
59     _RS k1AtV (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
60     _RS k2AtC (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
61     _RS k2AtU (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
62     _RS k2AtV (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
63     #endif /* SEAICE_CGRID */
64    
65     C-- Dynamical variables
66     COMMON/SEAICE_DYNVARS_1/AREA,HEFF,HSNOW,UICE,VICE
67     _RL AREA (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
68     _RL HEFF (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
69     _RL HSNOW (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
70     _RL UICE (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
71     _RL VICE (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
72    
73     #ifdef SEAICE_GROWTH_LEGACY
74     COMMON/SEAICE_DYNVARS_2/ areaNm1, hEffNm1
75     _RL areaNm1 (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
76     _RL hEffNm1 (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
77     #endif /* SEAICE_GROWTH_LEGACY */
78    
79     C uIceC :: average of UICE between last two time steps
80     C vIceC :: average of VICE between last two time steps
81     COMMON/SEAICE_DYNVARS_3/
82     & ETA,ZETA,PRESS, e11, e22, e12,
83     & DRAGS,DRAGA,FORCEX,FORCEY,
84     & uIceC, vIceC, uIceNm1, vIceNm1
85     _RL ETA (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
86     _RL ZETA (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
87     C ice strength/pressure term
88     _RL PRESS (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
89     C strain rate tensor
90     _RL e11 (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
91     _RL e22 (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
92     _RL e12 (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
93     C
94     _RL DRAGS (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
95     _RL DRAGA (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
96     _RL FORCEX (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
97     _RL FORCEY (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
98     _RL uIceC (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
99     _RL vIceC (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
100     _RL uIceNm1 (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
101     _RL vIceNm1 (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
102    
103     #ifndef SEAICE_CGRID
104     COMMON/SEAICE_DYNVARS_BGRID/ AMASS, DAIRN
105     _RL AMASS (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
106     _RL DAIRN (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
107     #else
108     COMMON/SEAICE_DYNVARS_CGRID/
109     & seaiceMassC, seaiceMassU, seaiceMassV
110     _RL seaiceMassC(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
111     _RL seaiceMassU(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
112     _RL seaiceMassV(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
113     #endif
114    
115     COMMON/SEAICE_DYNVARS_4/
116     & DWATN, PRESS0, FORCEX0, FORCEY0, ZMAX, ZMIN
117     _RL DWATN (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
118     _RL PRESS0 (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
119     _RL FORCEX0 (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
120     _RL FORCEY0 (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
121     _RL ZMAX (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
122     _RL ZMIN (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
123    
124     #ifdef SEAICE_VARIABLE_SALINITY
125     COMMON/SEAICE_SALINITY_R/HSALT
126     _RL HSALT (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
127     #endif
128    
129     C saltWtrIce contains m of salty ice melted (<0) or created (>0)
130     C frWtrIce contains m of freshwater ice melted (<0) or created (>0)
131     C that is, ice due to precipitation or snow
132     C frWtrAtm contains freshwater flux from the atmosphere
133     COMMON/ICEFLUX/ saltWtrIce, frWtrIce
134     #ifdef ALLOW_MEAN_SFLUX_COST_CONTRIBUTION
135     & , frWtrAtm
136     _RL frWtrAtm (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
137     #endif
138     _RL saltWtrIce (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
139     _RL frWtrIce (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
140    
141     COMMON/MULTICATEGORY/TICES
142     _RL TICES (1-OLx:sNx+OLx,1-OLy:sNy+OLy,MULTDIM,nSx,nSy)
143    
144     C TICE :: Seaice/snow surface temperature
145     COMMON/SEAICE_TEMPERATURE/ TICE
146     _RL TICE (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
147    
148     #if (defined (SEAICE_CGRID) && defined (SEAICE_ALLOW_FREEDRIFT))
149     COMMON /SEAICE_FD_FIELDS/
150     & uice_fd, vice_fd
151     _RL uice_fd (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
152     _RL vice_fd (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
153     #endif
154    
155     #if (defined (SEAICE_CGRID) && defined (SEAICE_ALLOW_EVP))
156     C
157     C additional fields needed by the EVP solver
158     C
159     C seaice_sigma1 - sigma11+sigma22, defined at C-points
160     C seaice_sigma2 - sigma11-sigma22, defined at C-points
161     C seaice_sigma12 - off-diagonal term, defined at Z-points
162     COMMON /SEAICE_EVP_FIELDS/
163     & seaice_sigma1, seaice_sigma2, seaice_sigma12
164     _RL seaice_sigma1 (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
165     _RL seaice_sigma2 (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
166     _RL seaice_sigma12 (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
167     #endif /* SEAICE_ALLOW_EVP and SEAICE_CGRID */
168    
169     #ifdef SEAICE_CGRID
170     C stressDivergenceX/Y - divergence of stress tensor
171     COMMON /SEAICE_STRESSDIV/
172     & stressDivergenceX, stressDivergenceY
173     _RL stressDivergenceX(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
174     _RL stressDivergenceY(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
175     #endif /* SEAICE_CGRID */
176    
177     COMMON/WIND_STRESS_ICE/TAUX,TAUY
178     C TAUX - zonal wind stress over ice at U point
179     C TAUY - meridional wind stress over ice at V point
180     _RL TAUX (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
181     _RL TAUY (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
182    
183     #ifndef SEAICE_CGRID
184     COMMON/WIND_STRESS_OCE/WINDX,WINDY
185     C WINDX - zonal wind stress over water at C points
186     C WINDY - meridional wind stress over water at C points
187     _RL WINDX (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
188     _RL WINDY (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
189    
190     COMMON/GWATXY/GWATX,GWATY
191     _RL GWATX (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
192     _RL GWATY (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
193    
194     C-- KGEO Level used as a proxy for geostrophic velocity.
195     COMMON/SEAICE_KGEO/KGEO
196     INTEGER KGEO (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
197     #endif
198    
199     #ifdef ALLOW_SEAICE_COST_EXPORT
200     _RL uHeffExportCell(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
201     _RL vHeffExportCell(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
202     COMMON /SEAICE_COST_EXPORT_R/
203     & uHeffExportCell, vHeffExportCell
204     #endif
205    
206     C SWFracB :: fraction of surface Short-Wave radiation reaching
207     C the bottom of ocean surface level
208     _RL SWFracB
209     COMMON /SEAICE_SW_R/
210     & SWFracB
211    
212     CEH3 ;;; Local Variables: ***
213     CEH3 ;;; mode:fortran ***
214     CEH3 ;;; End: ***

  ViewVC Help
Powered by ViewVC 1.1.22