1 |
C $Header: $ |
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 SHELFICEDragLinear - linear drag at bottom shelfice (1/s) |
20 |
C SHELFICEDragQuadratic - quadratic drag at bottom shelfice (1/m) |
21 |
C SHELFICEexchangeVelocity - scale parameter that determines heat flux |
22 |
C into shelfice (m/s) |
23 |
C SHELFICElatentHeat - latent heat of fusion (J/kg) |
24 |
C useISOMIPTD - use simple ISOMIP thermodynamics |
25 |
C no_slip_shelfice - set slip conditions for shelfice separately, |
26 |
C (by default the same as no_slip_bottom) |
27 |
C SHELFICEwriteState - enable output |
28 |
C SHELFICE_dump_mnc - use netcdf for snapshot output |
29 |
C SHELFICE_tave_mnc - use netcdf for time-averaged output |
30 |
C SHELFICE_dumpFreq - analoguous to dumpFreq (= default) |
31 |
C SHELFICE_taveFreq - analoguous to taveFreq (= default) |
32 |
C |
33 |
C-- Fields |
34 |
C ktopC - index of the top "wet cell" (2D) |
35 |
C----------------------------------------------------------------------- |
36 |
C \ev |
37 |
CEOP |
38 |
|
39 |
COMMON /SHELFICE_PARMS_I/ kTopC |
40 |
INTEGER kTopC (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
41 |
|
42 |
COMMON /SHELFICE_PARMS_R/ |
43 |
& SHELFICE_dumpFreq, SHELFICE_taveFreq, |
44 |
& SHELFICEexchangeVelocity, |
45 |
& SHELFICElatentHeat, recip_SHELFICElatentHeat, |
46 |
& SHELFICEDragLinear, SHELFICEDragQuadratic |
47 |
_RL SHELFICE_dumpFreq, SHELFICE_taveFreq |
48 |
_RL SHELFICEexchangeVelocity |
49 |
_RL SHELFICElatentHeat |
50 |
_RL recip_SHELFICElatentHeat |
51 |
_RL SHELFICEDragLinear |
52 |
_RL SHELFICEDragQuadratic |
53 |
|
54 |
COMMON /SHELFICE_FIELDS_RL/ |
55 |
& shelficeForcingT, |
56 |
& shelficeForcingS |
57 |
_RL shelficeForcingT (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
58 |
_RL shelficeForcingS (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
59 |
|
60 |
COMMON /SHELFICE_FIELDS_RS/ |
61 |
& R_shelfIce, |
62 |
& shelficeHeatFlux, |
63 |
& shelfIceFreshWaterFlux |
64 |
_RS R_shelfIce (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
65 |
_RS shelficeHeatFlux (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
66 |
_RS shelficeFreshWaterFlux(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
67 |
|
68 |
LOGICAL SHELFICEisOn |
69 |
LOGICAL useISOMIPTD |
70 |
LOGICAL no_slip_shelfice |
71 |
LOGICAL SHELFICEwriteState |
72 |
LOGICAL SHELFICE_dump_mdsio |
73 |
LOGICAL SHELFICE_tave_mdsio |
74 |
LOGICAL SHELFICE_dump_mnc |
75 |
LOGICAL SHELFICE_tave_mnc |
76 |
COMMON /SHELFICE_PARMS_L/ |
77 |
& SHELFICEisOn, |
78 |
& useISOMIPTD, |
79 |
& no_slip_shelfice, |
80 |
& SHELFICEwriteState, |
81 |
& SHELFICE_dump_mdsio, |
82 |
& SHELFICE_tave_mdsio, |
83 |
& SHELFICE_dump_mnc, |
84 |
& SHELFICE_tave_mnc |
85 |
|
86 |
#endif /* ALLOW_SHELFICE */ |