1 |
C $Header: /u/gcmpack/MITgcm/pkg/cfc/CFC.h,v 1.5 2011/04/17 21:01:36 jmc Exp $ |
2 |
C $Name: $ |
3 |
|
4 |
C *==========================================================* |
5 |
C | CFC.h |
6 |
C *==========================================================* |
7 |
|
8 |
COMMON /CFC_2D_FIELDS/ |
9 |
& AtmosP, |
10 |
& pisVel, fIce |
11 |
_RL Atmosp(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
12 |
_RL pisVel(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
13 |
_RL fIce (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
14 |
|
15 |
COMMON /CFC11_CHEM/ |
16 |
& A1_11,A2_11,A3_11,A4_11, |
17 |
& B1_11,B2_11,B3_11, |
18 |
& A1_12,A2_12,A3_12,A4_12, |
19 |
& B1_12,B2_12,B3_12 |
20 |
_RL A1_11,A2_11,A3_11,A4_11 |
21 |
_RL B1_11,B2_11,B3_11 |
22 |
_RL A1_12,A2_12,A3_12,A4_12 |
23 |
_RL B1_12,B2_12,B3_12 |
24 |
|
25 |
C schmidt number coefficients |
26 |
COMMON /CFC_SCHMIDT_NO/ |
27 |
& sca_11_1, sca_11_2, sca_11_3, sca_11_4, |
28 |
& sca_12_1, sca_12_2, sca_12_3, sca_12_4 |
29 |
_RL sca_11_1, sca_11_2, sca_11_3, sca_11_4 |
30 |
_RL sca_12_1, sca_12_2, sca_12_3, sca_12_4 |
31 |
|
32 |
C-- parameter for CFC forcing and atmospheric CFC time-series interpolation |
33 |
C-- COMMON /CFC_PARAMS_R/ |
34 |
C CFC_forcingPeriod :: record spacing time for CFC forcing (seconds) |
35 |
C CFC_forcingCycle :: periodic-cycle freq for CFC forcing (seconds) |
36 |
C atmCFC_recSepTime :: time spacing between 2 records of atmos CFC [s] |
37 |
C atmCFC_timeOffset :: time offset for atmos CFC (cfcTime = myTime + offSet) |
38 |
C atmCFC_yNorthBnd :: Northern Lat boundary for interpolation [y-unit] |
39 |
C atmCFC_ySouthBnd :: Southern Lat boundary for interpolation [y-unit] |
40 |
C CFC_monFreq :: frequency (s) to monitor CFC |
41 |
|
42 |
COMMON /CFC_PARAMS_R/ |
43 |
& CFC_forcingPeriod, CFC_forcingCycle, |
44 |
& atmCFC_recSepTime, atmCFC_timeOffset, |
45 |
& atmCFC_yNorthBnd, atmCFC_ySouthBnd, |
46 |
& CFC_monFreq |
47 |
_RL CFC_forcingPeriod |
48 |
_RL CFC_forcingCycle |
49 |
_RL atmCFC_recSepTime |
50 |
_RL atmCFC_timeOffset |
51 |
_RL atmCFC_yNorthBnd |
52 |
_RL atmCFC_ySouthBnd |
53 |
_RL CFC_monFreq |
54 |
|
55 |
C-- COMMON /CFC_FILENAMES/ |
56 |
C atmCFC_inpFile :: file name of Atmospheric CFC time series (ASCII file) |
57 |
C CFC_windFile :: file name of wind speeds |
58 |
C CFC_atmospFile :: file name of atmospheric pressure |
59 |
C CFC_iceFile :: file name of seaice fraction |
60 |
|
61 |
COMMON /CFC_FILENAMES/ |
62 |
& atmCFC_inpFile, |
63 |
& CFC_windFile, CFC_atmospFile, CFC_iceFile |
64 |
|
65 |
CHARACTER*(MAX_LEN_FNAM) atmCFC_inpFile |
66 |
CHARACTER*(MAX_LEN_FNAM) CFC_windFile |
67 |
CHARACTER*(MAX_LEN_FNAM) CFC_atmospFile |
68 |
CHARACTER*(MAX_LEN_FNAM) CFC_iceFile |
69 |
|
70 |
C-- COMMON /CFC_LOAD/ |
71 |
C CFC_ldRec :: time-record currently loaded (in temp arrays *[1]) |
72 |
|
73 |
COMMON /CFC_LOAD_I/ CFC_ldRec |
74 |
COMMON /CFC_LOAD/ |
75 |
& wind0, wind1, ice0, ice1, atmosp0, atmosp1 |
76 |
|
77 |
INTEGER CFC_ldRec(nSx,nSy) |
78 |
_RS wind0 (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
79 |
_RS wind1 (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
80 |
_RS ice0 (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
81 |
_RS ice1 (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
82 |
_RS atmosp0 (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
83 |
_RS atmosp1 (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
84 |
|
85 |
C---+----1----+----2----+----3----+----4----+----5----+----6----+----7-|--+----| |