1 | 83a84,88 |
---|
2 | > |
---|
3 | > !****MARS |
---|
4 | > ! please set ra_lw_physics and ra_sw_physics to 0 |
---|
5 | > ! (here only the temperature tendency is modified) |
---|
6 | > !****MARS |
---|
7 | 91c96,105 |
---|
8 | < if (config_flags%bl_pbl_physics .gt. 0) & |
---|
9 | --- |
---|
10 | > |
---|
11 | > !****MARS |
---|
12 | > ! - All the LMD physics packages provide one tendency in the WRF sense |
---|
13 | > ! - PBL is replaced and was chosen for practical reasons |
---|
14 | > ! (may be subject to change) |
---|
15 | > ! - The tendences are supposed to be A-gridded |
---|
16 | > ! - Set bl_pbl_physics = 0 ('if' routines are commented !) |
---|
17 | > ! |
---|
18 | > ! if (config_flags%bl_pbl_physics .gt. 0) & |
---|
19 | > !****MARS |
---|
20 | 99a114,116 |
---|
21 | > !****MARS |
---|
22 | > ! please set cu_physics and fdda to 0 |
---|
23 | > !****MARS |
---|
24 | 107d123 |
---|
25 | < |
---|
26 | 190,268c206,214 |
---|
27 | < SELECT CASE(config_flags%bl_pbl_physics) |
---|
28 | < |
---|
29 | < CASE (YSUSCHEME) |
---|
30 | < |
---|
31 | < CALL add_a2a(rt_tendf,RTHBLTEN,config_flags, & |
---|
32 | < ids,ide, jds, jde, kds, kde, & |
---|
33 | < ims, ime, jms, jme, kms, kme, & |
---|
34 | < its, ite, jts, jte, kts, kte ) |
---|
35 | < |
---|
36 | < CALL add_a2c_u(ru_tendf,RUBLTEN,config_flags, & |
---|
37 | < ids,ide, jds, jde, kds, kde, & |
---|
38 | < ims, ime, jms, jme, kms, kme, & |
---|
39 | < its, ite, jts, jte, kts, kte ) |
---|
40 | < |
---|
41 | < CALL add_a2c_v(rv_tendf,RVBLTEN,config_flags, & |
---|
42 | < ids,ide, jds, jde, kds, kde, & |
---|
43 | < ims, ime, jms, jme, kms, kme, & |
---|
44 | < its, ite, jts, jte, kts, kte ) |
---|
45 | < |
---|
46 | < if (P_QV .ge. PARAM_FIRST_SCALAR) & |
---|
47 | < CALL add_a2a(moist_tendf(ims,kms,jms,P_QV),RQVBLTEN, & |
---|
48 | < config_flags, & |
---|
49 | < ids,ide, jds, jde, kds, kde, & |
---|
50 | < ims, ime, jms, jme, kms, kme, & |
---|
51 | < its, ite, jts, jte, kts, kte ) |
---|
52 | < |
---|
53 | < if (P_QC .ge. PARAM_FIRST_SCALAR) & |
---|
54 | < CALL add_a2a(moist_tendf(ims,kms,jms,P_QC),RQCBLTEN, & |
---|
55 | < config_flags, & |
---|
56 | < ids,ide, jds, jde, kds, kde, & |
---|
57 | < ims, ime, jms, jme, kms, kme, & |
---|
58 | < its, ite, jts, jte, kts, kte ) |
---|
59 | < |
---|
60 | < if (P_QI .ge. PARAM_FIRST_SCALAR) & |
---|
61 | < CALL add_a2a(moist_tendf(ims,kms,jms,P_QI),RQIBLTEN, & |
---|
62 | < config_flags, & |
---|
63 | < ids,ide, jds, jde, kds, kde, & |
---|
64 | < ims, ime, jms, jme, kms, kme, & |
---|
65 | < its, ite, jts, jte, kts, kte ) |
---|
66 | < |
---|
67 | < CASE (MRFSCHEME) |
---|
68 | < |
---|
69 | < CALL add_a2a(rt_tendf,RTHBLTEN,config_flags, & |
---|
70 | < ids,ide, jds, jde, kds, kde, & |
---|
71 | < ims, ime, jms, jme, kms, kme, & |
---|
72 | < its, ite, jts, jte, kts, kte ) |
---|
73 | < |
---|
74 | < CALL add_a2c_u(ru_tendf,RUBLTEN,config_flags, & |
---|
75 | < ids,ide, jds, jde, kds, kde, & |
---|
76 | < ims, ime, jms, jme, kms, kme, & |
---|
77 | < its, ite, jts, jte, kts, kte ) |
---|
78 | < |
---|
79 | < CALL add_a2c_v(rv_tendf,RVBLTEN,config_flags, & |
---|
80 | < ids,ide, jds, jde, kds, kde, & |
---|
81 | < ims, ime, jms, jme, kms, kme, & |
---|
82 | < its, ite, jts, jte, kts, kte ) |
---|
83 | < |
---|
84 | < if (P_QV .ge. PARAM_FIRST_SCALAR) & |
---|
85 | < CALL add_a2a(moist_tendf(ims,kms,jms,P_QV),RQVBLTEN, & |
---|
86 | < config_flags, & |
---|
87 | < ids,ide, jds, jde, kds, kde, & |
---|
88 | < ims, ime, jms, jme, kms, kme, & |
---|
89 | < its, ite, jts, jte, kts, kte ) |
---|
90 | < |
---|
91 | < if (P_QC .ge. PARAM_FIRST_SCALAR) & |
---|
92 | < CALL add_a2a(moist_tendf(ims,kms,jms,P_QC),RQCBLTEN, & |
---|
93 | < config_flags, & |
---|
94 | < ids,ide, jds, jde, kds, kde, & |
---|
95 | < ims, ime, jms, jme, kms, kme, & |
---|
96 | < its, ite, jts, jte, kts, kte ) |
---|
97 | < |
---|
98 | < if (P_QI .ge. PARAM_FIRST_SCALAR) & |
---|
99 | < CALL add_a2a(moist_tendf(ims,kms,jms,P_QI),RQIBLTEN, & |
---|
100 | < config_flags, & |
---|
101 | < ids,ide, jds, jde, kds, kde, & |
---|
102 | < ims, ime, jms, jme, kms, kme, & |
---|
103 | < its, ite, jts, jte, kts, kte ) |
---|
104 | < |
---|
105 | < CASE (MYJPBLSCHEME) |
---|
106 | --- |
---|
107 | > !****MARS |
---|
108 | > !! here all is modified to achieve a very simple update w/ LMD physics |
---|
109 | > !! all the PBL schemes are de-activated |
---|
110 | > print*,'starting updating tendencies with LMD outputs ...' |
---|
111 | > ! |
---|
112 | > ! |
---|
113 | > ! SELECT CASE(config_flags%bl_pbl_physics) |
---|
114 | > ! |
---|
115 | > ! CASE (YSUSCHEME) |
---|
116 | 285,331c231,355 |
---|
117 | < if (P_QV .ge. PARAM_FIRST_SCALAR) & |
---|
118 | < CALL add_a2a(moist_tendf(ims,kms,jms,P_QV),RQVBLTEN, & |
---|
119 | < config_flags, & |
---|
120 | < ids,ide, jds, jde, kds, kde, & |
---|
121 | < ims, ime, jms, jme, kms, kme, & |
---|
122 | < its, ite, jts, jte, kts, kte ) |
---|
123 | < |
---|
124 | < CASE (GFSSCHEME) |
---|
125 | < |
---|
126 | < CALL add_a2a(rt_tendf,RTHBLTEN,config_flags, & |
---|
127 | < ids,ide, jds, jde, kds, kde, & |
---|
128 | < ims, ime, jms, jme, kms, kme, & |
---|
129 | < its, ite, jts, jte, kts, kte ) |
---|
130 | < |
---|
131 | < CALL add_a2c_u(ru_tendf,RUBLTEN,config_flags, & |
---|
132 | < ids,ide, jds, jde, kds, kde, & |
---|
133 | < ims, ime, jms, jme, kms, kme, & |
---|
134 | < its, ite, jts, jte, kts, kte ) |
---|
135 | < |
---|
136 | < CALL add_a2c_v(rv_tendf,RVBLTEN,config_flags, & |
---|
137 | < ids,ide, jds, jde, kds, kde, & |
---|
138 | < ims, ime, jms, jme, kms, kme, & |
---|
139 | < its, ite, jts, jte, kts, kte ) |
---|
140 | < |
---|
141 | < if (P_QV .ge. PARAM_FIRST_SCALAR) & |
---|
142 | < CALL add_a2a(moist_tendf(ims,kms,jms,P_QV),RQVBLTEN, & |
---|
143 | < config_flags, & |
---|
144 | < ids,ide, jds, jde, kds, kde, & |
---|
145 | < ims, ime, jms, jme, kms, kme, & |
---|
146 | < its, ite, jts, jte, kts, kte ) |
---|
147 | < |
---|
148 | < if (P_QC .ge. PARAM_FIRST_SCALAR) & |
---|
149 | < CALL add_a2a(moist_tendf(ims,kms,jms,P_QC),RQCBLTEN, & |
---|
150 | < config_flags, & |
---|
151 | < ids,ide, jds, jde, kds, kde, & |
---|
152 | < ims, ime, jms, jme, kms, kme, & |
---|
153 | < its, ite, jts, jte, kts, kte ) |
---|
154 | < |
---|
155 | < if (P_QI .ge. PARAM_FIRST_SCALAR) & |
---|
156 | < CALL add_a2a(moist_tendf(ims,kms,jms,P_QI),RQIBLTEN, & |
---|
157 | < config_flags, & |
---|
158 | < ids,ide, jds, jde, kds, kde, & |
---|
159 | < ims, ime, jms, jme, kms, kme, & |
---|
160 | < its, ite, jts, jte, kts, kte ) |
---|
161 | < CASE DEFAULT |
---|
162 | < |
---|
163 | < print*,'phy_bl_ten: The pbl scheme does not exist' |
---|
164 | --- |
---|
165 | > ! if (P_QV .ge. PARAM_FIRST_SCALAR) & |
---|
166 | > ! CALL add_a2a(moist_tendf(ims,kms,jms,P_QV),RQVBLTEN, & |
---|
167 | > ! config_flags, & |
---|
168 | > ! ids,ide, jds, jde, kds, kde, & |
---|
169 | > ! ims, ime, jms, jme, kms, kme, & |
---|
170 | > ! its, ite, jts, jte, kts, kte ) |
---|
171 | > ! |
---|
172 | > ! if (P_QC .ge. PARAM_FIRST_SCALAR) & |
---|
173 | > ! CALL add_a2a(moist_tendf(ims,kms,jms,P_QC),RQCBLTEN, & |
---|
174 | > ! config_flags, & |
---|
175 | > ! ids,ide, jds, jde, kds, kde, & |
---|
176 | > ! ims, ime, jms, jme, kms, kme, & |
---|
177 | > ! its, ite, jts, jte, kts, kte ) |
---|
178 | > ! |
---|
179 | > ! if (P_QI .ge. PARAM_FIRST_SCALAR) & |
---|
180 | > ! CALL add_a2a(moist_tendf(ims,kms,jms,P_QI),RQIBLTEN, & |
---|
181 | > ! config_flags, & |
---|
182 | > ! ids,ide, jds, jde, kds, kde, & |
---|
183 | > ! ims, ime, jms, jme, kms, kme, & |
---|
184 | > ! its, ite, jts, jte, kts, kte ) |
---|
185 | > ! |
---|
186 | > ! CASE (MRFSCHEME) |
---|
187 | > ! |
---|
188 | > ! CALL add_a2a(rt_tendf,RTHBLTEN,config_flags, & |
---|
189 | > ! ids,ide, jds, jde, kds, kde, & |
---|
190 | > ! ims, ime, jms, jme, kms, kme, & |
---|
191 | > ! its, ite, jts, jte, kts, kte ) |
---|
192 | > ! |
---|
193 | > ! CALL add_a2c_u(ru_tendf,RUBLTEN,config_flags, & |
---|
194 | > ! ids,ide, jds, jde, kds, kde, & |
---|
195 | > ! ims, ime, jms, jme, kms, kme, & |
---|
196 | > ! its, ite, jts, jte, kts, kte ) |
---|
197 | > ! |
---|
198 | > ! CALL add_a2c_v(rv_tendf,RVBLTEN,config_flags, & |
---|
199 | > ! ids,ide, jds, jde, kds, kde, & |
---|
200 | > ! ims, ime, jms, jme, kms, kme, & |
---|
201 | > ! its, ite, jts, jte, kts, kte ) |
---|
202 | > ! |
---|
203 | > ! if (P_QV .ge. PARAM_FIRST_SCALAR) & |
---|
204 | > ! CALL add_a2a(moist_tendf(ims,kms,jms,P_QV),RQVBLTEN, & |
---|
205 | > ! config_flags, & |
---|
206 | > ! ids,ide, jds, jde, kds, kde, & |
---|
207 | > ! ims, ime, jms, jme, kms, kme, & |
---|
208 | > ! its, ite, jts, jte, kts, kte ) |
---|
209 | > ! |
---|
210 | > ! if (P_QC .ge. PARAM_FIRST_SCALAR) & |
---|
211 | > ! CALL add_a2a(moist_tendf(ims,kms,jms,P_QC),RQCBLTEN, & |
---|
212 | > ! config_flags, & |
---|
213 | > ! ids,ide, jds, jde, kds, kde, & |
---|
214 | > ! ims, ime, jms, jme, kms, kme, & |
---|
215 | > ! its, ite, jts, jte, kts, kte ) |
---|
216 | > ! |
---|
217 | > ! if (P_QI .ge. PARAM_FIRST_SCALAR) & |
---|
218 | > ! CALL add_a2a(moist_tendf(ims,kms,jms,P_QI),RQIBLTEN, & |
---|
219 | > ! config_flags, & |
---|
220 | > ! ids,ide, jds, jde, kds, kde, & |
---|
221 | > ! ims, ime, jms, jme, kms, kme, & |
---|
222 | > ! its, ite, jts, jte, kts, kte ) |
---|
223 | > ! |
---|
224 | > ! CASE (MYJPBLSCHEME) |
---|
225 | > ! |
---|
226 | > ! CALL add_a2a(rt_tendf,RTHBLTEN,config_flags, & |
---|
227 | > ! ids,ide, jds, jde, kds, kde, & |
---|
228 | > ! ims, ime, jms, jme, kms, kme, & |
---|
229 | > ! its, ite, jts, jte, kts, kte ) |
---|
230 | > ! |
---|
231 | > ! CALL add_a2c_u(ru_tendf,RUBLTEN,config_flags, & |
---|
232 | > ! ids,ide, jds, jde, kds, kde, & |
---|
233 | > ! ims, ime, jms, jme, kms, kme, & |
---|
234 | > ! its, ite, jts, jte, kts, kte ) |
---|
235 | > ! |
---|
236 | > ! CALL add_a2c_v(rv_tendf,RVBLTEN,config_flags, & |
---|
237 | > ! ids,ide, jds, jde, kds, kde, & |
---|
238 | > ! ims, ime, jms, jme, kms, kme, & |
---|
239 | > ! its, ite, jts, jte, kts, kte ) |
---|
240 | > ! |
---|
241 | > ! if (P_QV .ge. PARAM_FIRST_SCALAR) & |
---|
242 | > ! CALL add_a2a(moist_tendf(ims,kms,jms,P_QV),RQVBLTEN, & |
---|
243 | > ! config_flags, & |
---|
244 | > ! ids,ide, jds, jde, kds, kde, & |
---|
245 | > ! ims, ime, jms, jme, kms, kme, & |
---|
246 | > ! its, ite, jts, jte, kts, kte ) |
---|
247 | > ! |
---|
248 | > ! CASE (GFSSCHEME) |
---|
249 | > ! |
---|
250 | > ! CALL add_a2a(rt_tendf,RTHBLTEN,config_flags, & |
---|
251 | > ! ids,ide, jds, jde, kds, kde, & |
---|
252 | > ! ims, ime, jms, jme, kms, kme, & |
---|
253 | > ! its, ite, jts, jte, kts, kte ) |
---|
254 | > ! |
---|
255 | > ! CALL add_a2c_u(ru_tendf,RUBLTEN,config_flags, & |
---|
256 | > ! ids,ide, jds, jde, kds, kde, & |
---|
257 | > ! ims, ime, jms, jme, kms, kme, & |
---|
258 | > ! its, ite, jts, jte, kts, kte ) |
---|
259 | > ! |
---|
260 | > ! CALL add_a2c_v(rv_tendf,RVBLTEN,config_flags, & |
---|
261 | > ! ids,ide, jds, jde, kds, kde, & |
---|
262 | > ! ims, ime, jms, jme, kms, kme, & |
---|
263 | > ! its, ite, jts, jte, kts, kte ) |
---|
264 | > ! |
---|
265 | > ! if (P_QV .ge. PARAM_FIRST_SCALAR) & |
---|
266 | > ! CALL add_a2a(moist_tendf(ims,kms,jms,P_QV),RQVBLTEN, & |
---|
267 | > ! config_flags, & |
---|
268 | > ! ids,ide, jds, jde, kds, kde, & |
---|
269 | > ! ims, ime, jms, jme, kms, kme, & |
---|
270 | > ! its, ite, jts, jte, kts, kte ) |
---|
271 | > ! |
---|
272 | > ! if (P_QC .ge. PARAM_FIRST_SCALAR) & |
---|
273 | > ! CALL add_a2a(moist_tendf(ims,kms,jms,P_QC),RQCBLTEN, & |
---|
274 | > ! config_flags, & |
---|
275 | > ! ids,ide, jds, jde, kds, kde, & |
---|
276 | > ! ims, ime, jms, jme, kms, kme, & |
---|
277 | > ! its, ite, jts, jte, kts, kte ) |
---|
278 | > ! |
---|
279 | > ! if (P_QI .ge. PARAM_FIRST_SCALAR) & |
---|
280 | > ! CALL add_a2a(moist_tendf(ims,kms,jms,P_QI),RQIBLTEN, & |
---|
281 | > ! config_flags, & |
---|
282 | > ! ids,ide, jds, jde, kds, kde, & |
---|
283 | > ! ims, ime, jms, jme, kms, kme, & |
---|
284 | > ! its, ite, jts, jte, kts, kte ) |
---|
285 | > ! CASE DEFAULT |
---|
286 | > ! |
---|
287 | > ! print*,'phy_bl_ten: The pbl scheme does not exist' |
---|
288 | > ! |
---|
289 | > ! END SELECT |
---|
290 | 333c357 |
---|
291 | < END SELECT |
---|
292 | --- |
---|
293 | > !****MARS |
---|