-
Notifications
You must be signed in to change notification settings - Fork 0
/
ERF__ABLMost_8H_source.html
739 lines (737 loc) · 143 KB
/
ERF__ABLMost_8H_source.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>ERF: Source/BoundaryConditions/ERF_ABLMost.H Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">ERF
</div>
<div id="projectbrief">Energy Research and Forecasting: An Atmospheric Modeling Code</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('ERF__ABLMost_8H_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="headertitle">
<div class="title">ERF_ABLMost.H</div> </div>
</div><!--header-->
<div class="contents">
<a href="ERF__ABLMost_8H.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#ifndef ERF_ABLMOST_H</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor">#define ERF_ABLMOST_H</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>  </div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="preprocessor">#include <AMReX_Geometry.H></span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="preprocessor">#include <AMReX_ParmParse.H></span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="preprocessor">#include <AMReX_FArrayBox.H></span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="preprocessor">#include <AMReX_MultiFab.H></span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="preprocessor">#include <AMReX_iMultiFab.H></span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#include <AMReX_Interpolater.H></span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>  </div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="preprocessor">#include <<a class="code" href="ERF__IndexDefines_8H.html">ERF_IndexDefines.H</a>></span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include <<a class="code" href="ERF__Constants_8H.html">ERF_Constants.H</a>></span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="preprocessor">#include <<a class="code" href="ERF__MOSTAverage_8H.html">ERF_MOSTAverage.H</a>></span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#include <<a class="code" href="ERF__MOSTStress_8H.html">ERF_MOSTStress.H</a>></span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#include <<a class="code" href="ERF__TerrainMetrics_8H.html">ERF_TerrainMetrics.H</a>></span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor">#include <<a class="code" href="ERF__PBLHeight_8H.html">ERF_PBLHeight.H</a>></span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"></span> </div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment">/** Monin-Obukhov surface layer profile</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="comment"> * van der Laan, P., Kelly, M. C., & Sørensen, N. N. (2017). A new k-epsilon</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="comment"> * model consistent with Monin-Obukhov similarity theory. Wind Energy,</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="comment"> * 20(3), 479–489. https://doi.org/10.1002/we.2017</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="comment"> * Consistent with Dyer (1974) formulation from page 57, Chapter 2, Modeling</span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="comment"> * the vertical ABL structure in Modelling of Atmospheric Flow Fields,</span></div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="comment"> * Demetri P Lalas and Corrado F Ratto, January 1996,</span></div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="comment"> * https://doi.org/10.1142/2975.</span></div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="classABLMost.html"> 29</a></span> <span class="keyword">class </span><a class="code" href="classABLMost.html">ABLMost</a></div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> {</div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  </div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="keyword">public</span>:</div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  </div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  <span class="comment">// Constructor</span></div>
<div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="classABLMost.html#ac6260dfbdf304cd8b8284c544a20dbb4"> 35</a></span>  <span class="keyword">explicit</span> <a class="code" href="classABLMost.html#ac6260dfbdf304cd8b8284c544a20dbb4">ABLMost</a> (<span class="keyword">const</span> amrex::Vector<amrex::Geometry>& geom,</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  <span class="keywordtype">bool</span>& use_exp_most,</div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <span class="keywordtype">bool</span>& use_rot_most,</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  amrex::Vector<amrex::Vector<amrex::MultiFab>>& vars_old,</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  amrex::Vector<std::unique_ptr<amrex::MultiFab>>& Theta_prim,</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  amrex::Vector<std::unique_ptr<amrex::MultiFab>>& Qv_prim,</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  amrex::Vector<std::unique_ptr<amrex::MultiFab>>& Qr_prim,</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  amrex::Vector<std::unique_ptr<amrex::MultiFab>>& z_phys_nd,</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  amrex::Vector<amrex::Vector<std::unique_ptr<amrex::MultiFab>>>& sst_lev,</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  amrex::Vector<amrex::Vector<std::unique_ptr<amrex::iMultiFab>>>& lmask_lev,</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  amrex::Vector<amrex::Vector<amrex::MultiFab*>> lsm_data,</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  amrex::Vector<amrex::Vector<amrex::MultiFab*>> lsm_flux,</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  amrex::Vector<std::unique_ptr<amrex::MultiFab>>& Hwave,</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  amrex::Vector<std::unique_ptr<amrex::MultiFab>>& Lwave,</div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  amrex::Vector<std::unique_ptr<amrex::MultiFab>>& eddyDiffs,</div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  amrex::Real start_bdy_time = 0.0,</div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  amrex::Real bdy_time_interval = 0.0)</div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  : <a class="code" href="classABLMost.html#ac3de35be0d6cf3841e9a868830fc42c5">m_exp_most</a>(use_exp_most),</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <a class="code" href="classABLMost.html#ab107efa0b6bdf80ee44d232919f6a7ad">m_rotate</a>(use_rot_most),</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <a class="code" href="classABLMost.html#a4fb97b28e44e9ff6930f18083923343a">m_start_bdy_time</a>(start_bdy_time),</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <a class="code" href="classABLMost.html#a049bc06685178431599f3bfaa57d63bd">m_bdy_time_interval</a>(bdy_time_interval),</div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <a class="code" href="classABLMost.html#a1795a510d08fbd88e6599e014f97b6c5">m_geom</a>(geom),</div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <a class="code" href="classABLMost.html#a466bfcda8ae4337d9c8781ab28e3f6fe">m_ma</a>(geom,vars_old,Theta_prim,Qv_prim,Qr_prim,z_phys_nd)</div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  {</div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="comment">// We have a moisture model if Qv_prim is a valid pointer</span></div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <a class="code" href="classABLMost.html#ab55a547b6b74a177128af6c6a107930c">use_moisture</a> = (Qv_prim[0].get());</div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  </div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="comment">// Get roughness</span></div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  amrex::ParmParse <a class="code" href="ERF__MicrophysicsUtils_8H.html#ac54f1d17d8842acb42b2312cd353e469">pp</a>(<span class="stringliteral">"erf"</span>);</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <a class="code" href="ERF__MicrophysicsUtils_8H.html#ac54f1d17d8842acb42b2312cd353e469">pp</a>.query(<span class="stringliteral">"most.z0"</span>, <a class="code" href="classABLMost.html#acfc9a08ed0d029602e2e8e99232d0149">z0_const</a>);</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  </div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <span class="comment">// Specify how to compute the flux</span></div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <span class="keywordflow">if</span> (use_rot_most) {</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <a class="code" href="classABLMost.html#ad837d92390012682056ffac0b5f9a8f9">flux_type</a> = <a class="code" href="classABLMost.html#a92e41ba7a650b4768aa6bc006b2241e0a9faf4e337734315fde20af1922cc6f9d">FluxCalcType::ROTATE</a>;</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  std::string flux_string{<span class="stringliteral">"moeng"</span>};</div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <a class="code" href="ERF__MicrophysicsUtils_8H.html#ac54f1d17d8842acb42b2312cd353e469">pp</a>.query(<span class="stringliteral">"most.flux_type"</span>, flux_string);</div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <span class="keywordflow">if</span> (flux_string == <span class="stringliteral">"donelan"</span>) {</div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <a class="code" href="classABLMost.html#ad837d92390012682056ffac0b5f9a8f9">flux_type</a> = <a class="code" href="classABLMost.html#a92e41ba7a650b4768aa6bc006b2241e0afbf950ece84b8c4c7ebcf6492db726f7">FluxCalcType::DONELAN</a>;</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (flux_string == <span class="stringliteral">"moeng"</span>) {</div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <a class="code" href="classABLMost.html#ad837d92390012682056ffac0b5f9a8f9">flux_type</a> = <a class="code" href="classABLMost.html#a92e41ba7a650b4768aa6bc006b2241e0a0525d4394471c332f3c0a497584923d5">FluxCalcType::MOENG</a>;</div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (flux_string == <span class="stringliteral">"custom"</span>) {</div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <a class="code" href="classABLMost.html#ad837d92390012682056ffac0b5f9a8f9">flux_type</a> = <a class="code" href="classABLMost.html#a92e41ba7a650b4768aa6bc006b2241e0a72baef04098f035e8a320b03ad197818">FluxCalcType::CUSTOM</a>;</div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  amrex::Abort(<span class="stringliteral">"Undefined MOST flux type!"</span>);</div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  }</div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  }</div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  </div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="comment">// Include w* to handle free convection (Beljaars 1995, QJRMS)</span></div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <a class="code" href="ERF__MicrophysicsUtils_8H.html#ac54f1d17d8842acb42b2312cd353e469">pp</a>.query(<span class="stringliteral">"most.include_wstar"</span>, <a class="code" href="classABLMost.html#ac2e247ec9fd06cd15c788b83bf2c9ba6">m_include_wstar</a>);</div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  </div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  std::string pblh_string{<span class="stringliteral">"none"</span>};</div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <a class="code" href="ERF__MicrophysicsUtils_8H.html#ac54f1d17d8842acb42b2312cd353e469">pp</a>.query(<span class="stringliteral">"most.pblh_calc"</span>, pblh_string);</div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <span class="keywordflow">if</span> (pblh_string == <span class="stringliteral">"none"</span>) {</div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <a class="code" href="classABLMost.html#a84782c98096a1cc4395071cde97469ed">pblh_type</a> = <a class="code" href="classABLMost.html#acf73526a7a2b05be8d48c0af94742841a6adf97f83acf6453d4a6a4b1070f3754">PBLHeightCalcType::None</a>;</div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (pblh_string == <span class="stringliteral">"MYNN2.5"</span>) {</div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <a class="code" href="classABLMost.html#a84782c98096a1cc4395071cde97469ed">pblh_type</a> = <a class="code" href="classABLMost.html#acf73526a7a2b05be8d48c0af94742841abdeb9a753db1d1f3fe0e944eab1d0601">PBLHeightCalcType::MYNN25</a>;</div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (pblh_string == <span class="stringliteral">"YSU"</span>) {</div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <a class="code" href="classABLMost.html#a84782c98096a1cc4395071cde97469ed">pblh_type</a> = <a class="code" href="classABLMost.html#acf73526a7a2b05be8d48c0af94742841ad032bccff1ff2e272cc68da5a0de09fe">PBLHeightCalcType::YSU</a>;</div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  amrex::Abort(<span class="stringliteral">"Undefined PBLH calc type!"</span>);</div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  }</div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  </div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <span class="comment">// Get surface temperature</span></div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <span class="keyword">auto</span> erf_st = <a class="code" href="ERF__MicrophysicsUtils_8H.html#ac54f1d17d8842acb42b2312cd353e469">pp</a>.query(<span class="stringliteral">"most.surf_temp"</span>, <a class="code" href="classABLMost.html#a73621a1b429f2e910a29adac72b7c581">surf_temp</a>);</div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  </div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  <span class="comment">// Custom type user must specify the fluxes</span></div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <span class="keywordflow">if</span> (<a class="code" href="classABLMost.html#ad837d92390012682056ffac0b5f9a8f9">flux_type</a> == <a class="code" href="classABLMost.html#a92e41ba7a650b4768aa6bc006b2241e0a72baef04098f035e8a320b03ad197818">FluxCalcType::CUSTOM</a>) {</div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  <a class="code" href="classABLMost.html#a7d1394fa01c8c29b20dfb790c0f3ec6b">theta_type</a> = <a class="code" href="classABLMost.html#a46fbd9260d2adfa7c18edad6452f9babac03b743c56d9316fbd3d327453b22226">ThetaCalcType::HEAT_FLUX</a>;</div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <a class="code" href="ERF__MicrophysicsUtils_8H.html#ac54f1d17d8842acb42b2312cd353e469">pp</a>.query(<span class="stringliteral">"most.ustar"</span>, <a class="code" href="classABLMost.html#a1bce26c6253a6191424e7b753cd24cfa">custom_ustar</a>);</div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  <a class="code" href="ERF__MicrophysicsUtils_8H.html#ac54f1d17d8842acb42b2312cd353e469">pp</a>.query(<span class="stringliteral">"most.tstar"</span>, <a class="code" href="classABLMost.html#afbd0b1a37d9e9d716d82910db203e82f">custom_tstar</a>);</div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <a class="code" href="ERF__MicrophysicsUtils_8H.html#ac54f1d17d8842acb42b2312cd353e469">pp</a>.query(<span class="stringliteral">"most.qstar"</span>, <a class="code" href="classABLMost.html#a31707b89fbbbdeb445ba35ed240046c3">custom_qstar</a>);</div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <span class="keywordflow">if</span> (<a class="code" href="classABLMost.html#a31707b89fbbbdeb445ba35ed240046c3">custom_qstar</a> != 0) {</div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  AMREX_ASSERT_WITH_MESSAGE(<a class="code" href="classABLMost.html#ab55a547b6b74a177128af6c6a107930c">use_moisture</a>, <span class="stringliteral">"Specified custom MOST qv flux without moisture model!"</span>);</div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  }</div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  amrex::Print() << <span class="stringliteral">"Using specified ustar, tstar, qstar for MOST = "</span></div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  << <a class="code" href="classABLMost.html#a1bce26c6253a6191424e7b753cd24cfa">custom_ustar</a> << <span class="stringliteral">" "</span></div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  << <a class="code" href="classABLMost.html#afbd0b1a37d9e9d716d82910db203e82f">custom_tstar</a> << <span class="stringliteral">" "</span></div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  << <a class="code" href="classABLMost.html#a31707b89fbbbdeb445ba35ed240046c3">custom_qstar</a> << std::endl;</div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  </div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <span class="comment">// Specify surface temperature or surface flux</span></div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <span class="keywordflow">if</span> (erf_st) {</div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <a class="code" href="classABLMost.html#a7d1394fa01c8c29b20dfb790c0f3ec6b">theta_type</a> = <a class="code" href="classABLMost.html#a46fbd9260d2adfa7c18edad6452f9baba317cef85d14b4909f1d76becb00dc0f1">ThetaCalcType::SURFACE_TEMPERATURE</a>;</div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <a class="code" href="ERF__MicrophysicsUtils_8H.html#ac54f1d17d8842acb42b2312cd353e469">pp</a>.query(<span class="stringliteral">"most.surf_heating_rate"</span>, <a class="code" href="classABLMost.html#a39402ac3794b9a218289cd0d4adec670">surf_heating_rate</a>); <span class="comment">// [K/h]</span></div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  <a class="code" href="classABLMost.html#a39402ac3794b9a218289cd0d4adec670">surf_heating_rate</a> = <a class="code" href="classABLMost.html#a39402ac3794b9a218289cd0d4adec670">surf_heating_rate</a> / 3600.0; <span class="comment">// [K/s]</span></div>
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <span class="keywordflow">if</span> (<a class="code" href="ERF__MicrophysicsUtils_8H.html#ac54f1d17d8842acb42b2312cd353e469">pp</a>.query(<span class="stringliteral">"most.surf_temp_flux"</span>, <a class="code" href="classABLMost.html#a98390481d302c2a2c7346bf2328305a8">surf_temp_flux</a>)) {</div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  amrex::Abort(<span class="stringliteral">"Can only specify one of surf_temp_flux or surf_heating_rate"</span>);</div>
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  }</div>
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  <a class="code" href="ERF__MicrophysicsUtils_8H.html#ac54f1d17d8842acb42b2312cd353e469">pp</a>.query(<span class="stringliteral">"most.surf_temp_flux"</span>, <a class="code" href="classABLMost.html#a98390481d302c2a2c7346bf2328305a8">surf_temp_flux</a>);</div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  <span class="keywordflow">if</span> (<a class="code" href="ERF__MicrophysicsUtils_8H.html#ac54f1d17d8842acb42b2312cd353e469">pp</a>.query(<span class="stringliteral">"most.surf_heating_rate"</span>, <a class="code" href="classABLMost.html#a39402ac3794b9a218289cd0d4adec670">surf_heating_rate</a>)) {</div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  amrex::Abort(<span class="stringliteral">"Can only specify one of surf_temp_flux or surf_heating_rate"</span>);</div>
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  }</div>
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  <span class="keywordflow">if</span> (std::abs(<a class="code" href="classABLMost.html#a98390481d302c2a2c7346bf2328305a8">surf_temp_flux</a>) > std::numeric_limits<amrex::Real>::epsilon()) {</div>
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  <a class="code" href="classABLMost.html#a7d1394fa01c8c29b20dfb790c0f3ec6b">theta_type</a> = <a class="code" href="classABLMost.html#a46fbd9260d2adfa7c18edad6452f9babac03b743c56d9316fbd3d327453b22226">ThetaCalcType::HEAT_FLUX</a>;</div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  <a class="code" href="classABLMost.html#a7d1394fa01c8c29b20dfb790c0f3ec6b">theta_type</a> = <a class="code" href="classABLMost.html#a46fbd9260d2adfa7c18edad6452f9baba10548012f42e962e7945ce998b571c5c">ThetaCalcType::ADIABATIC</a>;</div>
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  }</div>
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  }</div>
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  }</div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  </div>
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  <span class="comment">// Specify how to compute the surface flux over land (if there is any)</span></div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  std::string rough_land_string{<span class="stringliteral">"constant"</span>};</div>
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  <a class="code" href="ERF__MicrophysicsUtils_8H.html#ac54f1d17d8842acb42b2312cd353e469">pp</a>.query(<span class="stringliteral">"most.roughness_type_land"</span>, rough_land_string);</div>
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  <span class="keywordflow">if</span> (rough_land_string == <span class="stringliteral">"constant"</span>) {</div>
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  <a class="code" href="classABLMost.html#ab052d62a07e8765a6de67264d05aff37">rough_type_land</a> = <a class="code" href="classABLMost.html#ae825f96c2d098b3e070642a74e6a3f13a8d6b5cada83510220f59e00ce86d4d92">RoughCalcType::CONSTANT</a>;</div>
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  amrex::Abort(<span class="stringliteral">"Undefined MOST roughness type for land!"</span>);</div>
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  }</div>
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  </div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  <span class="comment">// Specify how to compute the surface flux over sea (if there is any)</span></div>
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  std::string rough_sea_string{<span class="stringliteral">"charnock"</span>};</div>
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  <a class="code" href="ERF__MicrophysicsUtils_8H.html#ac54f1d17d8842acb42b2312cd353e469">pp</a>.query(<span class="stringliteral">"most.roughness_type_sea"</span>, rough_sea_string);</div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  <span class="keywordflow">if</span> (rough_sea_string == <span class="stringliteral">"charnock"</span>) {</div>
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  <a class="code" href="classABLMost.html#ab5041b7c6a15b759a8f33dadd1a67e92">rough_type_sea</a> = <a class="code" href="classABLMost.html#ae825f96c2d098b3e070642a74e6a3f13addbb8213265f3ad773f7af2cb8147062">RoughCalcType::CHARNOCK</a>;</div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  <a class="code" href="ERF__MicrophysicsUtils_8H.html#ac54f1d17d8842acb42b2312cd353e469">pp</a>.query(<span class="stringliteral">"most.charnock_constant"</span>,<a class="code" href="classABLMost.html#a75310e9079ee238a932900feaad85ac5">cnk_a</a>);</div>
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  <a class="code" href="ERF__MicrophysicsUtils_8H.html#ac54f1d17d8842acb42b2312cd353e469">pp</a>.query(<span class="stringliteral">"most.charnock_viscosity"</span>,<a class="code" href="classABLMost.html#a4f97d1d8c347710155ead2c1310338a0">cnk_visc</a>);</div>
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  <span class="keywordflow">if</span> (<a class="code" href="classABLMost.html#a75310e9079ee238a932900feaad85ac5">cnk_a</a> > 0) {</div>
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  amrex::Print() << <span class="stringliteral">"If there is water, Charnock relation with C_a="</span> << <a class="code" href="classABLMost.html#a75310e9079ee238a932900feaad85ac5">cnk_a</a></div>
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  << (<a class="code" href="classABLMost.html#a4f97d1d8c347710155ead2c1310338a0">cnk_visc</a>? <span class="stringliteral">" and viscosity"</span> : <span class="stringliteral">""</span>)</div>
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  << <span class="stringliteral">" will be used"</span></div>
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  << std::endl;</div>
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  amrex::Print() << <span class="stringliteral">"If there is water, Charnock relation with variable Charnock parameter (COARE3.0)"</span></div>
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  << (<a class="code" href="classABLMost.html#a4f97d1d8c347710155ead2c1310338a0">cnk_visc</a>? <span class="stringliteral">" and viscosity"</span> : <span class="stringliteral">""</span>)</div>
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  << <span class="stringliteral">" will be used"</span></div>
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  << std::endl;</div>
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  }</div>
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (rough_sea_string == <span class="stringliteral">"coare3.0"</span>) {</div>
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  <a class="code" href="classABLMost.html#ab5041b7c6a15b759a8f33dadd1a67e92">rough_type_sea</a> = <a class="code" href="classABLMost.html#ae825f96c2d098b3e070642a74e6a3f13addbb8213265f3ad773f7af2cb8147062">RoughCalcType::CHARNOCK</a>;</div>
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  amrex::Print() << <span class="stringliteral">"If there is water, Charnock relation with variable Charnock parameter (COARE3.0)"</span></div>
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  << (<a class="code" href="classABLMost.html#a4f97d1d8c347710155ead2c1310338a0">cnk_visc</a>? <span class="stringliteral">" and viscosity"</span> : <span class="stringliteral">""</span>)</div>
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  << <span class="stringliteral">" will be used"</span></div>
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  << std::endl;</div>
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  <a class="code" href="classABLMost.html#a75310e9079ee238a932900feaad85ac5">cnk_a</a> = -1;</div>
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (rough_sea_string == <span class="stringliteral">"donelan"</span>) {</div>
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <a class="code" href="classABLMost.html#ab5041b7c6a15b759a8f33dadd1a67e92">rough_type_sea</a> = <a class="code" href="classABLMost.html#ae825f96c2d098b3e070642a74e6a3f13afbf950ece84b8c4c7ebcf6492db726f7">RoughCalcType::DONELAN</a>;</div>
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (rough_sea_string == <span class="stringliteral">"modified_charnock"</span>) {</div>
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  <a class="code" href="classABLMost.html#ab5041b7c6a15b759a8f33dadd1a67e92">rough_type_sea</a> = <a class="code" href="classABLMost.html#ae825f96c2d098b3e070642a74e6a3f13a266bf3048d67b1b3187c0189bc232fde">RoughCalcType::MODIFIED_CHARNOCK</a>;</div>
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  <a class="code" href="ERF__MicrophysicsUtils_8H.html#ac54f1d17d8842acb42b2312cd353e469">pp</a>.query(<span class="stringliteral">"most.modified_charnock_depth"</span>,<a class="code" href="classABLMost.html#a38ed37dd984fcc7be3b5ae04b7272459">depth</a>);</div>
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (rough_sea_string == <span class="stringliteral">"wave_coupled"</span>) {</div>
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  <a class="code" href="classABLMost.html#ab5041b7c6a15b759a8f33dadd1a67e92">rough_type_sea</a> = <a class="code" href="classABLMost.html#ae825f96c2d098b3e070642a74e6a3f13a3e1545d84d0cc7da6edf47adda8a80f9">RoughCalcType::WAVE_COUPLED</a>;</div>
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (rough_sea_string == <span class="stringliteral">"constant"</span>) {</div>
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  <a class="code" href="classABLMost.html#ab5041b7c6a15b759a8f33dadd1a67e92">rough_type_sea</a> = <a class="code" href="classABLMost.html#ae825f96c2d098b3e070642a74e6a3f13a8d6b5cada83510220f59e00ce86d4d92">RoughCalcType::CONSTANT</a>;</div>
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  amrex::Abort(<span class="stringliteral">"Undefined MOST roughness type for sea!"</span>);</div>
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  }</div>
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  </div>
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  <span class="comment">// Check if there is a user-specified roughness file to be read</span></div>
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  std::string fname;</div>
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  <span class="keywordtype">bool</span> read_z0 = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  <span class="keywordflow">if</span> ( (<a class="code" href="classABLMost.html#ad837d92390012682056ffac0b5f9a8f9">flux_type</a> == <a class="code" href="classABLMost.html#a92e41ba7a650b4768aa6bc006b2241e0a0525d4394471c332f3c0a497584923d5">FluxCalcType::MOENG</a>) ||</div>
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  (<a class="code" href="classABLMost.html#ad837d92390012682056ffac0b5f9a8f9">flux_type</a> == <a class="code" href="classABLMost.html#a92e41ba7a650b4768aa6bc006b2241e0a9faf4e337734315fde20af1922cc6f9d">FluxCalcType::ROTATE</a>) ) {</div>
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  read_z0 = <a class="code" href="ERF__MicrophysicsUtils_8H.html#ac54f1d17d8842acb42b2312cd353e469">pp</a>.query(<span class="stringliteral">"most.roughness_file_name"</span>, fname);</div>
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  }</div>
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  </div>
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  <span class="comment">// Do we have a time-varying surface roughness that needs to be saved?</span></div>
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  <span class="keyword">const</span> <span class="keywordtype">int</span> nghost = 0; <span class="comment">// ghost cells not included</span></div>
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  <span class="keyword">const</span> <span class="keywordtype">int</span> level = 0;</div>
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  <span class="keywordtype">int</span> lmask_min = <a class="code" href="classABLMost.html#a4a8ee389a82fe46164ffed9417500a98">lmask_min_reduce</a>(*lmask_lev[level][0].get(), nghost);</div>
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  amrex::ParallelDescriptor::ReduceIntMin(lmask_min);</div>
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  </div>
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  <a class="code" href="classABLMost.html#ab1da46aefd129763fb25f5a6839e48dd">m_var_z0</a> = (lmask_min < 1) & (<a class="code" href="classABLMost.html#ab5041b7c6a15b759a8f33dadd1a67e92">rough_type_sea</a> != <a class="code" href="classABLMost.html#ae825f96c2d098b3e070642a74e6a3f13a8d6b5cada83510220f59e00ce86d4d92">RoughCalcType::CONSTANT</a>);</div>
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  <span class="keywordflow">if</span> (<a class="code" href="classABLMost.html#ab1da46aefd129763fb25f5a6839e48dd">m_var_z0</a>) {</div>
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  amrex::Print() << <span class="stringliteral">"Variable sea roughness (type "</span> << rough_sea_string << <span class="stringliteral">")"</span> << std::endl;</div>
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span>  }</div>
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  </div>
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  <span class="comment">// Size the MOST params for all levels</span></div>
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  <span class="keywordtype">int</span> nlevs = <a class="code" href="classABLMost.html#a1795a510d08fbd88e6599e014f97b6c5">m_geom</a>.size();</div>
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  <a class="code" href="classABLMost.html#a1301dd4cb6875c7bdf5d69126b972f91">z_0</a>.resize(nlevs);</div>
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  <a class="code" href="classABLMost.html#acd5510d2f47502a57107f12c66f8a552">u_star</a>.resize(nlevs);</div>
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  <a class="code" href="classABLMost.html#a11a418842597c03a5782fc53ec0a1fb1">w_star</a>.resize(nlevs);</div>
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  <a class="code" href="classABLMost.html#ac9d90016f196c3861d225132e8b6a921">t_star</a>.resize(nlevs);</div>
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  <a class="code" href="classABLMost.html#a0630def935d5ca0d24160b9b9567f3e1">q_star</a>.resize(nlevs);</div>
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span>  <a class="code" href="classABLMost.html#a1f488836fca7c3da2bed67c63a94951b">t_surf</a>.resize(nlevs);</div>
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  <a class="code" href="classABLMost.html#a0d6aa5a113a45ae1e56c0284241cfd01">olen</a>.resize(nlevs);</div>
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  <a class="code" href="classABLMost.html#a5ab8e9f3fdf7debf1c54bd0d8a1554db">pblh</a>.resize(nlevs);</div>
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  </div>
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span>  <span class="comment">// Get pointers to SST and LANDMASK data</span></div>
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  <a class="code" href="classABLMost.html#ad8f1957bba407e17edb0a84ace515cde">m_sst_lev</a>.resize(nlevs);</div>
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  <a class="code" href="classABLMost.html#aaa5bbc610662825ddd8a184b43f3541b">m_lmask_lev</a>.resize(nlevs);</div>
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  </div>
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  <span class="keywordflow">for</span> (<span class="keywordtype">int</span> lev(0); lev<nlevs; ++lev) {</div>
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span>  <span class="keywordtype">int</span> nt_tot_sst = sst_lev[lev].size();</div>
<div class="line"><a name="l00220"></a><span class="lineno"> 220</span>  <a class="code" href="classABLMost.html#ad8f1957bba407e17edb0a84ace515cde">m_sst_lev</a>[lev].resize(nt_tot_sst);</div>
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  <span class="keywordflow">for</span> (<span class="keywordtype">int</span> nt(0); nt<nt_tot_sst; ++nt) {</div>
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  <a class="code" href="classABLMost.html#ad8f1957bba407e17edb0a84ace515cde">m_sst_lev</a>[lev][nt] = sst_lev[lev][nt].get();</div>
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span>  }</div>
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  <span class="keywordtype">int</span> nt_tot_lmask = lmask_lev[lev].size();</div>
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  <a class="code" href="classABLMost.html#aaa5bbc610662825ddd8a184b43f3541b">m_lmask_lev</a>[lev].resize(nt_tot_lmask);</div>
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  <span class="keywordflow">for</span> (<span class="keywordtype">int</span> nt(0); nt<nt_tot_lmask; ++nt) {</div>
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span>  <a class="code" href="classABLMost.html#aaa5bbc610662825ddd8a184b43f3541b">m_lmask_lev</a>[lev][nt] = lmask_lev[lev][nt].get();</div>
<div class="line"><a name="l00228"></a><span class="lineno"> 228</span>  }</div>
<div class="line"><a name="l00229"></a><span class="lineno"> 229</span>  } <span class="comment">// lev</span></div>
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  </div>
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span>  <span class="comment">// Get pointers to LSM data and Fluxes</span></div>
<div class="line"><a name="l00232"></a><span class="lineno"> 232</span>  <a class="code" href="classABLMost.html#a958aaaf9e040462197c88c6c77f2aaf6">m_lsm_data_lev</a>.resize(nlevs);</div>
<div class="line"><a name="l00233"></a><span class="lineno"> 233</span>  <a class="code" href="classABLMost.html#a422336bc908d29f98dafb3b745b4f060">m_lsm_flux_lev</a>.resize(nlevs);</div>
<div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  <span class="keywordflow">for</span> (<span class="keywordtype">int</span> lev(0); lev<nlevs; ++lev) {</div>
<div class="line"><a name="l00235"></a><span class="lineno"> 235</span>  <span class="keywordtype">int</span> nvar = lsm_data[lev].size();</div>
<div class="line"><a name="l00236"></a><span class="lineno"> 236</span>  <a class="code" href="classABLMost.html#a958aaaf9e040462197c88c6c77f2aaf6">m_lsm_data_lev</a>[lev].resize(nvar);</div>
<div class="line"><a name="l00237"></a><span class="lineno"> 237</span>  <a class="code" href="classABLMost.html#a422336bc908d29f98dafb3b745b4f060">m_lsm_flux_lev</a>[lev].resize(nvar);</div>
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span>  <span class="keywordflow">for</span> (<span class="keywordtype">int</span> n(0); n<nvar; ++n) {</div>
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span>  <a class="code" href="classABLMost.html#a958aaaf9e040462197c88c6c77f2aaf6">m_lsm_data_lev</a>[lev][n] = lsm_data[lev][n];</div>
<div class="line"><a name="l00240"></a><span class="lineno"> 240</span>  <a class="code" href="classABLMost.html#a422336bc908d29f98dafb3b745b4f060">m_lsm_flux_lev</a>[lev][n] = lsm_flux[lev][n];</div>
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span>  }</div>
<div class="line"><a name="l00242"></a><span class="lineno"> 242</span>  } <span class="comment">// lev</span></div>
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span>  </div>
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span>  <span class="comment">// Get pointers to wave data</span></div>
<div class="line"><a name="l00245"></a><span class="lineno"> 245</span>  <a class="code" href="classABLMost.html#a644ccdc438574061ec7ae75cdc714ec6">m_Hwave_lev</a>.resize(nlevs);</div>
<div class="line"><a name="l00246"></a><span class="lineno"> 246</span>  <a class="code" href="classABLMost.html#ab12af4a41dbc189d69850a81447434f7">m_Lwave_lev</a>.resize(nlevs);</div>
<div class="line"><a name="l00247"></a><span class="lineno"> 247</span>  <a class="code" href="classABLMost.html#a05cc96f74b89c4e277fe3db4ea01d3fa">m_eddyDiffs_lev</a>.resize(nlevs);</div>
<div class="line"><a name="l00248"></a><span class="lineno"> 248</span>  <span class="keywordflow">for</span> (<span class="keywordtype">int</span> lev(0); lev<nlevs; ++lev) {</div>
<div class="line"><a name="l00249"></a><span class="lineno"> 249</span>  <a class="code" href="classABLMost.html#a644ccdc438574061ec7ae75cdc714ec6">m_Hwave_lev</a>[lev] = Hwave[lev].get();</div>
<div class="line"><a name="l00250"></a><span class="lineno"> 250</span>  <a class="code" href="classABLMost.html#ab12af4a41dbc189d69850a81447434f7">m_Lwave_lev</a>[lev] = Lwave[lev].get();</div>
<div class="line"><a name="l00251"></a><span class="lineno"> 251</span>  <a class="code" href="classABLMost.html#a05cc96f74b89c4e277fe3db4ea01d3fa">m_eddyDiffs_lev</a>[lev] = eddyDiffs[lev].get();</div>
<div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  }</div>
<div class="line"><a name="l00253"></a><span class="lineno"> 253</span>  </div>
<div class="line"><a name="l00254"></a><span class="lineno"> 254</span>  <span class="keywordflow">for</span> (<span class="keywordtype">int</span> lev = 0; lev < nlevs; lev++) {</div>
<div class="line"><a name="l00255"></a><span class="lineno"> 255</span>  <span class="comment">// Attributes for MFs and FABs</span></div>
<div class="line"><a name="l00256"></a><span class="lineno"> 256</span>  <span class="comment">//--------------------------------------------------------</span></div>
<div class="line"><a name="l00257"></a><span class="lineno"> 257</span>  <span class="keyword">auto</span>& mf = vars_old[lev][<a class="code" href="namespaceVars.html#a161eed9b529c2108b15a09099729c3b9a47abe072e12c61d29cde15a509a0664b">Vars::cons</a>];</div>
<div class="line"><a name="l00258"></a><span class="lineno"> 258</span>  <span class="comment">// Create a 2D ba, dm, & ghost cells</span></div>
<div class="line"><a name="l00259"></a><span class="lineno"> 259</span>  amrex::BoxArray ba = mf.boxArray();</div>
<div class="line"><a name="l00260"></a><span class="lineno"> 260</span>  amrex::BoxList bl2d = ba.boxList();</div>
<div class="line"><a name="l00261"></a><span class="lineno"> 261</span>  <span class="keywordflow">for</span> (<span class="keyword">auto</span>& b : bl2d) {</div>
<div class="line"><a name="l00262"></a><span class="lineno"> 262</span>  b.setRange(2,0);</div>
<div class="line"><a name="l00263"></a><span class="lineno"> 263</span>  }</div>
<div class="line"><a name="l00264"></a><span class="lineno"> 264</span>  amrex::BoxArray ba2d(std::move(bl2d));</div>
<div class="line"><a name="l00265"></a><span class="lineno"> 265</span>  <span class="keyword">const</span> amrex::DistributionMapping& dm = mf.DistributionMap();</div>
<div class="line"><a name="l00266"></a><span class="lineno"> 266</span>  <span class="keyword">const</span> <span class="keywordtype">int</span> ncomp = 1;</div>
<div class="line"><a name="l00267"></a><span class="lineno"> 267</span>  amrex::IntVect ng = mf.nGrowVect(); ng[2]=0;</div>
<div class="line"><a name="l00268"></a><span class="lineno"> 268</span>  </div>
<div class="line"><a name="l00269"></a><span class="lineno"> 269</span>  <span class="comment">// Z0 heights FAB</span></div>
<div class="line"><a name="l00270"></a><span class="lineno"> 270</span>  <span class="comment">//--------------------------------------------------------</span></div>
<div class="line"><a name="l00271"></a><span class="lineno"> 271</span>  amrex::Arena* Arena_Used = amrex::The_Arena();</div>
<div class="line"><a name="l00272"></a><span class="lineno"> 272</span> <span class="preprocessor">#ifdef AMREX_USE_GPU</span></div>
<div class="line"><a name="l00273"></a><span class="lineno"> 273</span>  Arena_Used = amrex::The_Pinned_Arena();</div>
<div class="line"><a name="l00274"></a><span class="lineno"> 274</span> <span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00275"></a><span class="lineno"> 275</span>  amrex::Box bx = amrex::grow(<a class="code" href="classABLMost.html#a1795a510d08fbd88e6599e014f97b6c5">m_geom</a>[lev].Domain(),ng);</div>
<div class="line"><a name="l00276"></a><span class="lineno"> 276</span>  bx.setSmall(2,0);</div>
<div class="line"><a name="l00277"></a><span class="lineno"> 277</span>  bx.setBig(2,0);</div>
<div class="line"><a name="l00278"></a><span class="lineno"> 278</span>  <a class="code" href="classABLMost.html#a1301dd4cb6875c7bdf5d69126b972f91">z_0</a>[lev].resize(bx,1,Arena_Used);</div>
<div class="line"><a name="l00279"></a><span class="lineno"> 279</span>  <a class="code" href="classABLMost.html#a1301dd4cb6875c7bdf5d69126b972f91">z_0</a>[lev].setVal<amrex::RunOn::Device>(<a class="code" href="classABLMost.html#acfc9a08ed0d029602e2e8e99232d0149">z0_const</a>);</div>
<div class="line"><a name="l00280"></a><span class="lineno"> 280</span>  <span class="keywordflow">if</span> (read_z0) <a class="code" href="classABLMost.html#a659a78a3d5c58ec4dff9ea0933413474">read_custom_roughness</a>(lev,fname);</div>
<div class="line"><a name="l00281"></a><span class="lineno"> 281</span>  </div>
<div class="line"><a name="l00282"></a><span class="lineno"> 282</span>  <span class="comment">// 2D MFs for U*, T*, T_surf</span></div>
<div class="line"><a name="l00283"></a><span class="lineno"> 283</span>  <span class="comment">//--------------------------------------------------------</span></div>
<div class="line"><a name="l00284"></a><span class="lineno"> 284</span>  <a class="code" href="classABLMost.html#acd5510d2f47502a57107f12c66f8a552">u_star</a>[lev] = std::make_unique<amrex::MultiFab>(ba2d,dm,ncomp,ng);</div>
<div class="line"><a name="l00285"></a><span class="lineno"> 285</span>  <a class="code" href="classABLMost.html#acd5510d2f47502a57107f12c66f8a552">u_star</a>[lev]->setVal(1.E34);</div>
<div class="line"><a name="l00286"></a><span class="lineno"> 286</span>  </div>
<div class="line"><a name="l00287"></a><span class="lineno"> 287</span>  <a class="code" href="classABLMost.html#a11a418842597c03a5782fc53ec0a1fb1">w_star</a>[lev] = std::make_unique<amrex::MultiFab>(ba2d,dm,ncomp,ng);</div>
<div class="line"><a name="l00288"></a><span class="lineno"> 288</span>  <a class="code" href="classABLMost.html#a11a418842597c03a5782fc53ec0a1fb1">w_star</a>[lev]->setVal(1.E34);</div>
<div class="line"><a name="l00289"></a><span class="lineno"> 289</span>  </div>
<div class="line"><a name="l00290"></a><span class="lineno"> 290</span>  <a class="code" href="classABLMost.html#ac9d90016f196c3861d225132e8b6a921">t_star</a>[lev] = std::make_unique<amrex::MultiFab>(ba2d,dm,ncomp,ng);</div>
<div class="line"><a name="l00291"></a><span class="lineno"> 291</span>  <a class="code" href="classABLMost.html#ac9d90016f196c3861d225132e8b6a921">t_star</a>[lev]->setVal(0.0); <span class="comment">// default to neutral</span></div>
<div class="line"><a name="l00292"></a><span class="lineno"> 292</span>  </div>
<div class="line"><a name="l00293"></a><span class="lineno"> 293</span>  <a class="code" href="classABLMost.html#a0630def935d5ca0d24160b9b9567f3e1">q_star</a>[lev] = std::make_unique<amrex::MultiFab>(ba2d,dm,ncomp,ng);</div>
<div class="line"><a name="l00294"></a><span class="lineno"> 294</span>  <a class="code" href="classABLMost.html#a0630def935d5ca0d24160b9b9567f3e1">q_star</a>[lev]->setVal(0.0); <span class="comment">// default to dry</span></div>
<div class="line"><a name="l00295"></a><span class="lineno"> 295</span>  </div>
<div class="line"><a name="l00296"></a><span class="lineno"> 296</span>  <a class="code" href="classABLMost.html#a0d6aa5a113a45ae1e56c0284241cfd01">olen</a>[lev] = std::make_unique<amrex::MultiFab>(ba2d,dm,ncomp,ng);</div>
<div class="line"><a name="l00297"></a><span class="lineno"> 297</span>  <a class="code" href="classABLMost.html#a0d6aa5a113a45ae1e56c0284241cfd01">olen</a>[lev]->setVal(1.E34);</div>
<div class="line"><a name="l00298"></a><span class="lineno"> 298</span>  </div>
<div class="line"><a name="l00299"></a><span class="lineno"> 299</span>  <a class="code" href="classABLMost.html#a5ab8e9f3fdf7debf1c54bd0d8a1554db">pblh</a>[lev] = std::make_unique<amrex::MultiFab>(ba2d,dm,ncomp,ng);</div>
<div class="line"><a name="l00300"></a><span class="lineno"> 300</span>  <a class="code" href="classABLMost.html#a5ab8e9f3fdf7debf1c54bd0d8a1554db">pblh</a>[lev]->setVal(1.E34);</div>
<div class="line"><a name="l00301"></a><span class="lineno"> 301</span>  </div>
<div class="line"><a name="l00302"></a><span class="lineno"> 302</span>  <a class="code" href="classABLMost.html#a1f488836fca7c3da2bed67c63a94951b">t_surf</a>[lev] = std::make_unique<amrex::MultiFab>(ba2d,dm,ncomp,ng);</div>
<div class="line"><a name="l00303"></a><span class="lineno"> 303</span>  </div>
<div class="line"><a name="l00304"></a><span class="lineno"> 304</span>  <span class="comment">// TODO: Do we want lsm_data to have theta at 0 index always?</span></div>
<div class="line"><a name="l00305"></a><span class="lineno"> 305</span>  <span class="comment">// Do we want an external enum struct for indexing?</span></div>
<div class="line"><a name="l00306"></a><span class="lineno"> 306</span>  <span class="keywordflow">if</span> (<a class="code" href="classABLMost.html#ad8f1957bba407e17edb0a84ace515cde">m_sst_lev</a>[lev][0] || <a class="code" href="classABLMost.html#a958aaaf9e040462197c88c6c77f2aaf6">m_lsm_data_lev</a>[lev][0]) {</div>
<div class="line"><a name="l00307"></a><span class="lineno"> 307</span>  <span class="comment">// Valid SST or LSM data; t_surf set before computing fluxes (avoids extended lambda capture)</span></div>
<div class="line"><a name="l00308"></a><span class="lineno"> 308</span>  <a class="code" href="classABLMost.html#a7d1394fa01c8c29b20dfb790c0f3ec6b">theta_type</a> = <a class="code" href="classABLMost.html#a46fbd9260d2adfa7c18edad6452f9baba317cef85d14b4909f1d76becb00dc0f1">ThetaCalcType::SURFACE_TEMPERATURE</a>;</div>
<div class="line"><a name="l00309"></a><span class="lineno"> 309</span>  } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (erf_st) {</div>
<div class="line"><a name="l00310"></a><span class="lineno"> 310</span>  <a class="code" href="classABLMost.html#a1f488836fca7c3da2bed67c63a94951b">t_surf</a>[lev]->setVal(<a class="code" href="classABLMost.html#a73621a1b429f2e910a29adac72b7c581">surf_temp</a>);</div>
<div class="line"><a name="l00311"></a><span class="lineno"> 311</span>  } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00312"></a><span class="lineno"> 312</span>  <a class="code" href="classABLMost.html#a1f488836fca7c3da2bed67c63a94951b">t_surf</a>[lev]->setVal(0.0);</div>
<div class="line"><a name="l00313"></a><span class="lineno"> 313</span>  }</div>
<div class="line"><a name="l00314"></a><span class="lineno"> 314</span>  }<span class="comment">// lev</span></div>
<div class="line"><a name="l00315"></a><span class="lineno"> 315</span>  }</div>
<div class="line"><a name="l00316"></a><span class="lineno"> 316</span>  </div>
<div class="line"><a name="l00317"></a><span class="lineno"> 317</span>  <span class="keywordtype">void</span></div>
<div class="line"><a name="l00318"></a><span class="lineno"> 318</span>  <a class="code" href="classABLMost.html#af82057d4fbaaf1d8347cf18c7efd7b53">update_fluxes</a> (<span class="keyword">const</span> <span class="keywordtype">int</span>& lev,</div>
<div class="line"><a name="l00319"></a><span class="lineno"> 319</span>  <span class="keyword">const</span> amrex::Real& time,</div>
<div class="line"><a name="l00320"></a><span class="lineno"> 320</span>  <span class="keywordtype">int</span> max_iters = 25);</div>
<div class="line"><a name="l00321"></a><span class="lineno"> 321</span>  </div>
<div class="line"><a name="l00322"></a><span class="lineno"> 322</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> FluxIter></div>
<div class="line"><a name="l00323"></a><span class="lineno"> 323</span>  <span class="keywordtype">void</span></div>
<div class="line"><a name="l00324"></a><span class="lineno"> 324</span>  <a class="code" href="classABLMost.html#a829339fc8e70a5dff8b7c85f3c2e4138">compute_fluxes</a> (<span class="keyword">const</span> <span class="keywordtype">int</span>& lev,</div>
<div class="line"><a name="l00325"></a><span class="lineno"> 325</span>  <span class="keyword">const</span> <span class="keywordtype">int</span>& max_iters,</div>
<div class="line"><a name="l00326"></a><span class="lineno"> 326</span>  <span class="keyword">const</span> FluxIter& most_flux,</div>
<div class="line"><a name="l00327"></a><span class="lineno"> 327</span>  <span class="keywordtype">bool</span> is_land);</div>
<div class="line"><a name="l00328"></a><span class="lineno"> 328</span>  </div>
<div class="line"><a name="l00329"></a><span class="lineno"> 329</span>  <span class="keywordtype">void</span></div>
<div class="line"><a name="l00330"></a><span class="lineno"> 330</span>  <a class="code" href="classABLMost.html#aa6c480227398080885f5bd48466c71e0">impose_most_bcs</a> (<span class="keyword">const</span> <span class="keywordtype">int</span>& lev,</div>
<div class="line"><a name="l00331"></a><span class="lineno"> 331</span>  <span class="keyword">const</span> amrex::Vector<amrex::MultiFab*>& mfs,</div>
<div class="line"><a name="l00332"></a><span class="lineno"> 332</span>  amrex::MultiFab* xxmom_flux,</div>
<div class="line"><a name="l00333"></a><span class="lineno"> 333</span>  amrex::MultiFab* yymom_flux,</div>
<div class="line"><a name="l00334"></a><span class="lineno"> 334</span>  amrex::MultiFab* zzmom_flux,</div>
<div class="line"><a name="l00335"></a><span class="lineno"> 335</span>  amrex::MultiFab* xymom_flux, amrex::MultiFab* yxmom_flux,</div>
<div class="line"><a name="l00336"></a><span class="lineno"> 336</span>  amrex::MultiFab* xzmom_flux, amrex::MultiFab* zxmom_flux,</div>
<div class="line"><a name="l00337"></a><span class="lineno"> 337</span>  amrex::MultiFab* yzmom_flux, amrex::MultiFab* zymom_flux,</div>
<div class="line"><a name="l00338"></a><span class="lineno"> 338</span>  amrex::MultiFab* xheat_flux,</div>
<div class="line"><a name="l00339"></a><span class="lineno"> 339</span>  amrex::MultiFab* yheat_flux,</div>
<div class="line"><a name="l00340"></a><span class="lineno"> 340</span>  amrex::MultiFab* zheat_flux,</div>
<div class="line"><a name="l00341"></a><span class="lineno"> 341</span>  amrex::MultiFab* xqv_flux,</div>
<div class="line"><a name="l00342"></a><span class="lineno"> 342</span>  amrex::MultiFab* yqv_flux,</div>
<div class="line"><a name="l00343"></a><span class="lineno"> 343</span>  amrex::MultiFab* zqv_flux,</div>
<div class="line"><a name="l00344"></a><span class="lineno"> 344</span>  amrex::MultiFab* z_phys);</div>
<div class="line"><a name="l00345"></a><span class="lineno"> 345</span>  </div>
<div class="line"><a name="l00346"></a><span class="lineno"> 346</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> FluxCalc></div>
<div class="line"><a name="l00347"></a><span class="lineno"> 347</span>  <span class="keywordtype">void</span></div>
<div class="line"><a name="l00348"></a><span class="lineno"><a class="line" href="classABLMost.html#ac1b3a987e1f8518eec9552f6b747a4b1"> 348</a></span>  <a class="code" href="classABLMost.html#ac1b3a987e1f8518eec9552f6b747a4b1">compute_most_bcs</a> (<span class="keyword">const</span> <span class="keywordtype">int</span>& lev,</div>
<div class="line"><a name="l00349"></a><span class="lineno"> 349</span>  <span class="keyword">const</span> amrex::Vector<amrex::MultiFab*>& mfs,</div>
<div class="line"><a name="l00350"></a><span class="lineno"> 350</span>  amrex::MultiFab* xxmom_flux,</div>
<div class="line"><a name="l00351"></a><span class="lineno"> 351</span>  amrex::MultiFab* yymom_flux,</div>
<div class="line"><a name="l00352"></a><span class="lineno"> 352</span>  amrex::MultiFab* zzmom_flux,</div>
<div class="line"><a name="l00353"></a><span class="lineno"> 353</span>  amrex::MultiFab* xymom_flux, amrex::MultiFab* yxmom_flux,</div>
<div class="line"><a name="l00354"></a><span class="lineno"> 354</span>  amrex::MultiFab* xzmom_flux, amrex::MultiFab* zxmom_flux,</div>
<div class="line"><a name="l00355"></a><span class="lineno"> 355</span>  amrex::MultiFab* yzmom_flux, amrex::MultiFab* zymom_flux,</div>
<div class="line"><a name="l00356"></a><span class="lineno"> 356</span>  amrex::MultiFab* xheat_flux,</div>
<div class="line"><a name="l00357"></a><span class="lineno"> 357</span>  amrex::MultiFab* yheat_flux,</div>
<div class="line"><a name="l00358"></a><span class="lineno"> 358</span>  amrex::MultiFab* zheat_flux,</div>
<div class="line"><a name="l00359"></a><span class="lineno"> 359</span>  amrex::MultiFab* xqv_flux,</div>
<div class="line"><a name="l00360"></a><span class="lineno"> 360</span>  amrex::MultiFab* yqv_flux,</div>
<div class="line"><a name="l00361"></a><span class="lineno"> 361</span>  amrex::MultiFab* zqv_flux,</div>
<div class="line"><a name="l00362"></a><span class="lineno"> 362</span>  amrex::MultiFab* z_phys,</div>
<div class="line"><a name="l00363"></a><span class="lineno"> 363</span>  <span class="keyword">const</span> FluxCalc& flux_comp);</div>
<div class="line"><a name="l00364"></a><span class="lineno"> 364</span>  </div>
<div class="line"><a name="l00365"></a><span class="lineno"> 365</span>  <span class="keywordtype">void</span></div>
<div class="line"><a name="l00366"></a><span class="lineno"> 366</span>  <a class="code" href="classABLMost.html#aaeef06eb7d0ab7e3d100e583337121cc">time_interp_sst</a> (<span class="keyword">const</span> <span class="keywordtype">int</span>& lev,</div>
<div class="line"><a name="l00367"></a><span class="lineno"> 367</span>  <span class="keyword">const</span> amrex::Real& time);</div>
<div class="line"><a name="l00368"></a><span class="lineno"> 368</span>  </div>
<div class="line"><a name="l00369"></a><span class="lineno"> 369</span>  <span class="keywordtype">void</span></div>
<div class="line"><a name="l00370"></a><span class="lineno"> 370</span>  <a class="code" href="classABLMost.html#ae28fd8a21f4b514875c24fe4b8e85081">get_lsm_tsurf</a> (<span class="keyword">const</span> <span class="keywordtype">int</span>& lev);</div>
<div class="line"><a name="l00371"></a><span class="lineno"> 371</span>  </div>
<div class="line"><a name="l00372"></a><span class="lineno"> 372</span>  <span class="comment">/* wrapper around compute_pblh */</span></div>
<div class="line"><a name="l00373"></a><span class="lineno"> 373</span>  <span class="keywordtype">void</span></div>
<div class="line"><a name="l00374"></a><span class="lineno"> 374</span>  <a class="code" href="classABLMost.html#a9cba175c3ff5be3dcdd14f97ed7c892e">update_pblh</a> (<span class="keyword">const</span> <span class="keywordtype">int</span>& lev,</div>
<div class="line"><a name="l00375"></a><span class="lineno"> 375</span>  amrex::Vector<amrex::Vector<amrex::MultiFab>>& vars,</div>
<div class="line"><a name="l00376"></a><span class="lineno"> 376</span>  amrex::MultiFab* z_phys_cc,</div>
<div class="line"><a name="l00377"></a><span class="lineno"> 377</span>  <span class="keyword">const</span> <span class="keywordtype">int</span> RhoQv_comp,</div>
<div class="line"><a name="l00378"></a><span class="lineno"> 378</span>  <span class="keyword">const</span> <span class="keywordtype">int</span> RhoQc_comp,</div>
<div class="line"><a name="l00379"></a><span class="lineno"> 379</span>  <span class="keyword">const</span> <span class="keywordtype">int</span> RhoQr_comp);</div>
<div class="line"><a name="l00380"></a><span class="lineno"> 380</span>  </div>
<div class="line"><a name="l00381"></a><span class="lineno"> 381</span>  <span class="keyword">template</span> <<span class="keyword">typename</span> PBLHeightEstimator></div>
<div class="line"><a name="l00382"></a><span class="lineno"> 382</span>  <span class="keywordtype">void</span></div>
<div class="line"><a name="l00383"></a><span class="lineno"><a class="line" href="classABLMost.html#a3a6533896d60b678bc447fa7fffcf8af"> 383</a></span>  <a class="code" href="classABLMost.html#a3a6533896d60b678bc447fa7fffcf8af">compute_pblh</a> (<span class="keyword">const</span> <span class="keywordtype">int</span>& lev,</div>
<div class="line"><a name="l00384"></a><span class="lineno"> 384</span>  amrex::Vector<amrex::Vector<amrex::MultiFab>>& vars,</div>
<div class="line"><a name="l00385"></a><span class="lineno"> 385</span>  amrex::MultiFab* z_phys_cc,</div>
<div class="line"><a name="l00386"></a><span class="lineno"> 386</span>  <span class="keyword">const</span> PBLHeightEstimator& est,</div>
<div class="line"><a name="l00387"></a><span class="lineno"> 387</span>  <span class="keyword">const</span> <span class="keywordtype">int</span> RhoQv_comp,</div>
<div class="line"><a name="l00388"></a><span class="lineno"> 388</span>  <span class="keyword">const</span> <span class="keywordtype">int</span> RhoQc_comp,</div>
<div class="line"><a name="l00389"></a><span class="lineno"> 389</span>  <span class="keyword">const</span> <span class="keywordtype">int</span> RhoQr_comp);</div>
<div class="line"><a name="l00390"></a><span class="lineno"> 390</span>  </div>
<div class="line"><a name="l00391"></a><span class="lineno"> 391</span>  <span class="keywordtype">void</span></div>
<div class="line"><a name="l00392"></a><span class="lineno"> 392</span>  <a class="code" href="classABLMost.html#a659a78a3d5c58ec4dff9ea0933413474">read_custom_roughness</a> (<span class="keyword">const</span> <span class="keywordtype">int</span>& lev,</div>
<div class="line"><a name="l00393"></a><span class="lineno"> 393</span>  <span class="keyword">const</span> std::string& fname);</div>
<div class="line"><a name="l00394"></a><span class="lineno"> 394</span>  </div>
<div class="line"><a name="l00395"></a><span class="lineno"> 395</span>  <span class="keywordtype">void</span></div>
<div class="line"><a name="l00396"></a><span class="lineno"><a class="line" href="classABLMost.html#ad878840b1c998160ba79c1e9714adc70"> 396</a></span>  <a class="code" href="classABLMost.html#ad878840b1c998160ba79c1e9714adc70">update_surf_temp</a> (<span class="keyword">const</span> amrex::Real& time)</div>
<div class="line"><a name="l00397"></a><span class="lineno"> 397</span>  {</div>
<div class="line"><a name="l00398"></a><span class="lineno"> 398</span>  <span class="keywordflow">if</span> (<a class="code" href="classABLMost.html#a39402ac3794b9a218289cd0d4adec670">surf_heating_rate</a> != 0) {</div>
<div class="line"><a name="l00399"></a><span class="lineno"> 399</span>  <span class="keywordtype">int</span> nlevs = <a class="code" href="classABLMost.html#a1795a510d08fbd88e6599e014f97b6c5">m_geom</a>.size();</div>
<div class="line"><a name="l00400"></a><span class="lineno"> 400</span>  <span class="keywordflow">for</span> (<span class="keywordtype">int</span> lev = 0; lev < nlevs; lev++)</div>
<div class="line"><a name="l00401"></a><span class="lineno"> 401</span>  {</div>
<div class="line"><a name="l00402"></a><span class="lineno"> 402</span>  <a class="code" href="classABLMost.html#a1f488836fca7c3da2bed67c63a94951b">t_surf</a>[lev]->setVal(<a class="code" href="classABLMost.html#a73621a1b429f2e910a29adac72b7c581">surf_temp</a> + <a class="code" href="classABLMost.html#a39402ac3794b9a218289cd0d4adec670">surf_heating_rate</a>*time);</div>
<div class="line"><a name="l00403"></a><span class="lineno"> 403</span>  amrex::Print() << <span class="stringliteral">"Surface temp at t="</span> << time</div>
<div class="line"><a name="l00404"></a><span class="lineno"> 404</span>  << <span class="stringliteral">": "</span></div>
<div class="line"><a name="l00405"></a><span class="lineno"> 405</span>  << <a class="code" href="classABLMost.html#a73621a1b429f2e910a29adac72b7c581">surf_temp</a> + <a class="code" href="classABLMost.html#a39402ac3794b9a218289cd0d4adec670">surf_heating_rate</a>*time</div>
<div class="line"><a name="l00406"></a><span class="lineno"> 406</span>  << std::endl;</div>
<div class="line"><a name="l00407"></a><span class="lineno"> 407</span>  }</div>
<div class="line"><a name="l00408"></a><span class="lineno"> 408</span>  }</div>
<div class="line"><a name="l00409"></a><span class="lineno"> 409</span>  }</div>
<div class="line"><a name="l00410"></a><span class="lineno"> 410</span>  </div>
<div class="line"><a name="l00411"></a><span class="lineno"> 411</span>  <span class="keywordtype">void</span></div>
<div class="line"><a name="l00412"></a><span class="lineno"><a class="line" href="classABLMost.html#a5fcdd773bc7314a2655bf3ce0e7536fe"> 412</a></span>  <a class="code" href="classABLMost.html#a5fcdd773bc7314a2655bf3ce0e7536fe">update_mac_ptrs</a> (<span class="keyword">const</span> <span class="keywordtype">int</span>& lev,</div>
<div class="line"><a name="l00413"></a><span class="lineno"> 413</span>  amrex::Vector<amrex::Vector<amrex::MultiFab>>& vars_old,</div>
<div class="line"><a name="l00414"></a><span class="lineno"> 414</span>  amrex::Vector<std::unique_ptr<amrex::MultiFab>>& Theta_prim,</div>
<div class="line"><a name="l00415"></a><span class="lineno"> 415</span>  amrex::Vector<std::unique_ptr<amrex::MultiFab>>& Qv_prim,</div>
<div class="line"><a name="l00416"></a><span class="lineno"> 416</span>  amrex::Vector<std::unique_ptr<amrex::MultiFab>>& Qr_prim)</div>
<div class="line"><a name="l00417"></a><span class="lineno"> 417</span>  { <a class="code" href="classABLMost.html#a466bfcda8ae4337d9c8781ab28e3f6fe">m_ma</a>.<a class="code" href="classMOSTAverage.html#a1d1a06b1f807c7018950fe91ddc435bd">update_field_ptrs</a>(lev,vars_old,Theta_prim,Qv_prim,Qr_prim); }</div>
<div class="line"><a name="l00418"></a><span class="lineno"> 418</span>  </div>
<div class="line"><a name="l00419"></a><span class="lineno"> 419</span>  <span class="keyword">const</span> amrex::MultiFab*</div>
<div class="line"><a name="l00420"></a><span class="lineno"><a class="line" href="classABLMost.html#a0890b6ae8c80d8888effa040af808df0"> 420</a></span>  <a class="code" href="classABLMost.html#a0890b6ae8c80d8888effa040af808df0">get_u_star</a> (<span class="keyword">const</span> <span class="keywordtype">int</span>& lev) { <span class="keywordflow">return</span> <a class="code" href="classABLMost.html#acd5510d2f47502a57107f12c66f8a552">u_star</a>[lev].get(); }</div>
<div class="line"><a name="l00421"></a><span class="lineno"> 421</span>  </div>
<div class="line"><a name="l00422"></a><span class="lineno"> 422</span>  <span class="keyword">const</span> amrex::MultiFab*</div>
<div class="line"><a name="l00423"></a><span class="lineno"><a class="line" href="classABLMost.html#a9ea0efa20ea7a0dfd12ccc8c13c7f5fd"> 423</a></span>  <a class="code" href="classABLMost.html#a9ea0efa20ea7a0dfd12ccc8c13c7f5fd">get_w_star</a> (<span class="keyword">const</span> <span class="keywordtype">int</span>& lev) { <span class="keywordflow">return</span> <a class="code" href="classABLMost.html#a11a418842597c03a5782fc53ec0a1fb1">w_star</a>[lev].get(); }</div>
<div class="line"><a name="l00424"></a><span class="lineno"> 424</span>  </div>
<div class="line"><a name="l00425"></a><span class="lineno"> 425</span>  <span class="keyword">const</span> amrex::MultiFab*</div>
<div class="line"><a name="l00426"></a><span class="lineno"><a class="line" href="classABLMost.html#a108ee0811499e80c9d3226bb20da6973"> 426</a></span>  <a class="code" href="classABLMost.html#a108ee0811499e80c9d3226bb20da6973">get_t_star</a> (<span class="keyword">const</span> <span class="keywordtype">int</span>& lev) { <span class="keywordflow">return</span> <a class="code" href="classABLMost.html#ac9d90016f196c3861d225132e8b6a921">t_star</a>[lev].get(); }</div>
<div class="line"><a name="l00427"></a><span class="lineno"> 427</span>  </div>
<div class="line"><a name="l00428"></a><span class="lineno"> 428</span>  <span class="keyword">const</span> amrex::MultiFab*</div>
<div class="line"><a name="l00429"></a><span class="lineno"><a class="line" href="classABLMost.html#a5468d40c9751664279c940369c8040dd"> 429</a></span>  <a class="code" href="classABLMost.html#a5468d40c9751664279c940369c8040dd">get_q_star</a> (<span class="keyword">const</span> <span class="keywordtype">int</span>& lev) { <span class="keywordflow">return</span> <a class="code" href="classABLMost.html#a0630def935d5ca0d24160b9b9567f3e1">q_star</a>[lev].get(); }</div>
<div class="line"><a name="l00430"></a><span class="lineno"> 430</span>  </div>
<div class="line"><a name="l00431"></a><span class="lineno"> 431</span>  <span class="keyword">const</span> amrex::MultiFab*</div>
<div class="line"><a name="l00432"></a><span class="lineno"><a class="line" href="classABLMost.html#aef7480dbb43cafff3be93a95240c1ec3"> 432</a></span>  <a class="code" href="classABLMost.html#aef7480dbb43cafff3be93a95240c1ec3">get_olen</a> (<span class="keyword">const</span> <span class="keywordtype">int</span>& lev) { <span class="keywordflow">return</span> <a class="code" href="classABLMost.html#a0d6aa5a113a45ae1e56c0284241cfd01">olen</a>[lev].get(); }</div>
<div class="line"><a name="l00433"></a><span class="lineno"> 433</span>  </div>
<div class="line"><a name="l00434"></a><span class="lineno"> 434</span>  <span class="keyword">const</span> amrex::MultiFab*</div>
<div class="line"><a name="l00435"></a><span class="lineno"><a class="line" href="classABLMost.html#aaac1902b108e37bf0508306cb171c6ad"> 435</a></span>  <a class="code" href="classABLMost.html#aaac1902b108e37bf0508306cb171c6ad">get_pblh</a> (<span class="keyword">const</span> <span class="keywordtype">int</span>& lev) { <span class="keywordflow">return</span> <a class="code" href="classABLMost.html#a5ab8e9f3fdf7debf1c54bd0d8a1554db">pblh</a>[lev].get(); }</div>
<div class="line"><a name="l00436"></a><span class="lineno"> 436</span>  </div>
<div class="line"><a name="l00437"></a><span class="lineno"> 437</span>  <span class="keyword">const</span> amrex::MultiFab*</div>
<div class="line"><a name="l00438"></a><span class="lineno"><a class="line" href="classABLMost.html#af26cdc6b8c162c14b2db32eb395f0565"> 438</a></span>  <a class="code" href="classABLMost.html#af26cdc6b8c162c14b2db32eb395f0565">get_mac_avg</a> (<span class="keyword">const</span> <span class="keywordtype">int</span>& lev, <span class="keywordtype">int</span> comp) { <span class="keywordflow">return</span> <a class="code" href="classABLMost.html#a466bfcda8ae4337d9c8781ab28e3f6fe">m_ma</a>.<a class="code" href="classMOSTAverage.html#aa52cd2c83e24eef47d6a409b7bcf4c81">get_average</a>(lev,comp); }</div>
<div class="line"><a name="l00439"></a><span class="lineno"> 439</span>  </div>
<div class="line"><a name="l00440"></a><span class="lineno"> 440</span>  <span class="keyword">const</span> amrex::MultiFab*</div>
<div class="line"><a name="l00441"></a><span class="lineno"><a class="line" href="classABLMost.html#aca21d4f7aae064515bfec992b263d6d2"> 441</a></span>  <a class="code" href="classABLMost.html#aca21d4f7aae064515bfec992b263d6d2">get_t_surf</a> (<span class="keyword">const</span> <span class="keywordtype">int</span>& lev) { <span class="keywordflow">return</span> <a class="code" href="classABLMost.html#a1f488836fca7c3da2bed67c63a94951b">t_surf</a>[lev].get(); }</div>
<div class="line"><a name="l00442"></a><span class="lineno"> 442</span>  </div>
<div class="line"><a name="l00443"></a><span class="lineno"> 443</span>  amrex::Real</div>
<div class="line"><a name="l00444"></a><span class="lineno"><a class="line" href="classABLMost.html#ae638411093a2d3cc6cc525d4d7efa7ed"> 444</a></span>  <a class="code" href="classABLMost.html#ae638411093a2d3cc6cc525d4d7efa7ed">get_zref</a> () { <span class="keywordflow">return</span> <a class="code" href="classABLMost.html#a466bfcda8ae4337d9c8781ab28e3f6fe">m_ma</a>.<a class="code" href="classMOSTAverage.html#a5b590fcba4d5d99178a0f8de14a1f174">get_zref</a>(); }</div>
<div class="line"><a name="l00445"></a><span class="lineno"> 445</span>  </div>
<div class="line"><a name="l00446"></a><span class="lineno"> 446</span>  <span class="keyword">const</span> amrex::FArrayBox*</div>
<div class="line"><a name="l00447"></a><span class="lineno"><a class="line" href="classABLMost.html#a626a97f944cb297c966a2ff7ce0bad97"> 447</a></span>  <a class="code" href="classABLMost.html#a626a97f944cb297c966a2ff7ce0bad97">get_z0</a> (<span class="keyword">const</span> <span class="keywordtype">int</span>& lev) { <span class="keywordflow">return</span> &<a class="code" href="classABLMost.html#a1301dd4cb6875c7bdf5d69126b972f91">z_0</a>[lev]; }</div>
<div class="line"><a name="l00448"></a><span class="lineno"> 448</span>  </div>
<div class="line"><a name="l00449"></a><span class="lineno"><a class="line" href="classABLMost.html#a4c4d9a950ce5f1115f701100795ac405"> 449</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classABLMost.html#a4c4d9a950ce5f1115f701100795ac405">have_variable_sea_roughness</a>() { <span class="keywordflow">return</span> <a class="code" href="classABLMost.html#ab1da46aefd129763fb25f5a6839e48dd">m_var_z0</a>; }</div>
<div class="line"><a name="l00450"></a><span class="lineno"> 450</span>  </div>
<div class="line"><a name="l00451"></a><span class="lineno"> 451</span>  <span class="keyword">const</span> amrex::iMultiFab*</div>
<div class="line"><a name="l00452"></a><span class="lineno"><a class="line" href="classABLMost.html#a48a21c911803192130c2472c89b72c72"> 452</a></span>  <a class="code" href="classABLMost.html#a48a21c911803192130c2472c89b72c72">get_lmask</a>(<span class="keyword">const</span> <span class="keywordtype">int</span>& lev) { <span class="keywordflow">return</span> <a class="code" href="classABLMost.html#aaa5bbc610662825ddd8a184b43f3541b">m_lmask_lev</a>[lev][0]; }</div>
<div class="line"><a name="l00453"></a><span class="lineno"> 453</span>  </div>
<div class="line"><a name="l00454"></a><span class="lineno"> 454</span>  <span class="keywordtype">int</span></div>
<div class="line"><a name="l00455"></a><span class="lineno"><a class="line" href="classABLMost.html#a4a8ee389a82fe46164ffed9417500a98"> 455</a></span>  <a class="code" href="classABLMost.html#a4a8ee389a82fe46164ffed9417500a98">lmask_min_reduce</a> (amrex::iMultiFab& lmask, <span class="keyword">const</span> <span class="keywordtype">int</span>& nghost)</div>
<div class="line"><a name="l00456"></a><span class="lineno"> 456</span>  {</div>
<div class="line"><a name="l00457"></a><span class="lineno"> 457</span>  <span class="keywordtype">int</span> lmask_min = amrex::ReduceMin(lmask, nghost,</div>
<div class="line"><a name="l00458"></a><span class="lineno"> 458</span>  [=] AMREX_GPU_HOST_DEVICE (amrex::Box <span class="keyword">const</span>& bx, amrex::Array4<int const> <span class="keyword">const</span>& lm_arr) -> <span class="keywordtype">int</span></div>
<div class="line"><a name="l00459"></a><span class="lineno"> 459</span>  {</div>
<div class="line"><a name="l00460"></a><span class="lineno"> 460</span>  <span class="keywordtype">int</span> locmin = std::numeric_limits<int>::max();</div>
<div class="line"><a name="l00461"></a><span class="lineno"> 461</span>  <span class="keyword">const</span> <span class="keyword">auto</span> lo = lbound(bx);</div>
<div class="line"><a name="l00462"></a><span class="lineno"> 462</span>  <span class="keyword">const</span> <span class="keyword">auto</span> hi = ubound(bx);</div>
<div class="line"><a name="l00463"></a><span class="lineno"> 463</span>  <span class="keywordflow">for</span> (<span class="keywordtype">int</span> j = lo.y; j <= hi.y; ++j) {</div>
<div class="line"><a name="l00464"></a><span class="lineno"> 464</span>  <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = lo.x; i <= hi.x; ++i) {</div>
<div class="line"><a name="l00465"></a><span class="lineno"> 465</span>  locmin = std::min(locmin, lm_arr(i,j,0));</div>
<div class="line"><a name="l00466"></a><span class="lineno"> 466</span>  }</div>
<div class="line"><a name="l00467"></a><span class="lineno"> 467</span>  }</div>
<div class="line"><a name="l00468"></a><span class="lineno"> 468</span>  <span class="keywordflow">return</span> locmin;</div>
<div class="line"><a name="l00469"></a><span class="lineno"> 469</span>  });</div>
<div class="line"><a name="l00470"></a><span class="lineno"> 470</span>  </div>
<div class="line"><a name="l00471"></a><span class="lineno"> 471</span>  <span class="keywordflow">return</span> lmask_min;</div>
<div class="line"><a name="l00472"></a><span class="lineno"> 472</span>  }</div>
<div class="line"><a name="l00473"></a><span class="lineno"> 473</span>  </div>
<div class="line"><a name="l00474"></a><span class="lineno"><a class="line" href="classABLMost.html#a92e41ba7a650b4768aa6bc006b2241e0"> 474</a></span>  <span class="keyword">enum struct</span> <a class="code" href="classABLMost.html#a92e41ba7a650b4768aa6bc006b2241e0">FluxCalcType</a> {</div>
<div class="line"><a name="l00475"></a><span class="lineno"> 475</span>  <a class="code" href="classABLMost.html#a92e41ba7a650b4768aa6bc006b2241e0a0525d4394471c332f3c0a497584923d5">MOENG</a> = 0, <span class="comment">///< Moeng functional form</span></div>
<div class="line"><a name="l00476"></a><span class="lineno"> 476</span>  <a class="code" href="classABLMost.html#a92e41ba7a650b4768aa6bc006b2241e0afbf950ece84b8c4c7ebcf6492db726f7">DONELAN</a>, <span class="comment">///< Donelan functional form</span></div>
<div class="line"><a name="l00477"></a><span class="lineno"> 477</span>  <a class="code" href="classABLMost.html#a92e41ba7a650b4768aa6bc006b2241e0a72baef04098f035e8a320b03ad197818">CUSTOM</a>, <span class="comment">///< Custom constant flux functional form</span></div>
<div class="line"><a name="l00478"></a><span class="lineno"> 478</span>  <a class="code" href="classABLMost.html#a92e41ba7a650b4768aa6bc006b2241e0a9faf4e337734315fde20af1922cc6f9d">ROTATE</a> <span class="comment">///< Terrain rotation flux functional form</span></div>
<div class="line"><a name="l00479"></a><span class="lineno"> 479</span>  };</div>
<div class="line"><a name="l00480"></a><span class="lineno"> 480</span>  </div>
<div class="line"><a name="l00481"></a><span class="lineno"><a class="line" href="classABLMost.html#a46fbd9260d2adfa7c18edad6452f9bab"> 481</a></span>  <span class="keyword">enum struct</span> <a class="code" href="classABLMost.html#a46fbd9260d2adfa7c18edad6452f9bab">ThetaCalcType</a> {</div>
<div class="line"><a name="l00482"></a><span class="lineno"> 482</span>  <a class="code" href="classABLMost.html#a46fbd9260d2adfa7c18edad6452f9baba10548012f42e962e7945ce998b571c5c">ADIABATIC</a> = 0,</div>
<div class="line"><a name="l00483"></a><span class="lineno"> 483</span>  <a class="code" href="classABLMost.html#a46fbd9260d2adfa7c18edad6452f9babac03b743c56d9316fbd3d327453b22226">HEAT_FLUX</a>, <span class="comment">///< Heat-flux specified</span></div>
<div class="line"><a name="l00484"></a><span class="lineno"> 484</span>  <a class="code" href="classABLMost.html#a46fbd9260d2adfa7c18edad6452f9baba317cef85d14b4909f1d76becb00dc0f1">SURFACE_TEMPERATURE</a> <span class="comment">///< Surface temperature specified</span></div>
<div class="line"><a name="l00485"></a><span class="lineno"> 485</span>  };</div>
<div class="line"><a name="l00486"></a><span class="lineno"> 486</span>  </div>
<div class="line"><a name="l00487"></a><span class="lineno"><a class="line" href="classABLMost.html#ae825f96c2d098b3e070642a74e6a3f13"> 487</a></span>  <span class="keyword">enum struct</span> <a class="code" href="classABLMost.html#ae825f96c2d098b3e070642a74e6a3f13">RoughCalcType</a> {</div>
<div class="line"><a name="l00488"></a><span class="lineno"> 488</span>  <a class="code" href="classABLMost.html#ae825f96c2d098b3e070642a74e6a3f13a8d6b5cada83510220f59e00ce86d4d92">CONSTANT</a> = 0, <span class="comment">///< Constant z0</span></div>
<div class="line"><a name="l00489"></a><span class="lineno"> 489</span>  <a class="code" href="classABLMost.html#ae825f96c2d098b3e070642a74e6a3f13addbb8213265f3ad773f7af2cb8147062">CHARNOCK</a>,</div>
<div class="line"><a name="l00490"></a><span class="lineno"> 490</span>  <a class="code" href="classABLMost.html#ae825f96c2d098b3e070642a74e6a3f13a266bf3048d67b1b3187c0189bc232fde">MODIFIED_CHARNOCK</a>,</div>
<div class="line"><a name="l00491"></a><span class="lineno"> 491</span>  <a class="code" href="classABLMost.html#ae825f96c2d098b3e070642a74e6a3f13afbf950ece84b8c4c7ebcf6492db726f7">DONELAN</a>,</div>
<div class="line"><a name="l00492"></a><span class="lineno"> 492</span>  <a class="code" href="classABLMost.html#ae825f96c2d098b3e070642a74e6a3f13a3e1545d84d0cc7da6edf47adda8a80f9">WAVE_COUPLED</a></div>
<div class="line"><a name="l00493"></a><span class="lineno"> 493</span>  };</div>
<div class="line"><a name="l00494"></a><span class="lineno"> 494</span>  </div>
<div class="line"><a name="l00495"></a><span class="lineno"><a class="line" href="classABLMost.html#acf73526a7a2b05be8d48c0af94742841"> 495</a></span>  <span class="keyword">enum struct</span> <a class="code" href="classABLMost.html#acf73526a7a2b05be8d48c0af94742841">PBLHeightCalcType</a> {</div>
<div class="line"><a name="l00496"></a><span class="lineno"> 496</span>  <a class="code" href="classABLMost.html#acf73526a7a2b05be8d48c0af94742841a6adf97f83acf6453d4a6a4b1070f3754">None</a>, <a class="code" href="classABLMost.html#acf73526a7a2b05be8d48c0af94742841abdeb9a753db1d1f3fe0e944eab1d0601">MYNN25</a>, <a class="code" href="classABLMost.html#acf73526a7a2b05be8d48c0af94742841ad032bccff1ff2e272cc68da5a0de09fe">YSU</a></div>
<div class="line"><a name="l00497"></a><span class="lineno"> 497</span>  };</div>
<div class="line"><a name="l00498"></a><span class="lineno"> 498</span>  </div>
<div class="line"><a name="l00499"></a><span class="lineno"><a class="line" href="classABLMost.html#ad837d92390012682056ffac0b5f9a8f9"> 499</a></span>  <a class="code" href="classABLMost.html#a92e41ba7a650b4768aa6bc006b2241e0">FluxCalcType</a> <a class="code" href="classABLMost.html#ad837d92390012682056ffac0b5f9a8f9">flux_type</a>{<a class="code" href="classABLMost.html#a92e41ba7a650b4768aa6bc006b2241e0a0525d4394471c332f3c0a497584923d5">FluxCalcType::MOENG</a>};</div>
<div class="line"><a name="l00500"></a><span class="lineno"><a class="line" href="classABLMost.html#a7d1394fa01c8c29b20dfb790c0f3ec6b"> 500</a></span>  <a class="code" href="classABLMost.html#a46fbd9260d2adfa7c18edad6452f9bab">ThetaCalcType</a> <a class="code" href="classABLMost.html#a7d1394fa01c8c29b20dfb790c0f3ec6b">theta_type</a>{<a class="code" href="classABLMost.html#a46fbd9260d2adfa7c18edad6452f9baba10548012f42e962e7945ce998b571c5c">ThetaCalcType::ADIABATIC</a>};</div>
<div class="line"><a name="l00501"></a><span class="lineno"><a class="line" href="classABLMost.html#ab052d62a07e8765a6de67264d05aff37"> 501</a></span>  <a class="code" href="classABLMost.html#ae825f96c2d098b3e070642a74e6a3f13">RoughCalcType</a> <a class="code" href="classABLMost.html#ab052d62a07e8765a6de67264d05aff37">rough_type_land</a>{<a class="code" href="classABLMost.html#ae825f96c2d098b3e070642a74e6a3f13a8d6b5cada83510220f59e00ce86d4d92">RoughCalcType::CONSTANT</a>};</div>
<div class="line"><a name="l00502"></a><span class="lineno"><a class="line" href="classABLMost.html#ab5041b7c6a15b759a8f33dadd1a67e92"> 502</a></span>  <a class="code" href="classABLMost.html#ae825f96c2d098b3e070642a74e6a3f13">RoughCalcType</a> <a class="code" href="classABLMost.html#ab5041b7c6a15b759a8f33dadd1a67e92">rough_type_sea</a>{<a class="code" href="classABLMost.html#ae825f96c2d098b3e070642a74e6a3f13addbb8213265f3ad773f7af2cb8147062">RoughCalcType::CHARNOCK</a>};</div>
<div class="line"><a name="l00503"></a><span class="lineno"><a class="line" href="classABLMost.html#a84782c98096a1cc4395071cde97469ed"> 503</a></span>  <a class="code" href="classABLMost.html#acf73526a7a2b05be8d48c0af94742841">PBLHeightCalcType</a> <a class="code" href="classABLMost.html#a84782c98096a1cc4395071cde97469ed">pblh_type</a>{<a class="code" href="classABLMost.html#acf73526a7a2b05be8d48c0af94742841a6adf97f83acf6453d4a6a4b1070f3754">PBLHeightCalcType::None</a>};</div>
<div class="line"><a name="l00504"></a><span class="lineno"> 504</span>  </div>
<div class="line"><a name="l00505"></a><span class="lineno"> 505</span> <span class="keyword">private</span>:</div>
<div class="line"><a name="l00506"></a><span class="lineno"><a class="line" href="classABLMost.html#ab55a547b6b74a177128af6c6a107930c"> 506</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classABLMost.html#ab55a547b6b74a177128af6c6a107930c">use_moisture</a>;</div>
<div class="line"><a name="l00507"></a><span class="lineno"><a class="line" href="classABLMost.html#ac3de35be0d6cf3841e9a868830fc42c5"> 507</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classABLMost.html#ac3de35be0d6cf3841e9a868830fc42c5">m_exp_most</a> = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00508"></a><span class="lineno"><a class="line" href="classABLMost.html#ab107efa0b6bdf80ee44d232919f6a7ad"> 508</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classABLMost.html#ab107efa0b6bdf80ee44d232919f6a7ad">m_rotate</a> = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00509"></a><span class="lineno"><a class="line" href="classABLMost.html#ac2e247ec9fd06cd15c788b83bf2c9ba6"> 509</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classABLMost.html#ac2e247ec9fd06cd15c788b83bf2c9ba6">m_include_wstar</a> = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00510"></a><span class="lineno"><a class="line" href="classABLMost.html#acfc9a08ed0d029602e2e8e99232d0149"> 510</a></span>  amrex::Real <a class="code" href="classABLMost.html#acfc9a08ed0d029602e2e8e99232d0149">z0_const</a>{0.1};</div>
<div class="line"><a name="l00511"></a><span class="lineno"><a class="line" href="classABLMost.html#a73621a1b429f2e910a29adac72b7c581"> 511</a></span>  amrex::Real <a class="code" href="classABLMost.html#a73621a1b429f2e910a29adac72b7c581">surf_temp</a>;</div>
<div class="line"><a name="l00512"></a><span class="lineno"><a class="line" href="classABLMost.html#a39402ac3794b9a218289cd0d4adec670"> 512</a></span>  amrex::Real <a class="code" href="classABLMost.html#a39402ac3794b9a218289cd0d4adec670">surf_heating_rate</a>{0};</div>
<div class="line"><a name="l00513"></a><span class="lineno"><a class="line" href="classABLMost.html#a98390481d302c2a2c7346bf2328305a8"> 513</a></span>  amrex::Real <a class="code" href="classABLMost.html#a98390481d302c2a2c7346bf2328305a8">surf_temp_flux</a>{0};</div>
<div class="line"><a name="l00514"></a><span class="lineno"><a class="line" href="classABLMost.html#a1bce26c6253a6191424e7b753cd24cfa"> 514</a></span>  amrex::Real <a class="code" href="classABLMost.html#a1bce26c6253a6191424e7b753cd24cfa">custom_ustar</a>{0};</div>
<div class="line"><a name="l00515"></a><span class="lineno"><a class="line" href="classABLMost.html#afbd0b1a37d9e9d716d82910db203e82f"> 515</a></span>  amrex::Real <a class="code" href="classABLMost.html#afbd0b1a37d9e9d716d82910db203e82f">custom_tstar</a>{0};</div>
<div class="line"><a name="l00516"></a><span class="lineno"><a class="line" href="classABLMost.html#a31707b89fbbbdeb445ba35ed240046c3"> 516</a></span>  amrex::Real <a class="code" href="classABLMost.html#a31707b89fbbbdeb445ba35ed240046c3">custom_qstar</a>{0};</div>
<div class="line"><a name="l00517"></a><span class="lineno"><a class="line" href="classABLMost.html#a75310e9079ee238a932900feaad85ac5"> 517</a></span>  amrex::Real <a class="code" href="classABLMost.html#a75310e9079ee238a932900feaad85ac5">cnk_a</a>{0.0185};</div>
<div class="line"><a name="l00518"></a><span class="lineno"><a class="line" href="classABLMost.html#a4f97d1d8c347710155ead2c1310338a0"> 518</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classABLMost.html#a4f97d1d8c347710155ead2c1310338a0">cnk_visc</a>{<span class="keyword">false</span>};</div>
<div class="line"><a name="l00519"></a><span class="lineno"><a class="line" href="classABLMost.html#a38ed37dd984fcc7be3b5ae04b7272459"> 519</a></span>  amrex::Real <a class="code" href="classABLMost.html#a38ed37dd984fcc7be3b5ae04b7272459">depth</a>{30.0};</div>
<div class="line"><a name="l00520"></a><span class="lineno"><a class="line" href="classABLMost.html#a4fb97b28e44e9ff6930f18083923343a"> 520</a></span>  amrex::Real <a class="code" href="classABLMost.html#a4fb97b28e44e9ff6930f18083923343a">m_start_bdy_time</a>;</div>
<div class="line"><a name="l00521"></a><span class="lineno"><a class="line" href="classABLMost.html#a049bc06685178431599f3bfaa57d63bd"> 521</a></span>  amrex::Real <a class="code" href="classABLMost.html#a049bc06685178431599f3bfaa57d63bd">m_bdy_time_interval</a>;</div>
<div class="line"><a name="l00522"></a><span class="lineno"><a class="line" href="classABLMost.html#a1795a510d08fbd88e6599e014f97b6c5"> 522</a></span>  amrex::Vector<amrex::Geometry> <a class="code" href="classABLMost.html#a1795a510d08fbd88e6599e014f97b6c5">m_geom</a>;</div>
<div class="line"><a name="l00523"></a><span class="lineno"><a class="line" href="classABLMost.html#a1301dd4cb6875c7bdf5d69126b972f91"> 523</a></span>  amrex::Vector<amrex::FArrayBox> <a class="code" href="classABLMost.html#a1301dd4cb6875c7bdf5d69126b972f91">z_0</a>;</div>
<div class="line"><a name="l00524"></a><span class="lineno"><a class="line" href="classABLMost.html#ab1da46aefd129763fb25f5a6839e48dd"> 524</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classABLMost.html#ab1da46aefd129763fb25f5a6839e48dd">m_var_z0</a>{<span class="keyword">false</span>};</div>
<div class="line"><a name="l00525"></a><span class="lineno"> 525</span>  </div>
<div class="line"><a name="l00526"></a><span class="lineno"><a class="line" href="classABLMost.html#a466bfcda8ae4337d9c8781ab28e3f6fe"> 526</a></span>  <a class="code" href="classMOSTAverage.html">MOSTAverage</a> <a class="code" href="classABLMost.html#a466bfcda8ae4337d9c8781ab28e3f6fe">m_ma</a>;</div>
<div class="line"><a name="l00527"></a><span class="lineno"><a class="line" href="classABLMost.html#acd5510d2f47502a57107f12c66f8a552"> 527</a></span>  amrex::Vector<std::unique_ptr<amrex::MultiFab>> <a class="code" href="classABLMost.html#acd5510d2f47502a57107f12c66f8a552">u_star</a>;</div>
<div class="line"><a name="l00528"></a><span class="lineno"><a class="line" href="classABLMost.html#a11a418842597c03a5782fc53ec0a1fb1"> 528</a></span>  amrex::Vector<std::unique_ptr<amrex::MultiFab>> <a class="code" href="classABLMost.html#a11a418842597c03a5782fc53ec0a1fb1">w_star</a>;</div>
<div class="line"><a name="l00529"></a><span class="lineno"><a class="line" href="classABLMost.html#ac9d90016f196c3861d225132e8b6a921"> 529</a></span>  amrex::Vector<std::unique_ptr<amrex::MultiFab>> <a class="code" href="classABLMost.html#ac9d90016f196c3861d225132e8b6a921">t_star</a>;</div>
<div class="line"><a name="l00530"></a><span class="lineno"><a class="line" href="classABLMost.html#a0630def935d5ca0d24160b9b9567f3e1"> 530</a></span>  amrex::Vector<std::unique_ptr<amrex::MultiFab>> <a class="code" href="classABLMost.html#a0630def935d5ca0d24160b9b9567f3e1">q_star</a>;</div>
<div class="line"><a name="l00531"></a><span class="lineno"><a class="line" href="classABLMost.html#a0d6aa5a113a45ae1e56c0284241cfd01"> 531</a></span>  amrex::Vector<std::unique_ptr<amrex::MultiFab>> <a class="code" href="classABLMost.html#a0d6aa5a113a45ae1e56c0284241cfd01">olen</a>;</div>
<div class="line"><a name="l00532"></a><span class="lineno"><a class="line" href="classABLMost.html#a5ab8e9f3fdf7debf1c54bd0d8a1554db"> 532</a></span>  amrex::Vector<std::unique_ptr<amrex::MultiFab>> <a class="code" href="classABLMost.html#a5ab8e9f3fdf7debf1c54bd0d8a1554db">pblh</a>;</div>
<div class="line"><a name="l00533"></a><span class="lineno"><a class="line" href="classABLMost.html#a1f488836fca7c3da2bed67c63a94951b"> 533</a></span>  amrex::Vector<std::unique_ptr<amrex::MultiFab>> <a class="code" href="classABLMost.html#a1f488836fca7c3da2bed67c63a94951b">t_surf</a>;</div>
<div class="line"><a name="l00534"></a><span class="lineno"> 534</span>  </div>
<div class="line"><a name="l00535"></a><span class="lineno"><a class="line" href="classABLMost.html#ad8f1957bba407e17edb0a84ace515cde"> 535</a></span>  amrex::Vector<amrex::Vector<amrex::MultiFab*>> <a class="code" href="classABLMost.html#ad8f1957bba407e17edb0a84ace515cde">m_sst_lev</a>;</div>
<div class="line"><a name="l00536"></a><span class="lineno"><a class="line" href="classABLMost.html#aaa5bbc610662825ddd8a184b43f3541b"> 536</a></span>  amrex::Vector<amrex::Vector<amrex::iMultiFab*>> <a class="code" href="classABLMost.html#aaa5bbc610662825ddd8a184b43f3541b">m_lmask_lev</a>;</div>
<div class="line"><a name="l00537"></a><span class="lineno"><a class="line" href="classABLMost.html#a958aaaf9e040462197c88c6c77f2aaf6"> 537</a></span>  amrex::Vector<amrex::Vector<amrex::MultiFab*>> <a class="code" href="classABLMost.html#a958aaaf9e040462197c88c6c77f2aaf6">m_lsm_data_lev</a>;</div>
<div class="line"><a name="l00538"></a><span class="lineno"><a class="line" href="classABLMost.html#a422336bc908d29f98dafb3b745b4f060"> 538</a></span>  amrex::Vector<amrex::Vector<amrex::MultiFab*>> <a class="code" href="classABLMost.html#a422336bc908d29f98dafb3b745b4f060">m_lsm_flux_lev</a>;</div>
<div class="line"><a name="l00539"></a><span class="lineno"><a class="line" href="classABLMost.html#a644ccdc438574061ec7ae75cdc714ec6"> 539</a></span>  amrex::Vector<amrex::MultiFab*> <a class="code" href="classABLMost.html#a644ccdc438574061ec7ae75cdc714ec6">m_Hwave_lev</a>;</div>
<div class="line"><a name="l00540"></a><span class="lineno"><a class="line" href="classABLMost.html#ab12af4a41dbc189d69850a81447434f7"> 540</a></span>  amrex::Vector<amrex::MultiFab*> <a class="code" href="classABLMost.html#ab12af4a41dbc189d69850a81447434f7">m_Lwave_lev</a>;</div>
<div class="line"><a name="l00541"></a><span class="lineno"><a class="line" href="classABLMost.html#a05cc96f74b89c4e277fe3db4ea01d3fa"> 541</a></span>  amrex::Vector<amrex::MultiFab*> <a class="code" href="classABLMost.html#a05cc96f74b89c4e277fe3db4ea01d3fa">m_eddyDiffs_lev</a>;</div>
<div class="line"><a name="l00542"></a><span class="lineno"> 542</span> };</div>
<div class="line"><a name="l00543"></a><span class="lineno"> 543</span>  </div>
<div class="line"><a name="l00544"></a><span class="lineno"> 544</span> <span class="preprocessor">#endif </span><span class="comment">/* ABLMOST_H */</span><span class="preprocessor"></span></div>
<div class="ttc" id="aERF__Constants_8H_html"><div class="ttname"><a href="ERF__Constants_8H.html">ERF_Constants.H</a></div></div>
<div class="ttc" id="aERF__IndexDefines_8H_html"><div class="ttname"><a href="ERF__IndexDefines_8H.html">ERF_IndexDefines.H</a></div></div>
<div class="ttc" id="aERF__MOSTAverage_8H_html"><div class="ttname"><a href="ERF__MOSTAverage_8H.html">ERF_MOSTAverage.H</a></div></div>
<div class="ttc" id="aERF__MOSTStress_8H_html"><div class="ttname"><a href="ERF__MOSTStress_8H.html">ERF_MOSTStress.H</a></div></div>
<div class="ttc" id="aERF__MicrophysicsUtils_8H_html_ac54f1d17d8842acb42b2312cd353e469"><div class="ttname"><a href="ERF__MicrophysicsUtils_8H.html#ac54f1d17d8842acb42b2312cd353e469">pp</a></div><div class="ttdeci">AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real pp(amrex::Real y)</div><div class="ttdef"><b>Definition:</b> ERF_MicrophysicsUtils.H:219</div></div>
<div class="ttc" id="aERF__PBLHeight_8H_html"><div class="ttname"><a href="ERF__PBLHeight_8H.html">ERF_PBLHeight.H</a></div></div>
<div class="ttc" id="aERF__TerrainMetrics_8H_html"><div class="ttname"><a href="ERF__TerrainMetrics_8H.html">ERF_TerrainMetrics.H</a></div></div>
<div class="ttc" id="aclassABLMost_html"><div class="ttname"><a href="classABLMost.html">ABLMost</a></div><div class="ttdef"><b>Definition:</b> ERF_ABLMost.H:30</div></div>
<div class="ttc" id="aclassABLMost_html_a049bc06685178431599f3bfaa57d63bd"><div class="ttname"><a href="classABLMost.html#a049bc06685178431599f3bfaa57d63bd">ABLMost::m_bdy_time_interval</a></div><div class="ttdeci">amrex::Real m_bdy_time_interval</div><div class="ttdef"><b>Definition:</b> ERF_ABLMost.H:521</div></div>
<div class="ttc" id="aclassABLMost_html_a05cc96f74b89c4e277fe3db4ea01d3fa"><div class="ttname"><a href="classABLMost.html#a05cc96f74b89c4e277fe3db4ea01d3fa">ABLMost::m_eddyDiffs_lev</a></div><div class="ttdeci">amrex::Vector< amrex::MultiFab * > m_eddyDiffs_lev</div><div class="ttdef"><b>Definition:</b> ERF_ABLMost.H:541</div></div>
<div class="ttc" id="aclassABLMost_html_a0630def935d5ca0d24160b9b9567f3e1"><div class="ttname"><a href="classABLMost.html#a0630def935d5ca0d24160b9b9567f3e1">ABLMost::q_star</a></div><div class="ttdeci">amrex::Vector< std::unique_ptr< amrex::MultiFab > > q_star</div><div class="ttdef"><b>Definition:</b> ERF_ABLMost.H:530</div></div>
<div class="ttc" id="aclassABLMost_html_a0890b6ae8c80d8888effa040af808df0"><div class="ttname"><a href="classABLMost.html#a0890b6ae8c80d8888effa040af808df0">ABLMost::get_u_star</a></div><div class="ttdeci">const amrex::MultiFab * get_u_star(const int &lev)</div><div class="ttdef"><b>Definition:</b> ERF_ABLMost.H:420</div></div>
<div class="ttc" id="aclassABLMost_html_a0d6aa5a113a45ae1e56c0284241cfd01"><div class="ttname"><a href="classABLMost.html#a0d6aa5a113a45ae1e56c0284241cfd01">ABLMost::olen</a></div><div class="ttdeci">amrex::Vector< std::unique_ptr< amrex::MultiFab > > olen</div><div class="ttdef"><b>Definition:</b> ERF_ABLMost.H:531</div></div>
<div class="ttc" id="aclassABLMost_html_a108ee0811499e80c9d3226bb20da6973"><div class="ttname"><a href="classABLMost.html#a108ee0811499e80c9d3226bb20da6973">ABLMost::get_t_star</a></div><div class="ttdeci">const amrex::MultiFab * get_t_star(const int &lev)</div><div class="ttdef"><b>Definition:</b> ERF_ABLMost.H:426</div></div>
<div class="ttc" id="aclassABLMost_html_a11a418842597c03a5782fc53ec0a1fb1"><div class="ttname"><a href="classABLMost.html#a11a418842597c03a5782fc53ec0a1fb1">ABLMost::w_star</a></div><div class="ttdeci">amrex::Vector< std::unique_ptr< amrex::MultiFab > > w_star</div><div class="ttdef"><b>Definition:</b> ERF_ABLMost.H:528</div></div>
<div class="ttc" id="aclassABLMost_html_a1301dd4cb6875c7bdf5d69126b972f91"><div class="ttname"><a href="classABLMost.html#a1301dd4cb6875c7bdf5d69126b972f91">ABLMost::z_0</a></div><div class="ttdeci">amrex::Vector< amrex::FArrayBox > z_0</div><div class="ttdef"><b>Definition:</b> ERF_ABLMost.H:523</div></div>
<div class="ttc" id="aclassABLMost_html_a1795a510d08fbd88e6599e014f97b6c5"><div class="ttname"><a href="classABLMost.html#a1795a510d08fbd88e6599e014f97b6c5">ABLMost::m_geom</a></div><div class="ttdeci">amrex::Vector< amrex::Geometry > m_geom</div><div class="ttdef"><b>Definition:</b> ERF_ABLMost.H:522</div></div>
<div class="ttc" id="aclassABLMost_html_a1bce26c6253a6191424e7b753cd24cfa"><div class="ttname"><a href="classABLMost.html#a1bce26c6253a6191424e7b753cd24cfa">ABLMost::custom_ustar</a></div><div class="ttdeci">amrex::Real custom_ustar</div><div class="ttdef"><b>Definition:</b> ERF_ABLMost.H:514</div></div>
<div class="ttc" id="aclassABLMost_html_a1f488836fca7c3da2bed67c63a94951b"><div class="ttname"><a href="classABLMost.html#a1f488836fca7c3da2bed67c63a94951b">ABLMost::t_surf</a></div><div class="ttdeci">amrex::Vector< std::unique_ptr< amrex::MultiFab > > t_surf</div><div class="ttdef"><b>Definition:</b> ERF_ABLMost.H:533</div></div>
<div class="ttc" id="aclassABLMost_html_a31707b89fbbbdeb445ba35ed240046c3"><div class="ttname"><a href="classABLMost.html#a31707b89fbbbdeb445ba35ed240046c3">ABLMost::custom_qstar</a></div><div class="ttdeci">amrex::Real custom_qstar</div><div class="ttdef"><b>Definition:</b> ERF_ABLMost.H:516</div></div>
<div class="ttc" id="aclassABLMost_html_a38ed37dd984fcc7be3b5ae04b7272459"><div class="ttname"><a href="classABLMost.html#a38ed37dd984fcc7be3b5ae04b7272459">ABLMost::depth</a></div><div class="ttdeci">amrex::Real depth</div><div class="ttdef"><b>Definition:</b> ERF_ABLMost.H:519</div></div>
<div class="ttc" id="aclassABLMost_html_a39402ac3794b9a218289cd0d4adec670"><div class="ttname"><a href="classABLMost.html#a39402ac3794b9a218289cd0d4adec670">ABLMost::surf_heating_rate</a></div><div class="ttdeci">amrex::Real surf_heating_rate</div><div class="ttdef"><b>Definition:</b> ERF_ABLMost.H:512</div></div>
<div class="ttc" id="aclassABLMost_html_a3a6533896d60b678bc447fa7fffcf8af"><div class="ttname"><a href="classABLMost.html#a3a6533896d60b678bc447fa7fffcf8af">ABLMost::compute_pblh</a></div><div class="ttdeci">void compute_pblh(const int &lev, amrex::Vector< amrex::Vector< amrex::MultiFab >> &vars, amrex::MultiFab *z_phys_cc, const PBLHeightEstimator &est, const int RhoQv_comp, const int RhoQc_comp, const int RhoQr_comp)</div></div>
<div class="ttc" id="aclassABLMost_html_a422336bc908d29f98dafb3b745b4f060"><div class="ttname"><a href="classABLMost.html#a422336bc908d29f98dafb3b745b4f060">ABLMost::m_lsm_flux_lev</a></div><div class="ttdeci">amrex::Vector< amrex::Vector< amrex::MultiFab * > > m_lsm_flux_lev</div><div class="ttdef"><b>Definition:</b> ERF_ABLMost.H:538</div></div>
<div class="ttc" id="aclassABLMost_html_a466bfcda8ae4337d9c8781ab28e3f6fe"><div class="ttname"><a href="classABLMost.html#a466bfcda8ae4337d9c8781ab28e3f6fe">ABLMost::m_ma</a></div><div class="ttdeci">MOSTAverage m_ma</div><div class="ttdef"><b>Definition:</b> ERF_ABLMost.H:526</div></div>
<div class="ttc" id="aclassABLMost_html_a46fbd9260d2adfa7c18edad6452f9bab"><div class="ttname"><a href="classABLMost.html#a46fbd9260d2adfa7c18edad6452f9bab">ABLMost::ThetaCalcType</a></div><div class="ttdeci">ThetaCalcType</div><div class="ttdef"><b>Definition:</b> ERF_ABLMost.H:481</div></div>
<div class="ttc" id="aclassABLMost_html_a46fbd9260d2adfa7c18edad6452f9baba10548012f42e962e7945ce998b571c5c"><div class="ttname"><a href="classABLMost.html#a46fbd9260d2adfa7c18edad6452f9baba10548012f42e962e7945ce998b571c5c">ABLMost::ThetaCalcType::ADIABATIC</a></div><div class="ttdeci">@ ADIABATIC</div></div>
<div class="ttc" id="aclassABLMost_html_a46fbd9260d2adfa7c18edad6452f9baba317cef85d14b4909f1d76becb00dc0f1"><div class="ttname"><a href="classABLMost.html#a46fbd9260d2adfa7c18edad6452f9baba317cef85d14b4909f1d76becb00dc0f1">ABLMost::ThetaCalcType::SURFACE_TEMPERATURE</a></div><div class="ttdeci">@ SURFACE_TEMPERATURE</div><div class="ttdoc">Surface temperature specified.</div></div>
<div class="ttc" id="aclassABLMost_html_a46fbd9260d2adfa7c18edad6452f9babac03b743c56d9316fbd3d327453b22226"><div class="ttname"><a href="classABLMost.html#a46fbd9260d2adfa7c18edad6452f9babac03b743c56d9316fbd3d327453b22226">ABLMost::ThetaCalcType::HEAT_FLUX</a></div><div class="ttdeci">@ HEAT_FLUX</div><div class="ttdoc">Heat-flux specified.</div></div>
<div class="ttc" id="aclassABLMost_html_a48a21c911803192130c2472c89b72c72"><div class="ttname"><a href="classABLMost.html#a48a21c911803192130c2472c89b72c72">ABLMost::get_lmask</a></div><div class="ttdeci">const amrex::iMultiFab * get_lmask(const int &lev)</div><div class="ttdef"><b>Definition:</b> ERF_ABLMost.H:452</div></div>
<div class="ttc" id="aclassABLMost_html_a4a8ee389a82fe46164ffed9417500a98"><div class="ttname"><a href="classABLMost.html#a4a8ee389a82fe46164ffed9417500a98">ABLMost::lmask_min_reduce</a></div><div class="ttdeci">int lmask_min_reduce(amrex::iMultiFab &lmask, const int &nghost)</div><div class="ttdef"><b>Definition:</b> ERF_ABLMost.H:455</div></div>
<div class="ttc" id="aclassABLMost_html_a4c4d9a950ce5f1115f701100795ac405"><div class="ttname"><a href="classABLMost.html#a4c4d9a950ce5f1115f701100795ac405">ABLMost::have_variable_sea_roughness</a></div><div class="ttdeci">bool have_variable_sea_roughness()</div><div class="ttdef"><b>Definition:</b> ERF_ABLMost.H:449</div></div>
<div class="ttc" id="aclassABLMost_html_a4f97d1d8c347710155ead2c1310338a0"><div class="ttname"><a href="classABLMost.html#a4f97d1d8c347710155ead2c1310338a0">ABLMost::cnk_visc</a></div><div class="ttdeci">bool cnk_visc</div><div class="ttdef"><b>Definition:</b> ERF_ABLMost.H:518</div></div>
<div class="ttc" id="aclassABLMost_html_a4fb97b28e44e9ff6930f18083923343a"><div class="ttname"><a href="classABLMost.html#a4fb97b28e44e9ff6930f18083923343a">ABLMost::m_start_bdy_time</a></div><div class="ttdeci">amrex::Real m_start_bdy_time</div><div class="ttdef"><b>Definition:</b> ERF_ABLMost.H:520</div></div>
<div class="ttc" id="aclassABLMost_html_a5468d40c9751664279c940369c8040dd"><div class="ttname"><a href="classABLMost.html#a5468d40c9751664279c940369c8040dd">ABLMost::get_q_star</a></div><div class="ttdeci">const amrex::MultiFab * get_q_star(const int &lev)</div><div class="ttdef"><b>Definition:</b> ERF_ABLMost.H:429</div></div>
<div class="ttc" id="aclassABLMost_html_a5ab8e9f3fdf7debf1c54bd0d8a1554db"><div class="ttname"><a href="classABLMost.html#a5ab8e9f3fdf7debf1c54bd0d8a1554db">ABLMost::pblh</a></div><div class="ttdeci">amrex::Vector< std::unique_ptr< amrex::MultiFab > > pblh</div><div class="ttdef"><b>Definition:</b> ERF_ABLMost.H:532</div></div>
<div class="ttc" id="aclassABLMost_html_a5fcdd773bc7314a2655bf3ce0e7536fe"><div class="ttname"><a href="classABLMost.html#a5fcdd773bc7314a2655bf3ce0e7536fe">ABLMost::update_mac_ptrs</a></div><div class="ttdeci">void update_mac_ptrs(const int &lev, amrex::Vector< amrex::Vector< amrex::MultiFab >> &vars_old, amrex::Vector< std::unique_ptr< amrex::MultiFab >> &Theta_prim, amrex::Vector< std::unique_ptr< amrex::MultiFab >> &Qv_prim, amrex::Vector< std::unique_ptr< amrex::MultiFab >> &Qr_prim)</div><div class="ttdef"><b>Definition:</b> ERF_ABLMost.H:412</div></div>
<div class="ttc" id="aclassABLMost_html_a626a97f944cb297c966a2ff7ce0bad97"><div class="ttname"><a href="classABLMost.html#a626a97f944cb297c966a2ff7ce0bad97">ABLMost::get_z0</a></div><div class="ttdeci">const amrex::FArrayBox * get_z0(const int &lev)</div><div class="ttdef"><b>Definition:</b> ERF_ABLMost.H:447</div></div>
<div class="ttc" id="aclassABLMost_html_a644ccdc438574061ec7ae75cdc714ec6"><div class="ttname"><a href="classABLMost.html#a644ccdc438574061ec7ae75cdc714ec6">ABLMost::m_Hwave_lev</a></div><div class="ttdeci">amrex::Vector< amrex::MultiFab * > m_Hwave_lev</div><div class="ttdef"><b>Definition:</b> ERF_ABLMost.H:539</div></div>
<div class="ttc" id="aclassABLMost_html_a659a78a3d5c58ec4dff9ea0933413474"><div class="ttname"><a href="classABLMost.html#a659a78a3d5c58ec4dff9ea0933413474">ABLMost::read_custom_roughness</a></div><div class="ttdeci">void read_custom_roughness(const int &lev, const std::string &fname)</div><div class="ttdef"><b>Definition:</b> ERF_ABLMost.cpp:592</div></div>
<div class="ttc" id="aclassABLMost_html_a73621a1b429f2e910a29adac72b7c581"><div class="ttname"><a href="classABLMost.html#a73621a1b429f2e910a29adac72b7c581">ABLMost::surf_temp</a></div><div class="ttdeci">amrex::Real surf_temp</div><div class="ttdef"><b>Definition:</b> ERF_ABLMost.H:511</div></div>
<div class="ttc" id="aclassABLMost_html_a75310e9079ee238a932900feaad85ac5"><div class="ttname"><a href="classABLMost.html#a75310e9079ee238a932900feaad85ac5">ABLMost::cnk_a</a></div><div class="ttdeci">amrex::Real cnk_a</div><div class="ttdef"><b>Definition:</b> ERF_ABLMost.H:517</div></div>
<div class="ttc" id="aclassABLMost_html_a7d1394fa01c8c29b20dfb790c0f3ec6b"><div class="ttname"><a href="classABLMost.html#a7d1394fa01c8c29b20dfb790c0f3ec6b">ABLMost::theta_type</a></div><div class="ttdeci">ThetaCalcType theta_type</div><div class="ttdef"><b>Definition:</b> ERF_ABLMost.H:500</div></div>
<div class="ttc" id="aclassABLMost_html_a829339fc8e70a5dff8b7c85f3c2e4138"><div class="ttname"><a href="classABLMost.html#a829339fc8e70a5dff8b7c85f3c2e4138">ABLMost::compute_fluxes</a></div><div class="ttdeci">void compute_fluxes(const int &lev, const int &max_iters, const FluxIter &most_flux, bool is_land)</div><div class="ttdef"><b>Definition:</b> ERF_ABLMost.cpp:145</div></div>
<div class="ttc" id="aclassABLMost_html_a84782c98096a1cc4395071cde97469ed"><div class="ttname"><a href="classABLMost.html#a84782c98096a1cc4395071cde97469ed">ABLMost::pblh_type</a></div><div class="ttdeci">PBLHeightCalcType pblh_type</div><div class="ttdef"><b>Definition:</b> ERF_ABLMost.H:503</div></div>
<div class="ttc" id="aclassABLMost_html_a92e41ba7a650b4768aa6bc006b2241e0"><div class="ttname"><a href="classABLMost.html#a92e41ba7a650b4768aa6bc006b2241e0">ABLMost::FluxCalcType</a></div><div class="ttdeci">FluxCalcType</div><div class="ttdef"><b>Definition:</b> ERF_ABLMost.H:474</div></div>
<div class="ttc" id="aclassABLMost_html_a92e41ba7a650b4768aa6bc006b2241e0a0525d4394471c332f3c0a497584923d5"><div class="ttname"><a href="classABLMost.html#a92e41ba7a650b4768aa6bc006b2241e0a0525d4394471c332f3c0a497584923d5">ABLMost::FluxCalcType::MOENG</a></div><div class="ttdeci">@ MOENG</div><div class="ttdoc">Moeng functional form.</div></div>
<div class="ttc" id="aclassABLMost_html_a92e41ba7a650b4768aa6bc006b2241e0a72baef04098f035e8a320b03ad197818"><div class="ttname"><a href="classABLMost.html#a92e41ba7a650b4768aa6bc006b2241e0a72baef04098f035e8a320b03ad197818">ABLMost::FluxCalcType::CUSTOM</a></div><div class="ttdeci">@ CUSTOM</div><div class="ttdoc">Custom constant flux functional form.</div></div>
<div class="ttc" id="aclassABLMost_html_a92e41ba7a650b4768aa6bc006b2241e0a9faf4e337734315fde20af1922cc6f9d"><div class="ttname"><a href="classABLMost.html#a92e41ba7a650b4768aa6bc006b2241e0a9faf4e337734315fde20af1922cc6f9d">ABLMost::FluxCalcType::ROTATE</a></div><div class="ttdeci">@ ROTATE</div><div class="ttdoc">Terrain rotation flux functional form.</div></div>
<div class="ttc" id="aclassABLMost_html_a92e41ba7a650b4768aa6bc006b2241e0afbf950ece84b8c4c7ebcf6492db726f7"><div class="ttname"><a href="classABLMost.html#a92e41ba7a650b4768aa6bc006b2241e0afbf950ece84b8c4c7ebcf6492db726f7">ABLMost::FluxCalcType::DONELAN</a></div><div class="ttdeci">@ DONELAN</div><div class="ttdoc">Donelan functional form.</div></div>
<div class="ttc" id="aclassABLMost_html_a958aaaf9e040462197c88c6c77f2aaf6"><div class="ttname"><a href="classABLMost.html#a958aaaf9e040462197c88c6c77f2aaf6">ABLMost::m_lsm_data_lev</a></div><div class="ttdeci">amrex::Vector< amrex::Vector< amrex::MultiFab * > > m_lsm_data_lev</div><div class="ttdef"><b>Definition:</b> ERF_ABLMost.H:537</div></div>
<div class="ttc" id="aclassABLMost_html_a98390481d302c2a2c7346bf2328305a8"><div class="ttname"><a href="classABLMost.html#a98390481d302c2a2c7346bf2328305a8">ABLMost::surf_temp_flux</a></div><div class="ttdeci">amrex::Real surf_temp_flux</div><div class="ttdef"><b>Definition:</b> ERF_ABLMost.H:513</div></div>
<div class="ttc" id="aclassABLMost_html_a9cba175c3ff5be3dcdd14f97ed7c892e"><div class="ttname"><a href="classABLMost.html#a9cba175c3ff5be3dcdd14f97ed7c892e">ABLMost::update_pblh</a></div><div class="ttdeci">void update_pblh(const int &lev, amrex::Vector< amrex::Vector< amrex::MultiFab >> &vars, amrex::MultiFab *z_phys_cc, const int RhoQv_comp, const int RhoQc_comp, const int RhoQr_comp)</div><div class="ttdef"><b>Definition:</b> ERF_ABLMost.cpp:561</div></div>
<div class="ttc" id="aclassABLMost_html_a9ea0efa20ea7a0dfd12ccc8c13c7f5fd"><div class="ttname"><a href="classABLMost.html#a9ea0efa20ea7a0dfd12ccc8c13c7f5fd">ABLMost::get_w_star</a></div><div class="ttdeci">const amrex::MultiFab * get_w_star(const int &lev)</div><div class="ttdef"><b>Definition:</b> ERF_ABLMost.H:423</div></div>
<div class="ttc" id="aclassABLMost_html_aa6c480227398080885f5bd48466c71e0"><div class="ttname"><a href="classABLMost.html#aa6c480227398080885f5bd48466c71e0">ABLMost::impose_most_bcs</a></div><div class="ttdeci">void impose_most_bcs(const int &lev, const amrex::Vector< amrex::MultiFab * > &mfs, amrex::MultiFab *xxmom_flux, amrex::MultiFab *yymom_flux, amrex::MultiFab *zzmom_flux, amrex::MultiFab *xymom_flux, amrex::MultiFab *yxmom_flux, amrex::MultiFab *xzmom_flux, amrex::MultiFab *zxmom_flux, amrex::MultiFab *yzmom_flux, amrex::MultiFab *zymom_flux, amrex::MultiFab *xheat_flux, amrex::MultiFab *yheat_flux, amrex::MultiFab *zheat_flux, amrex::MultiFab *xqv_flux, amrex::MultiFab *yqv_flux, amrex::MultiFab *zqv_flux, amrex::MultiFab *z_phys)</div><div class="ttdef"><b>Definition:</b> ERF_ABLMost.cpp:211</div></div>
<div class="ttc" id="aclassABLMost_html_aaa5bbc610662825ddd8a184b43f3541b"><div class="ttname"><a href="classABLMost.html#aaa5bbc610662825ddd8a184b43f3541b">ABLMost::m_lmask_lev</a></div><div class="ttdeci">amrex::Vector< amrex::Vector< amrex::iMultiFab * > > m_lmask_lev</div><div class="ttdef"><b>Definition:</b> ERF_ABLMost.H:536</div></div>
<div class="ttc" id="aclassABLMost_html_aaac1902b108e37bf0508306cb171c6ad"><div class="ttname"><a href="classABLMost.html#aaac1902b108e37bf0508306cb171c6ad">ABLMost::get_pblh</a></div><div class="ttdeci">const amrex::MultiFab * get_pblh(const int &lev)</div><div class="ttdef"><b>Definition:</b> ERF_ABLMost.H:435</div></div>
<div class="ttc" id="aclassABLMost_html_aaeef06eb7d0ab7e3d100e583337121cc"><div class="ttname"><a href="classABLMost.html#aaeef06eb7d0ab7e3d100e583337121cc">ABLMost::time_interp_sst</a></div><div class="ttdeci">void time_interp_sst(const int &lev, const amrex::Real &time)</div><div class="ttdef"><b>Definition:</b> ERF_ABLMost.cpp:493</div></div>
<div class="ttc" id="aclassABLMost_html_ab052d62a07e8765a6de67264d05aff37"><div class="ttname"><a href="classABLMost.html#ab052d62a07e8765a6de67264d05aff37">ABLMost::rough_type_land</a></div><div class="ttdeci">RoughCalcType rough_type_land</div><div class="ttdef"><b>Definition:</b> ERF_ABLMost.H:501</div></div>
<div class="ttc" id="aclassABLMost_html_ab107efa0b6bdf80ee44d232919f6a7ad"><div class="ttname"><a href="classABLMost.html#ab107efa0b6bdf80ee44d232919f6a7ad">ABLMost::m_rotate</a></div><div class="ttdeci">bool m_rotate</div><div class="ttdef"><b>Definition:</b> ERF_ABLMost.H:508</div></div>
<div class="ttc" id="aclassABLMost_html_ab12af4a41dbc189d69850a81447434f7"><div class="ttname"><a href="classABLMost.html#ab12af4a41dbc189d69850a81447434f7">ABLMost::m_Lwave_lev</a></div><div class="ttdeci">amrex::Vector< amrex::MultiFab * > m_Lwave_lev</div><div class="ttdef"><b>Definition:</b> ERF_ABLMost.H:540</div></div>
<div class="ttc" id="aclassABLMost_html_ab1da46aefd129763fb25f5a6839e48dd"><div class="ttname"><a href="classABLMost.html#ab1da46aefd129763fb25f5a6839e48dd">ABLMost::m_var_z0</a></div><div class="ttdeci">bool m_var_z0</div><div class="ttdef"><b>Definition:</b> ERF_ABLMost.H:524</div></div>
<div class="ttc" id="aclassABLMost_html_ab5041b7c6a15b759a8f33dadd1a67e92"><div class="ttname"><a href="classABLMost.html#ab5041b7c6a15b759a8f33dadd1a67e92">ABLMost::rough_type_sea</a></div><div class="ttdeci">RoughCalcType rough_type_sea</div><div class="ttdef"><b>Definition:</b> ERF_ABLMost.H:502</div></div>
<div class="ttc" id="aclassABLMost_html_ab55a547b6b74a177128af6c6a107930c"><div class="ttname"><a href="classABLMost.html#ab55a547b6b74a177128af6c6a107930c">ABLMost::use_moisture</a></div><div class="ttdeci">bool use_moisture</div><div class="ttdef"><b>Definition:</b> ERF_ABLMost.H:506</div></div>
<div class="ttc" id="aclassABLMost_html_ac1b3a987e1f8518eec9552f6b747a4b1"><div class="ttname"><a href="classABLMost.html#ac1b3a987e1f8518eec9552f6b747a4b1">ABLMost::compute_most_bcs</a></div><div class="ttdeci">void compute_most_bcs(const int &lev, const amrex::Vector< amrex::MultiFab * > &mfs, amrex::MultiFab *xxmom_flux, amrex::MultiFab *yymom_flux, amrex::MultiFab *zzmom_flux, amrex::MultiFab *xymom_flux, amrex::MultiFab *yxmom_flux, amrex::MultiFab *xzmom_flux, amrex::MultiFab *zxmom_flux, amrex::MultiFab *yzmom_flux, amrex::MultiFab *zymom_flux, amrex::MultiFab *xheat_flux, amrex::MultiFab *yheat_flux, amrex::MultiFab *zheat_flux, amrex::MultiFab *xqv_flux, amrex::MultiFab *yqv_flux, amrex::MultiFab *zqv_flux, amrex::MultiFab *z_phys, const FluxCalc &flux_comp)</div></div>
<div class="ttc" id="aclassABLMost_html_ac2e247ec9fd06cd15c788b83bf2c9ba6"><div class="ttname"><a href="classABLMost.html#ac2e247ec9fd06cd15c788b83bf2c9ba6">ABLMost::m_include_wstar</a></div><div class="ttdeci">bool m_include_wstar</div><div class="ttdef"><b>Definition:</b> ERF_ABLMost.H:509</div></div>
<div class="ttc" id="aclassABLMost_html_ac3de35be0d6cf3841e9a868830fc42c5"><div class="ttname"><a href="classABLMost.html#ac3de35be0d6cf3841e9a868830fc42c5">ABLMost::m_exp_most</a></div><div class="ttdeci">bool m_exp_most</div><div class="ttdef"><b>Definition:</b> ERF_ABLMost.H:507</div></div>
<div class="ttc" id="aclassABLMost_html_ac6260dfbdf304cd8b8284c544a20dbb4"><div class="ttname"><a href="classABLMost.html#ac6260dfbdf304cd8b8284c544a20dbb4">ABLMost::ABLMost</a></div><div class="ttdeci">ABLMost(const amrex::Vector< amrex::Geometry > &geom, bool &use_exp_most, bool &use_rot_most, amrex::Vector< amrex::Vector< amrex::MultiFab >> &vars_old, amrex::Vector< std::unique_ptr< amrex::MultiFab >> &Theta_prim, amrex::Vector< std::unique_ptr< amrex::MultiFab >> &Qv_prim, amrex::Vector< std::unique_ptr< amrex::MultiFab >> &Qr_prim, amrex::Vector< std::unique_ptr< amrex::MultiFab >> &z_phys_nd, amrex::Vector< amrex::Vector< std::unique_ptr< amrex::MultiFab >>> &sst_lev, amrex::Vector< amrex::Vector< std::unique_ptr< amrex::iMultiFab >>> &lmask_lev, amrex::Vector< amrex::Vector< amrex::MultiFab * >> lsm_data, amrex::Vector< amrex::Vector< amrex::MultiFab * >> lsm_flux, amrex::Vector< std::unique_ptr< amrex::MultiFab >> &Hwave, amrex::Vector< std::unique_ptr< amrex::MultiFab >> &Lwave, amrex::Vector< std::unique_ptr< amrex::MultiFab >> &eddyDiffs, amrex::Real start_bdy_time=0.0, amrex::Real bdy_time_interval=0.0)</div><div class="ttdef"><b>Definition:</b> ERF_ABLMost.H:35</div></div>
<div class="ttc" id="aclassABLMost_html_ac9d90016f196c3861d225132e8b6a921"><div class="ttname"><a href="classABLMost.html#ac9d90016f196c3861d225132e8b6a921">ABLMost::t_star</a></div><div class="ttdeci">amrex::Vector< std::unique_ptr< amrex::MultiFab > > t_star</div><div class="ttdef"><b>Definition:</b> ERF_ABLMost.H:529</div></div>
<div class="ttc" id="aclassABLMost_html_aca21d4f7aae064515bfec992b263d6d2"><div class="ttname"><a href="classABLMost.html#aca21d4f7aae064515bfec992b263d6d2">ABLMost::get_t_surf</a></div><div class="ttdeci">const amrex::MultiFab * get_t_surf(const int &lev)</div><div class="ttdef"><b>Definition:</b> ERF_ABLMost.H:441</div></div>
<div class="ttc" id="aclassABLMost_html_acd5510d2f47502a57107f12c66f8a552"><div class="ttname"><a href="classABLMost.html#acd5510d2f47502a57107f12c66f8a552">ABLMost::u_star</a></div><div class="ttdeci">amrex::Vector< std::unique_ptr< amrex::MultiFab > > u_star</div><div class="ttdef"><b>Definition:</b> ERF_ABLMost.H:527</div></div>
<div class="ttc" id="aclassABLMost_html_acf73526a7a2b05be8d48c0af94742841"><div class="ttname"><a href="classABLMost.html#acf73526a7a2b05be8d48c0af94742841">ABLMost::PBLHeightCalcType</a></div><div class="ttdeci">PBLHeightCalcType</div><div class="ttdef"><b>Definition:</b> ERF_ABLMost.H:495</div></div>
<div class="ttc" id="aclassABLMost_html_acf73526a7a2b05be8d48c0af94742841a6adf97f83acf6453d4a6a4b1070f3754"><div class="ttname"><a href="classABLMost.html#acf73526a7a2b05be8d48c0af94742841a6adf97f83acf6453d4a6a4b1070f3754">ABLMost::PBLHeightCalcType::None</a></div><div class="ttdeci">@ None</div></div>
<div class="ttc" id="aclassABLMost_html_acf73526a7a2b05be8d48c0af94742841abdeb9a753db1d1f3fe0e944eab1d0601"><div class="ttname"><a href="classABLMost.html#acf73526a7a2b05be8d48c0af94742841abdeb9a753db1d1f3fe0e944eab1d0601">ABLMost::PBLHeightCalcType::MYNN25</a></div><div class="ttdeci">@ MYNN25</div></div>
<div class="ttc" id="aclassABLMost_html_acf73526a7a2b05be8d48c0af94742841ad032bccff1ff2e272cc68da5a0de09fe"><div class="ttname"><a href="classABLMost.html#acf73526a7a2b05be8d48c0af94742841ad032bccff1ff2e272cc68da5a0de09fe">ABLMost::PBLHeightCalcType::YSU</a></div><div class="ttdeci">@ YSU</div></div>
<div class="ttc" id="aclassABLMost_html_acfc9a08ed0d029602e2e8e99232d0149"><div class="ttname"><a href="classABLMost.html#acfc9a08ed0d029602e2e8e99232d0149">ABLMost::z0_const</a></div><div class="ttdeci">amrex::Real z0_const</div><div class="ttdef"><b>Definition:</b> ERF_ABLMost.H:510</div></div>
<div class="ttc" id="aclassABLMost_html_ad837d92390012682056ffac0b5f9a8f9"><div class="ttname"><a href="classABLMost.html#ad837d92390012682056ffac0b5f9a8f9">ABLMost::flux_type</a></div><div class="ttdeci">FluxCalcType flux_type</div><div class="ttdef"><b>Definition:</b> ERF_ABLMost.H:499</div></div>
<div class="ttc" id="aclassABLMost_html_ad878840b1c998160ba79c1e9714adc70"><div class="ttname"><a href="classABLMost.html#ad878840b1c998160ba79c1e9714adc70">ABLMost::update_surf_temp</a></div><div class="ttdeci">void update_surf_temp(const amrex::Real &time)</div><div class="ttdef"><b>Definition:</b> ERF_ABLMost.H:396</div></div>
<div class="ttc" id="aclassABLMost_html_ad8f1957bba407e17edb0a84ace515cde"><div class="ttname"><a href="classABLMost.html#ad8f1957bba407e17edb0a84ace515cde">ABLMost::m_sst_lev</a></div><div class="ttdeci">amrex::Vector< amrex::Vector< amrex::MultiFab * > > m_sst_lev</div><div class="ttdef"><b>Definition:</b> ERF_ABLMost.H:535</div></div>
<div class="ttc" id="aclassABLMost_html_ae28fd8a21f4b514875c24fe4b8e85081"><div class="ttname"><a href="classABLMost.html#ae28fd8a21f4b514875c24fe4b8e85081">ABLMost::get_lsm_tsurf</a></div><div class="ttdeci">void get_lsm_tsurf(const int &lev)</div><div class="ttdef"><b>Definition:</b> ERF_ABLMost.cpp:528</div></div>
<div class="ttc" id="aclassABLMost_html_ae638411093a2d3cc6cc525d4d7efa7ed"><div class="ttname"><a href="classABLMost.html#ae638411093a2d3cc6cc525d4d7efa7ed">ABLMost::get_zref</a></div><div class="ttdeci">amrex::Real get_zref()</div><div class="ttdef"><b>Definition:</b> ERF_ABLMost.H:444</div></div>
<div class="ttc" id="aclassABLMost_html_ae825f96c2d098b3e070642a74e6a3f13"><div class="ttname"><a href="classABLMost.html#ae825f96c2d098b3e070642a74e6a3f13">ABLMost::RoughCalcType</a></div><div class="ttdeci">RoughCalcType</div><div class="ttdef"><b>Definition:</b> ERF_ABLMost.H:487</div></div>
<div class="ttc" id="aclassABLMost_html_ae825f96c2d098b3e070642a74e6a3f13a266bf3048d67b1b3187c0189bc232fde"><div class="ttname"><a href="classABLMost.html#ae825f96c2d098b3e070642a74e6a3f13a266bf3048d67b1b3187c0189bc232fde">ABLMost::RoughCalcType::MODIFIED_CHARNOCK</a></div><div class="ttdeci">@ MODIFIED_CHARNOCK</div></div>
<div class="ttc" id="aclassABLMost_html_ae825f96c2d098b3e070642a74e6a3f13a3e1545d84d0cc7da6edf47adda8a80f9"><div class="ttname"><a href="classABLMost.html#ae825f96c2d098b3e070642a74e6a3f13a3e1545d84d0cc7da6edf47adda8a80f9">ABLMost::RoughCalcType::WAVE_COUPLED</a></div><div class="ttdeci">@ WAVE_COUPLED</div></div>
<div class="ttc" id="aclassABLMost_html_ae825f96c2d098b3e070642a74e6a3f13a8d6b5cada83510220f59e00ce86d4d92"><div class="ttname"><a href="classABLMost.html#ae825f96c2d098b3e070642a74e6a3f13a8d6b5cada83510220f59e00ce86d4d92">ABLMost::RoughCalcType::CONSTANT</a></div><div class="ttdeci">@ CONSTANT</div><div class="ttdoc">Constant z0.</div></div>
<div class="ttc" id="aclassABLMost_html_ae825f96c2d098b3e070642a74e6a3f13addbb8213265f3ad773f7af2cb8147062"><div class="ttname"><a href="classABLMost.html#ae825f96c2d098b3e070642a74e6a3f13addbb8213265f3ad773f7af2cb8147062">ABLMost::RoughCalcType::CHARNOCK</a></div><div class="ttdeci">@ CHARNOCK</div></div>
<div class="ttc" id="aclassABLMost_html_ae825f96c2d098b3e070642a74e6a3f13afbf950ece84b8c4c7ebcf6492db726f7"><div class="ttname"><a href="classABLMost.html#ae825f96c2d098b3e070642a74e6a3f13afbf950ece84b8c4c7ebcf6492db726f7">ABLMost::RoughCalcType::DONELAN</a></div><div class="ttdeci">@ DONELAN</div></div>
<div class="ttc" id="aclassABLMost_html_aef7480dbb43cafff3be93a95240c1ec3"><div class="ttname"><a href="classABLMost.html#aef7480dbb43cafff3be93a95240c1ec3">ABLMost::get_olen</a></div><div class="ttdeci">const amrex::MultiFab * get_olen(const int &lev)</div><div class="ttdef"><b>Definition:</b> ERF_ABLMost.H:432</div></div>
<div class="ttc" id="aclassABLMost_html_af26cdc6b8c162c14b2db32eb395f0565"><div class="ttname"><a href="classABLMost.html#af26cdc6b8c162c14b2db32eb395f0565">ABLMost::get_mac_avg</a></div><div class="ttdeci">const amrex::MultiFab * get_mac_avg(const int &lev, int comp)</div><div class="ttdef"><b>Definition:</b> ERF_ABLMost.H:438</div></div>
<div class="ttc" id="aclassABLMost_html_af82057d4fbaaf1d8347cf18c7efd7b53"><div class="ttname"><a href="classABLMost.html#af82057d4fbaaf1d8347cf18c7efd7b53">ABLMost::update_fluxes</a></div><div class="ttdeci">void update_fluxes(const int &lev, const amrex::Real &time, int max_iters=25)</div><div class="ttdef"><b>Definition:</b> ERF_ABLMost.cpp:12</div></div>
<div class="ttc" id="aclassABLMost_html_afbd0b1a37d9e9d716d82910db203e82f"><div class="ttname"><a href="classABLMost.html#afbd0b1a37d9e9d716d82910db203e82f">ABLMost::custom_tstar</a></div><div class="ttdeci">amrex::Real custom_tstar</div><div class="ttdef"><b>Definition:</b> ERF_ABLMost.H:515</div></div>
<div class="ttc" id="aclassMOSTAverage_html"><div class="ttname"><a href="classMOSTAverage.html">MOSTAverage</a></div><div class="ttdef"><b>Definition:</b> ERF_MOSTAverage.H:12</div></div>
<div class="ttc" id="aclassMOSTAverage_html_a1d1a06b1f807c7018950fe91ddc435bd"><div class="ttname"><a href="classMOSTAverage.html#a1d1a06b1f807c7018950fe91ddc435bd">MOSTAverage::update_field_ptrs</a></div><div class="ttdeci">void update_field_ptrs(int lev, amrex::Vector< amrex::Vector< amrex::MultiFab >> &vars_old, amrex::Vector< std::unique_ptr< amrex::MultiFab >> &Theta_prim, amrex::Vector< std::unique_ptr< amrex::MultiFab >> &Qv_prim, amrex::Vector< std::unique_ptr< amrex::MultiFab >> &Qr_prim)</div><div class="ttdef"><b>Definition:</b> ERF_MOSTAverage.cpp:228</div></div>
<div class="ttc" id="aclassMOSTAverage_html_a5b590fcba4d5d99178a0f8de14a1f174"><div class="ttname"><a href="classMOSTAverage.html#a5b590fcba4d5d99178a0f8de14a1f174">MOSTAverage::get_zref</a></div><div class="ttdeci">amrex::Real get_zref() const</div><div class="ttdef"><b>Definition:</b> ERF_MOSTAverage.H:95</div></div>
<div class="ttc" id="aclassMOSTAverage_html_aa52cd2c83e24eef47d6a409b7bcf4c81"><div class="ttname"><a href="classMOSTAverage.html#aa52cd2c83e24eef47d6a409b7bcf4c81">MOSTAverage::get_average</a></div><div class="ttdeci">const amrex::MultiFab * get_average(int lev, int comp) const</div><div class="ttdef"><b>Definition:</b> ERF_MOSTAverage.H:92</div></div>
<div class="ttc" id="anamespaceVars_html_a161eed9b529c2108b15a09099729c3b9a47abe072e12c61d29cde15a509a0664b"><div class="ttname"><a href="namespaceVars.html#a161eed9b529c2108b15a09099729c3b9a47abe072e12c61d29cde15a509a0664b">Vars::cons</a></div><div class="ttdeci">@ cons</div><div class="ttdef"><b>Definition:</b> ERF_IndexDefines.H:129</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_74389ed8173ad57b461b9d623a1f3867.html">Source</a></li><li class="navelem"><a class="el" href="dir_528efc400cc48bc5f175d9531879efeb.html">BoundaryConditions</a></li><li class="navelem"><a class="el" href="ERF__ABLMost_8H.html">ERF_ABLMost.H</a></li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
</ul>
</div>
</body>
</html>