/[MITgcm]/MITgcm/pkg/cheapaml/CHEAPAML.h
ViewVC logotype

Contents of /MITgcm/pkg/cheapaml/CHEAPAML.h

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


Revision 1.7 - (show annotations) (download)
Wed Nov 16 20:00:31 2011 UTC (12 years, 7 months ago) by wienders
Branch: MAIN
CVS Tags: checkpoint63p, checkpoint63q, checkpoint63r, checkpoint63l, checkpoint63m, checkpoint63n, checkpoint63o, checkpoint63h, checkpoint63i, checkpoint63j, checkpoint63k, checkpoint63f, checkpoint63g
Changes since 1.6: +30 -9 lines
File MIME type: text/plain

New cheapAML (rolexAML) version. This one includes a parametrization of the cloud effect.
Several bugs were also fixed.

1 C $Header: /u/gcmpack/MITgcm/pkg/cheapaml/CHEAPAML.h,v 1.5 2011/02/24 16:11:41 wienders Exp $
2 C $Name: $
3
4 c #ifdef ALLOW_CHEAPAML
5 C !ROUTINE: CHEAPAML.h
6 C -------------------------------
7 C CHEAPAML.h
8 C Parameters for cheap atmos mixed layer model
9 C -------------------------------
10 C Tr :: Relaxation temperature profile for lateral boundary region
11 C qr :: Relaxation specific humidity profile for lateral boundary region
12 C Tair :: atmosphere boundary layer temperature
13 C gTairm :: atmosphere temperature tendency
14 C qair :: atmosphere specific humidity
15 C gqairm :: atmosphere moisture tendency
16 C uwind :: zonal wind
17 C vwind :: meridional wind
18 C solar :: short wave insolation
19 C Cheapmask :: open boundary condition relaxation mask
20 C Cheaptracer :: passive tracer
21 C CheaptracerR :: Relaxation profile for passive tracer
22 C gCheaptracerm :: passive tracer tendency
23
24 COMMON /CHEAPAML_VARS/
25 & Tr, qr,
26 & Tair, gTairm,
27 & qair, gqairm,
28 & uwind, vwind, solar,
29 & wwind,
30 & ustress, vstress,
31 & wavesh, wavesp, Cheapmask, CheapHgrid,
32 & Cheapclouds,
33 & Cheaptracer, CheaptracerR, gCheaptracerm,
34 & Cheapprgrid,xgs,xrelf
35
36
37 _RL Tr (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
38 _RL qr (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
39 _RL Tair (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
40 _RL gTairm (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
41 _RL qair (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
42 _RL gqairm (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
43 _RL uwind (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
44 _RL vwind (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
45 _RL wwind (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
46 _RL Solar (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
47 _RL ustress(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
48 _RL vstress(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
49 _RL wavesh (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
50 _RL wavesp (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
51 _RL Cheapmask(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
52 _RL xgs(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
53 _RL xrelf(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
54 _RL CheapHgrid(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
55 _RL Cheapprgrid(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
56 _RL Cheapclouds(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
57 _RL Cheaptracer(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
58 _RL CheaptracerR(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
59 _RL gCheaptracerm(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
60
61
62 COMMON /CHEAPAML_PARMS_R/
63 & cheapaml_h,
64 & cheapaml_kdiff,
65 & cheapaml_taurelax,
66 & rhoa, cpair, stefan,
67 & lath, xkar, gasR,
68 & dsolms, dsolmn,
69 & xphaseinit, gamma_blk, humid_fac, p0,
70 & xef, hm,
71 & zu, zt, zq,
72 & cdrag_1, cdrag_2, cdrag_3,
73 & externForcingPeriod_cheap,
74 & externForcingCycle_cheap,
75 & cheap_pr1,cheap_pr2
76 _RL cheapaml_h
77 _RL cheapaml_kdiff
78 _RL cheapaml_taurelax
79 _RL rhoa, cpair, stefan
80 _RL lath, xkar, gasR
81 _RL dsolms, dsolmn
82 _RL xphaseinit, gamma_blk, humid_fac, p0
83 _RL xef, hm
84 _RL zu, zt, zq
85 _RL cdrag_1, cdrag_2, cdrag_3
86 _RL externForcingPeriod_cheap
87 _RL externForcingCycle_cheap
88 _RL cheap_pr1,cheap_pr2
89
90 COMMON /CHEAPAML_PARMS_I/
91 & cheapaml_ntim,
92 & cheapaml_mask_width
93 INTEGER cheapaml_ntim
94 INTEGER cheapaml_mask_width
95
96 COMMON /CHEAPAML_PARMS_L/
97 & useFreshwaterFlux,
98 & useFluxLimit,
99 & useStressOption,
100 & useRelativeHumidity,
101 & periodicExternalForcing_cheap,
102 & useCheapTracer,
103 & usetimevarblh,
104 & useclouds
105 LOGICAL useFreshwaterFlux
106 LOGICAL useFluxLimit
107 LOGICAL useStressOption
108 LOGICAL useRelativeHumidity
109 LOGICAL periodicExternalForcing_cheap
110 LOGICAL useCheapTracer
111 LOGICAL usetimevarblh
112 LOGICAL useclouds
113
114 COMMON /CHEAPAML_PARMS_C/
115 & AirTempFile, AirQFile, SolarFile,
116 & UWindFile, VWindFile, UStressFile, VStressFile,
117 & TrFile, QrFile,
118 & WaveHFile, WavePFile, FluxFormula, WaveModel,
119 & TracerFile, TracerRFile, CheapMaskFile, Cheap_hFile,
120 & Cheap_prfile, cheap_clfile
121
122 CHARACTER*(MAX_LEN_FNAM) AirTempFile
123 CHARACTER*(MAX_LEN_FNAM) AirQFile
124 CHARACTER*(MAX_LEN_FNAM) SolarFile
125 CHARACTER*(MAX_LEN_FNAM) UWindFile
126 CHARACTER*(MAX_LEN_FNAM) VWindFile
127 CHARACTER*(MAX_LEN_FNAM) UStressFile
128 CHARACTER*(MAX_LEN_FNAM) VStressFile
129 CHARACTER*(MAX_LEN_FNAM) TrFile
130 CHARACTER*(MAX_LEN_FNAM) QrFile
131 CHARACTER*(MAX_LEN_FNAM) WaveHFile
132 CHARACTER*(MAX_LEN_FNAM) WavePFile
133 CHARACTER*(MAX_LEN_FNAM) FluxFormula
134 CHARACTER*(MAX_LEN_FNAM) WaveModel
135 CHARACTER*(MAX_LEN_FNAM) TracerFile
136 CHARACTER*(MAX_LEN_FNAM) TracerRFile
137 CHARACTER*(MAX_LEN_FNAM) CheapMaskFile
138 CHARACTER*(MAX_LEN_FNAM) Cheap_hFile
139 CHARACTER*(MAX_LEN_FNAM) Cheap_prFile
140 CHARACTER*(MAX_LEN_FNAM) Cheap_clFile
141
142 c #endif /* ALLOW_CHEAPAML */

  ViewVC Help
Powered by ViewVC 1.1.22