1 |
C $Header: /u/gcmpack/MITgcm/pkg/shelfice/SHELFICE.h,v 1.2 2006/02/10 10:00:42 mlosch Exp $ |
2 |
C $Name: $ |
3 |
|
4 |
#ifdef ALLOW_SHELFICE |
5 |
|
6 |
CBOP |
7 |
C !ROUTINE: SHELFICE.h |
8 |
|
9 |
C !DESCRIPTION: \bv |
10 |
C /==========================================================\ |
11 |
C | SHELFICE.h | |
12 |
C | o Basic header thermodnynamic shelf ice package. | |
13 |
C | Contains all SHELFICE field declarations. | |
14 |
C \==========================================================/ |
15 |
|
16 |
C----------------------------------------------------------------------- |
17 |
C |
18 |
C-- Constants that can be set in data.shelfice |
19 |
C SHELFICEloadAnomalyFile - name of shelfice load anomaly file |
20 |
C SHELFICEDragLinear - linear drag at bottom shelfice (1/s) |
21 |
C SHELFICEDragQuadratic - quadratic drag at bottom shelfice (1/m) |
22 |
C SHELFICEheatTransCoeff - heat transfer coefficient that determines |
23 |
C heat flux into shelfice (m/s) |
24 |
C SHELFICEsaltTransCoeff - salinity transfer coefficient that determines |
25 |
C salt flux into shelfice (m/s) |
26 |
C SHELFICElatentHeat - latent heat of fusion (J/kg) |
27 |
C useISOMIPTD - use simple ISOMIP thermodynamics |
28 |
C no_slip_shelfice - set slip conditions for shelfice separately, |
29 |
C (by default the same as no_slip_bottom) |
30 |
C SHELFICEwriteState - enable output |
31 |
C SHELFICE_dump_mnc - use netcdf for snapshot output |
32 |
C SHELFICE_tave_mnc - use netcdf for time-averaged output |
33 |
C SHELFICE_dumpFreq - analoguous to dumpFreq (= default) |
34 |
C SHELFICE_taveFreq - analoguous to taveFreq (= default) |
35 |
C |
36 |
C-- Fields |
37 |
C ktopC - index of the top "wet cell" (2D) |
38 |
C R_shelfIce - shelfice topography [m] |
39 |
C shelficeLoadAnomaly - pressure load anomaly of shelfice [Pa] |
40 |
C shelficeHeatFlux - upward heat flux [W/m^2] |
41 |
C shelficeFreshWaterFlux - upward fresh water flux (virt. salt flux) [m/s] |
42 |
C shelficeForcingT - analogue of surfaceForcingT |
43 |
C shelficeForcingS - analogue of surfaceForcingS |
44 |
C----------------------------------------------------------------------- |
45 |
C \ev |
46 |
CEOP |
47 |
|
48 |
COMMON /SHELFICE_PARMS_I/ kTopC |
49 |
INTEGER kTopC (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
50 |
|
51 |
COMMON /SHELFICE_PARMS_R/ |
52 |
& SHELFICE_dumpFreq, SHELFICE_taveFreq, |
53 |
& SHELFICEheatTransCoeff, SHELFICEsaltTransCoeff, |
54 |
& rhoShelfice, SHELFICEkappa, |
55 |
& SHELFICElatentHeat, recip_SHELFICElatentHeat, |
56 |
& SHELFICEheatCapacity_Cp, |
57 |
& SHELFICEthetaSurface, |
58 |
& SHELFICEDragLinear, SHELFICEDragQuadratic |
59 |
_RL SHELFICE_dumpFreq, SHELFICE_taveFreq |
60 |
_RL SHELFICEheatTransCoeff |
61 |
_RL SHELFICEsaltTransCoeff |
62 |
_RL SHELFICElatentHeat |
63 |
_RL SHELFICEheatCapacity_Cp |
64 |
_RL rhoShelfice |
65 |
_RL SHELFICEkappa |
66 |
_RL recip_SHELFICElatentHeat |
67 |
_RL SHELFICEDragLinear |
68 |
_RL SHELFICEDragQuadratic |
69 |
_RL SHELFICEthetaSurface |
70 |
|
71 |
COMMON /SHELFICE_FIELDS_RL/ |
72 |
& shelficeForcingT, |
73 |
& shelficeForcingS |
74 |
_RL shelficeForcingT (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
75 |
_RL shelficeForcingS (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
76 |
|
77 |
COMMON /SHELFICE_FIELDS_RS/ |
78 |
& R_shelfIce, |
79 |
& shelficeLoadAnomaly, |
80 |
& shelficeHeatFlux, |
81 |
& shelfIceFreshWaterFlux |
82 |
_RS R_shelfIce (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
83 |
_RS shelficeLoadAnomaly (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
84 |
_RS shelficeHeatFlux (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
85 |
_RS shelficeFreshWaterFlux(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
86 |
|
87 |
LOGICAL SHELFICEisOn |
88 |
LOGICAL useISOMIPTD |
89 |
LOGICAL no_slip_shelfice |
90 |
LOGICAL SHELFICEwriteState |
91 |
LOGICAL SHELFICE_dump_mdsio |
92 |
LOGICAL SHELFICE_tave_mdsio |
93 |
LOGICAL SHELFICE_dump_mnc |
94 |
LOGICAL SHELFICE_tave_mnc |
95 |
COMMON /SHELFICE_PARMS_L/ |
96 |
& SHELFICEisOn, |
97 |
& useISOMIPTD, |
98 |
& no_slip_shelfice, |
99 |
& SHELFICEwriteState, |
100 |
& SHELFICE_dump_mdsio, |
101 |
& SHELFICE_tave_mdsio, |
102 |
& SHELFICE_dump_mnc, |
103 |
& SHELFICE_tave_mnc |
104 |
|
105 |
CHARACTER*(MAX_LEN_FNAM) SHELFICEloadAnomalyFile |
106 |
COMMON /SHELFICE_PARM_C/ |
107 |
& SHELFICEloadAnomalyFile |
108 |
|
109 |
#endif /* ALLOW_SHELFICE */ |