/[MITgcm]/MITgcm_contrib/ifenty/seaiceAdjointCode/SEAICE.h
ViewVC logotype

Annotation of /MITgcm_contrib/ifenty/seaiceAdjointCode/SEAICE.h

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


Revision 1.1 - (hide annotations) (download)
Fri Jun 29 18:54:04 2007 UTC (18 years ago) by gforget
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/plain
Ian Fenty sea-ice growth routines (adjointable, in developement)

1 gforget 1.1 C $Header: /u/gcmpack/MITgcm/pkg/seaice/SEAICE.h,v 1.30 2007/04/24 11:23:42 mlosch 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 UICEC - average of UICE(1) between last two time steps
18     C VICE - meridional ice velocity in m/s at South-West B-grid
19     C (or C-grid #ifdef SEAICE_CGRID) V point
20     C >0 from South to North
21     C note: the South-West B-grid U and V points are on
22     C the lower, left-hand corner of each grid cell
23     C VICEC - average of VICE(1) between last two time steps
24     C AREA - fractional ice-covered area in m^2/m^2
25     C at center of grid, i.e., tracer point
26     C 0 is no cover, 1 is 100% cover
27     C HEFF - effective ice thickness in m
28     C at center of grid, i.e., tracer point
29     C note: for non-zero AREA, actual ice
30     C thickness is HEFF / AREA
31     C HSNOW - effective snow thickness in m
32     C at center of grid, i.e., tracer point
33     C note: for non-zero AREA, actual snow
34     C thickness is HEFF / AREA
35     C \ev
36     CEOP
37     COMMON/SEAICE_DYNVARS_1/AREA
38     _RL AREA (1-OLx:sNx+OLx,1-OLy:sNy+OLy,3,nSx,nSy)
39    
40     COMMON/SEAICE_DYNVARS_2/UICE,VICE
41     _RL UICE (1-OLx:sNx+OLx,1-OLy:sNy+OLy,3,nSx,nSy)
42     _RL VICE (1-OLx:sNx+OLx,1-OLy:sNy+OLy,3,nSx,nSy)
43    
44     COMMON/SEAICE_DYNVARS_3/
45     & ETA,ZETA,DRAGS,DRAGA,FORCEX,FORCEY,UICEC,VICEC
46     #ifndef SEAICE_CGRID
47     & , AMASS
48     #else
49     & , seaiceMassC, seaiceMassU, seaiceMassV
50     #endif
51     _RL ETA (1-OLx:sNx+OLx,1-OLy:sNy+OLy, nSx,nSy)
52     _RL ZETA (1-OLx:sNx+OLx,1-OLy:sNy+OLy, nSx,nSy)
53     _RL DRAGS (1-OLx:sNx+OLx,1-OLy:sNy+OLy, nSx,nSy)
54     _RL DRAGA (1-OLx:sNx+OLx,1-OLy:sNy+OLy, nSx,nSy)
55     #ifndef SEAICE_CGRID
56     _RL AMASS (1-OLx:sNx+OLx,1-OLy:sNy+OLy, nSx,nSy)
57     #else
58     _RL seaiceMassC(1-OLx:sNx+OLx,1-OLy:sNy+OLy, nSx,nSy)
59     _RL seaiceMassU(1-OLx:sNx+OLx,1-OLy:sNy+OLy, nSx,nSy)
60     _RL seaiceMassV(1-OLx:sNx+OLx,1-OLy:sNy+OLy, nSx,nSy)
61     #endif
62     _RL FORCEX (1-OLx:sNx+OLx,1-OLy:sNy+OLy, nSx,nSy)
63     _RL FORCEY (1-OLx:sNx+OLx,1-OLy:sNy+OLy, nSx,nSy)
64     _RL UICEC (1-OLx:sNx+OLx,1-OLy:sNy+OLy, nSx,nSy)
65     _RL VICEC (1-OLx:sNx+OLx,1-OLy:sNy+OLy, nSx,nSy)
66    
67     COMMON/SEAICE_DYNVARS_4/
68     & DWATN, PRESS0, FORCEX0, FORCEY0, ZMAX, ZMIN
69     #ifndef SEAICE_CGRID
70     COMMON/SEAICE_DYNVARS_BGRID/ DAIRN
71     _RL DAIRN (1-OLx:sNx+OLx,1-OLy:sNy+OLy, nSx,nSy)
72     #endif
73     _RL DWATN (1-OLx:sNx+OLx,1-OLy:sNy+OLy, nSx,nSy)
74     _RL PRESS0 (1-OLx:sNx+OLx,1-OLy:sNy+OLy, nSx,nSy)
75     _RL FORCEX0 (1-OLx:sNx+OLx,1-OLy:sNy+OLy, nSx,nSy)
76     _RL FORCEY0 (1-OLx:sNx+OLx,1-OLy:sNy+OLy, nSx,nSy)
77     _RL ZMAX (1-OLx:sNx+OLx,1-OLy:sNy+OLy, nSx,nSy)
78     _RL ZMIN (1-OLx:sNx+OLx,1-OLy:sNy+OLy, nSx,nSy)
79    
80     COMMON/SEAICE_TRANS/HEFF,HSNOW
81     _RL HEFF (1-OLx:sNx+OLx,1-OLy:sNy+OLy,3,nSx,nSy)
82     _RL HSNOW (1-OLx:sNx+OLx,1-OLy:sNy+OLy, nSx,nSy)
83    
84     COMMON/ARRAY/HEFFM
85     #ifdef SEAICE_CGRID
86     & , seaiceMaskU, seaiceMaskV
87     #else
88     & , UVM
89     #endif
90     COMMON/OFL/YNEG
91     COMMON/RIV/RIVER
92     _RL HEFFM (1-OLx:sNx+OLx,1-OLy:sNy+OLy, nSx,nSy)
93     #ifdef SEAICE_CGRID
94     _RL seaiceMaskU(1-OLx:sNx+OLx,1-OLy:sNy+OLy, nSx,nSy)
95     _RL seaiceMaskV(1-OLx:sNx+OLx,1-OLy:sNy+OLy, nSx,nSy)
96     #else
97     _RL UVM (1-OLx:sNx+OLx,1-OLy:sNy+OLy, nSx,nSy)
98     #endif /* SEAICE_CGRID */
99     _RL YNEG (1-OLx:sNx+OLx,1-OLy:sNy+OLy, nSx,nSy)
100     _RL RIVER (1-OLx:sNx+OLx,1-OLy:sNy+OLy, nSx,nSy)
101    
102     #ifdef SEAICE_MULTICATEGORY
103     INTEGER MULTDIM
104     PARAMETER (MULTDIM=7)
105     COMMON/MULTICATEGORY/TICES
106     _RL TICES (1-OLx:sNx+OLx,1-OLy:sNy+OLy,MULTDIM,nSx,nSy)
107     #endif
108    
109     #if (defined (SEAICE_CGRID) && defined (SEAICE_ALLOW_EVP))
110     C
111     C additional fields needed by the EVP solver
112     C
113     C seaice_sigma1 - sigma11+sigma22, defined at C-points
114     C seaice_sigma2 - sigma11-sigma22, defined at C-points
115     C seaice_sigma12 - off-diagonal term, defined at Z-points
116     C stressDivergenceX/Y - divergence of stress tensor
117     COMMON /SEAICE_EVP_FIELDS/
118     & stressDivergenceX, stressDivergenceY,
119     & seaice_sigma1, seaice_sigma2, seaice_sigma12
120     _RL stressDivergenceX(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
121     _RL stressDivergenceY(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
122     _RL seaice_sigma1 (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
123     _RL seaice_sigma2 (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
124     _RL seaice_sigma12 (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
125     #endif /* SEAICE_ALLOW_EVP and SEAICE_CGRID */
126    
127     COMMON/MIX/TMIX,TICE
128     COMMON/GWATXY/GWATX,GWATY
129     COMMON/WIND/WINDX,WINDY,TAUX,TAUY
130     _RL TMIX (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
131     _RL TICE (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
132     _RL GWATX (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
133     _RL GWATY (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
134     C TAUX - zonal wind stress over ice at U point
135     C TAUY - meridional wind stress over ice at V point
136     C WINDX - zonal wind stress over water at C points
137     C WINDY - meridional wind stress over water at C points
138     _RL WINDX (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
139     _RL WINDY (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
140     _RL TAUX (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
141     _RL TAUY (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
142    
143     COMMON/COUNT/ICOUNT
144     COMMON/DAY/IDELT
145     INTEGER ICOUNT, IDELT
146    
147     C-- KGEO Level used as a proxy for geostrophic velocity.
148     COMMON/SEAICE_KGEO/KGEO
149     integer KGEO (1-OLx:sNx+OLx,1-OLy:sNy+OLy, nSx,nSy)
150    
151     C-- SWFRACB Fraction of SW radiation penetrating the first layer
152     COMMON/SEAICE_SWFRACB/SWFRACB
153     _RL SWFRACB
154    
155     #ifdef ALLOW_AUTODIFF_TAMC
156     integer iicekey
157     integer nEVPstepMax
158     parameter ( nEVPstepMax=120 )
159     #endif
160    
161     CEH3 ;;; Local Variables: ***
162     CEH3 ;;; mode:fortran ***
163     CEH3 ;;; End: ***

  ViewVC Help
Powered by ViewVC 1.1.22