-
Notifications
You must be signed in to change notification settings - Fork 0
/
BedThermalUnit_8cc_source.html
404 lines (402 loc) · 92.4 KB
/
BedThermalUnit_8cc_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
<!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>PISM, A Parallel Ice Sheet Model: src/energy/BedThermalUnit.cc 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="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>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
extensions: ["tex2jax.js"],
jax: ["input/TeX","output/HTML-CSS"],
});
</script>
<script type="text/javascript" async="async" src="https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="browser.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">PISM, A Parallel Ice Sheet Model
 <span id="projectnumber">stable v2.1-1-g6902d5502 committed by Ed Bueler on 2023-12-20 08:38:27 -0800</span>
</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>
<!-- 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 id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_6dbe3a74fddfb865e2d1b322bca63f2b.html">energy</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">BedThermalUnit.cc</div> </div>
</div><!--header-->
<div class="contents">
<a href="BedThermalUnit_8cc.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="comment">// Copyright (C) 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2023 Ed Bueler and Constantine Khroulev</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">//</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">// This file is part of PISM.</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">//</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">// PISM is free software; you can redistribute it and/or modify it under the</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment">// terms of the GNU General Public License as published by the Free Software</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">// Foundation; either version 3 of the License, or (at your option) any later</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment">// version.</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">//</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment">// PISM is distributed in the hope that it will be useful, but WITHOUT ANY</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment">// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment">// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment">// details.</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment">//</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment">// You should have received a copy of the GNU General Public License</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment">// along with PISM; if not, write to the Free Software</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment">// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  </div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#include <memory></span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  </div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#include "pism/energy/BedThermalUnit.hh"</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#include "pism/util/ConfigInterface.hh"</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include "pism/util/Grid.hh"</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include "pism/util/io/File.hh"</span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  </div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include "pism/energy/BTU_Full.hh"</span></div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include "pism/energy/BTU_Minimal.hh"</span></div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  </div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="keyword">namespace </span><a class="code" href="namespacepism.html">pism</a> {</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="keyword">namespace </span>energy {</div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  </div>
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="structpism_1_1energy_1_1BTUGrid_a4c3d764e2a054c54dd16c8d51002c480.html#a4c3d764e2a054c54dd16c8d51002c480"> 32</a></span> <a class="code" href="structpism_1_1energy_1_1BTUGrid_a4c3d764e2a054c54dd16c8d51002c480.html#a4c3d764e2a054c54dd16c8d51002c480">BTUGrid::BTUGrid</a>(std::shared_ptr<const Context> ctx) {</div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  <a class="code" href="structpism_1_1energy_1_1BTUGrid_a2639aee2143db451189cf24f7ce687b1.html#a2639aee2143db451189cf24f7ce687b1">Mbz</a> = (<span class="keywordtype">unsigned</span> int) ctx->config()->get_number(<span class="stringliteral">"grid.Mbz"</span>);</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  <a class="code" href="structpism_1_1energy_1_1BTUGrid_ae27f635528fdf2bfbf27b05c7878ffb2.html#ae27f635528fdf2bfbf27b05c7878ffb2">Lbz</a> = ctx->config()->get_number(<span class="stringliteral">"grid.Lbz"</span>);</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> }</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  </div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  </div>
<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="structpism_1_1energy_1_1BTUGrid_a13bfdb207f2bfab1bc41772bf2c588d7.html#a13bfdb207f2bfab1bc41772bf2c588d7"> 38</a></span> <a class="code" href="structpism_1_1energy_1_1BTUGrid.html">BTUGrid</a> <a class="code" href="structpism_1_1energy_1_1BTUGrid_a13bfdb207f2bfab1bc41772bf2c588d7.html#a13bfdb207f2bfab1bc41772bf2c588d7">BTUGrid::FromOptions</a>(std::shared_ptr<const Context> ctx) {</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <a class="code" href="structpism_1_1energy_1_1BTUGrid.html">BTUGrid</a> result(ctx);</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  </div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <a class="code" href="classpism_1_1Config_a4dc1634c0eac358eb86303633024f810.html#a4dc1634c0eac358eb86303633024f810">Config::ConstPtr</a> config = ctx->config();</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <a class="code" href="structpism_1_1InputOptions.html">InputOptions</a> opts = <a class="code" href="namespacepism_a44fca05de5c3d0cb82c4a2910666b6e2.html#a44fca05de5c3d0cb82c4a2910666b6e2">process_input_options</a>(ctx->com(), config);</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  </div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <span class="keywordflow">if</span> (opts.<a class="code" href="structpism_1_1InputOptions_a0fe5db51286e55c31b1575dc9ecc5d70.html#a0fe5db51286e55c31b1575dc9ecc5d70">type</a> == <a class="code" href="namespacepism_a56e80801555b7f36f4dd28941739654a.html#a56e80801555b7f36f4dd28941739654aa6aff4b43552f00d5cc331453ff4029bc">INIT_RESTART</a>) {</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <span class="comment">// If we're initializing from a file we need to get the number of bedrock</span></div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="comment">// levels and the depth of the bed thermal layer from it:</span></div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <a class="code" href="classpism_1_1File.html">File</a> input_file(ctx->com(), opts.<a class="code" href="structpism_1_1InputOptions_a2dc298f0e83b951fa1df5eab910639e5.html#a2dc298f0e83b951fa1df5eab910639e5">filename</a>, <a class="code" href="namespacepism_1_1io_a0caba8881b0d36c8cc1eccfa13c0e81f.html#a0caba8881b0d36c8cc1eccfa13c0e81fa6bde5f56cc5b2335b46d08f2ac2985be">io::PISM_NETCDF3</a>, <a class="code" href="namespacepism_1_1io_a12c1fd23e92335e2396baab0354b262f.html#a12c1fd23e92335e2396baab0354b262fabb5d91fa1da1214c24d193a75f11f0a2">io::PISM_READONLY</a>);</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  </div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <span class="keywordflow">if</span> (input_file.<a class="code" href="classpism_1_1File_a4ec169f0ab9d7858d09f07bffc978f2a.html#a4ec169f0ab9d7858d09f07bffc978f2a">find_variable</a>(<span class="stringliteral">"litho_temp"</span>)) {</div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <a class="code" href="classpism_1_1grid_1_1InputGridInfo.html">grid::InputGridInfo</a> info(input_file, <span class="stringliteral">"litho_temp"</span>, ctx->unit_system(),</div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <a class="code" href="namespacepism_1_1grid_a4de798cae6a9a0aacee8b2309b7a9db1.html#a4de798cae6a9a0aacee8b2309b7a9db1a1e3e0626398aaf53976610cb510ac34a">grid::CELL_CENTER</a>); <span class="comment">// grid registration is irrelevant</span></div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  </div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  result.<a class="code" href="structpism_1_1energy_1_1BTUGrid_a2639aee2143db451189cf24f7ce687b1.html#a2639aee2143db451189cf24f7ce687b1">Mbz</a> = info.<a class="code" href="classpism_1_1grid_1_1InputGridInfo_a85eec189ab85091dc7a95acac4b7c6c4.html#a85eec189ab85091dc7a95acac4b7c6c4">z</a>.size();</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  result.<a class="code" href="structpism_1_1energy_1_1BTUGrid_ae27f635528fdf2bfbf27b05c7878ffb2.html#ae27f635528fdf2bfbf27b05c7878ffb2">Lbz</a> = -info.<a class="code" href="classpism_1_1grid_1_1InputGridInfo_a1930bb13d037a179d78fc90b1b995975.html#a1930bb13d037a179d78fc90b1b995975">z_min</a>;</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <span class="comment">// override values we got using config.get_number() in the constructor</span></div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  result.<a class="code" href="structpism_1_1energy_1_1BTUGrid_a2639aee2143db451189cf24f7ce687b1.html#a2639aee2143db451189cf24f7ce687b1">Mbz</a> = 1;</div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  result.<a class="code" href="structpism_1_1energy_1_1BTUGrid_ae27f635528fdf2bfbf27b05c7878ffb2.html#ae27f635528fdf2bfbf27b05c7878ffb2">Lbz</a> = 0;</div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  }</div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  </div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  input_file.<a class="code" href="classpism_1_1File_a815bb8942d8eaa33f33a8b022c005693.html#a815bb8942d8eaa33f33a8b022c005693">close</a>();</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="comment">// Bootstrapping or initializing without an input file.</span></div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  result.<a class="code" href="structpism_1_1energy_1_1BTUGrid_a2639aee2143db451189cf24f7ce687b1.html#a2639aee2143db451189cf24f7ce687b1">Mbz</a> = config->get_number(<span class="stringliteral">"grid.Mbz"</span>);</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  result.<a class="code" href="structpism_1_1energy_1_1BTUGrid_ae27f635528fdf2bfbf27b05c7878ffb2.html#ae27f635528fdf2bfbf27b05c7878ffb2">Lbz</a> = config->get_number(<span class="stringliteral">"grid.Lbz"</span>);</div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  </div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <span class="keywordflow">if</span> (result.<a class="code" href="structpism_1_1energy_1_1BTUGrid_a2639aee2143db451189cf24f7ce687b1.html#a2639aee2143db451189cf24f7ce687b1">Mbz</a> == 1) {</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  result.<a class="code" href="structpism_1_1energy_1_1BTUGrid_ae27f635528fdf2bfbf27b05c7878ffb2.html#ae27f635528fdf2bfbf27b05c7878ffb2">Lbz</a> = 0;</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  result.<a class="code" href="structpism_1_1energy_1_1BTUGrid_a2639aee2143db451189cf24f7ce687b1.html#a2639aee2143db451189cf24f7ce687b1">Mbz</a> = 1;</div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  }</div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  }</div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  </div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <span class="keywordflow">return</span> result;</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span> }</div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span> <span class="comment"></span> </div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span> <span class="comment">/*! Allocate a complete or minimal bedrock thermal unit depending on the number of bedrock levels.</span></div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="classpism_1_1energy_1_1BedThermalUnit_a7dcc796be115ecbea0b3bf73c686b286.html#a7dcc796be115ecbea0b3bf73c686b286"> 79</a></span> std::shared_ptr<BedThermalUnit> <a class="code" href="classpism_1_1energy_1_1BedThermalUnit_a7dcc796be115ecbea0b3bf73c686b286.html#a7dcc796be115ecbea0b3bf73c686b286">BedThermalUnit::FromOptions</a>(std::shared_ptr<const Grid> grid,</div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  std::shared_ptr<const Context> ctx) {</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>  <span class="keyword">auto</span> bedrock_grid = <a class="code" href="structpism_1_1energy_1_1BTUGrid_a13bfdb207f2bfab1bc41772bf2c588d7.html#a13bfdb207f2bfab1bc41772bf2c588d7">BTUGrid::FromOptions</a>(ctx);</div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  </div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <span class="keywordflow">if</span> (bedrock_grid.Mbz > 1) {</div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <span class="keywordflow">return</span> std::make_shared<energy::BTU_Full>(<a class="code" href="classpism_1_1Component_a1d7fa2a58f259a9c5e464f8738db6ef0.html#a1d7fa2a58f259a9c5e464f8738db6ef0">grid</a>, bedrock_grid);</div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  }</div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  </div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <span class="keywordflow">return</span> std::make_shared<energy::BTU_Minimal>(<a class="code" href="classpism_1_1Component_a1d7fa2a58f259a9c5e464f8738db6ef0.html#a1d7fa2a58f259a9c5e464f8738db6ef0">grid</a>);</div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span> }</div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  </div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  </div>
<div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="classpism_1_1energy_1_1BedThermalUnit_a10155eafebd0a3ea9e376b500a41030d.html#a10155eafebd0a3ea9e376b500a41030d"> 92</a></span> <a class="code" href="classpism_1_1energy_1_1BedThermalUnit_a10155eafebd0a3ea9e376b500a41030d.html#a10155eafebd0a3ea9e376b500a41030d">BedThermalUnit::BedThermalUnit</a>(std::shared_ptr<const Grid> <a class="code" href="namespacepism_a47d754ed3e959d5866b02a1b78b6a5b5.html#a47d754ed3e959d5866b02a1b78b6a5b5">g</a>)</div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  : <a class="code" href="classpism_1_1Component.html">Component</a>(<a class="code" href="namespacepism_a47d754ed3e959d5866b02a1b78b6a5b5.html#a47d754ed3e959d5866b02a1b78b6a5b5">g</a>),</div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  m_bottom_surface_flux(m_grid, <span class="stringliteral">"bheatflx"</span>),</div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  m_top_surface_flux(m_grid, <span class="stringliteral">"heat_flux_from_bedrock"</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>  <a class="code" href="classpism_1_1energy_1_1BedThermalUnit_adfc811194c0ddcce465f80c9f7a5b4ef.html#adfc811194c0ddcce465f80c9f7a5b4ef">m_top_surface_flux</a>.<a class="code" href="classpism_1_1array_1_1Array_af9eece42153cd03bfc8ba237ae5310c4.html#af9eece42153cd03bfc8ba237ae5310c4">metadata</a>(0)</div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  .<a class="code" href="classpism_1_1VariableMetadata_a5e378cf7077ab00a808ef446a79dc34d.html#a5e378cf7077ab00a808ef446a79dc34d">long_name</a>(<span class="stringliteral">"upward geothermal flux at the top bedrock surface"</span>)</div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  .<a class="code" href="classpism_1_1VariableMetadata_ae73185be0693a8607b8e0f74558e11e4.html#ae73185be0693a8607b8e0f74558e11e4">units</a>(<span class="stringliteral">"W m-2"</span>)</div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  .<a class="code" href="classpism_1_1VariableMetadata_a60afc3261be90f44a5713a3f34bab2f7.html#a60afc3261be90f44a5713a3f34bab2f7">output_units</a>(<span class="stringliteral">"mW m-2"</span>)</div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  .<a class="code" href="classpism_1_1VariableMetadata_a2b7791d4794fd3deb3838e75b495ce33.html#a2b7791d4794fd3deb3838e75b495ce33">standard_name</a>(<span class="stringliteral">"upward_geothermal_heat_flux_at_ground_level_in_land_ice"</span>);</div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  <a class="code" href="classpism_1_1energy_1_1BedThermalUnit_adfc811194c0ddcce465f80c9f7a5b4ef.html#adfc811194c0ddcce465f80c9f7a5b4ef">m_top_surface_flux</a>.<a class="code" href="classpism_1_1array_1_1Array_af9eece42153cd03bfc8ba237ae5310c4.html#af9eece42153cd03bfc8ba237ae5310c4">metadata</a>()[<span class="stringliteral">"comment"</span>] = <span class="stringliteral">"positive values correspond to an upward flux"</span>;</div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  }</div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  {</div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <span class="comment">// PROPOSED standard_name = lithosphere_upward_heat_flux</span></div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <a class="code" href="classpism_1_1energy_1_1BedThermalUnit_a5c7563d7cfb2e6d1c0d8f2468a2a4ca8.html#a5c7563d7cfb2e6d1c0d8f2468a2a4ca8">m_bottom_surface_flux</a>.<a class="code" href="classpism_1_1array_1_1Array_af9eece42153cd03bfc8ba237ae5310c4.html#af9eece42153cd03bfc8ba237ae5310c4">metadata</a>(0)</div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  .<a class="code" href="classpism_1_1VariableMetadata_a5e378cf7077ab00a808ef446a79dc34d.html#a5e378cf7077ab00a808ef446a79dc34d">long_name</a>(<span class="stringliteral">"upward geothermal flux at the bottom bedrock surface"</span>)</div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  .<a class="code" href="classpism_1_1VariableMetadata_ae73185be0693a8607b8e0f74558e11e4.html#ae73185be0693a8607b8e0f74558e11e4">units</a>(<span class="stringliteral">"W m-2"</span>) <span class="comment">// note: don't convert to "mW m-2" when saving</span></div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  .<a class="code" href="classpism_1_1VariableMetadata_af62016818f22d6885d7b8523ddffc674.html#af62016818f22d6885d7b8523ddffc674">set_time_independent</a>(<span class="keyword">true</span>);</div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  </div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  <a class="code" href="classpism_1_1energy_1_1BedThermalUnit_a5c7563d7cfb2e6d1c0d8f2468a2a4ca8.html#a5c7563d7cfb2e6d1c0d8f2468a2a4ca8">m_bottom_surface_flux</a>.<a class="code" href="classpism_1_1array_1_1Array_af9eece42153cd03bfc8ba237ae5310c4.html#af9eece42153cd03bfc8ba237ae5310c4">metadata</a>()[<span class="stringliteral">"comment"</span>] = <span class="stringliteral">"positive values correspond to an upward flux"</span>;</div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  }</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>  </div>
<div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="classpism_1_1energy_1_1BedThermalUnit_a6a2dfb1142ba186aa5fac12a69efb0d6.html#a6a2dfb1142ba186aa5fac12a69efb0d6"> 116</a></span> <span class="keywordtype">void</span> <a class="code" href="classpism_1_1energy_1_1BedThermalUnit_a6a2dfb1142ba186aa5fac12a69efb0d6.html#a6a2dfb1142ba186aa5fac12a69efb0d6">BedThermalUnit::init</a>(<span class="keyword">const</span> <a class="code" href="structpism_1_1InputOptions.html">InputOptions</a> &opts) {</div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  this-><a class="code" href="classpism_1_1energy_1_1BedThermalUnit_a6443c4334e00de7c6e165030a4490d0a.html#a6443c4334e00de7c6e165030a4490d0a">init_impl</a>(opts);</div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span> }</div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span> <span class="comment"></span> </div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span> <span class="comment">//! \brief Initialize the bedrock thermal unit.</span></div>
<div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="classpism_1_1energy_1_1BedThermalUnit_a6443c4334e00de7c6e165030a4490d0a.html#a6443c4334e00de7c6e165030a4490d0a"> 121</a></span> <span class="comment"></span><span class="keywordtype">void</span> <a class="code" href="classpism_1_1energy_1_1BedThermalUnit_a6443c4334e00de7c6e165030a4490d0a.html#a6443c4334e00de7c6e165030a4490d0a">BedThermalUnit::init_impl</a>(<span class="keyword">const</span> <a class="code" href="structpism_1_1InputOptions.html">InputOptions</a> &opts) {</div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <span class="keyword">auto</span> input_file = <a class="code" href="classpism_1_1Component_a28f298fc2133baae8cebf9dedf3b4d84.html#a28f298fc2133baae8cebf9dedf3b4d84">m_config</a>->get_string(<span class="stringliteral">"energy.bedrock_thermal.file"</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">if</span> (not input_file.empty()) {</div>
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  <a class="code" href="classpism_1_1Component_a29575eba605feccf4403d6b4ff0954a4.html#a29575eba605feccf4403d6b4ff0954a4">m_log</a>->message(2, <span class="stringliteral">" - Reading geothermal flux from '%s' ...\n"</span>,</div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  input_file.c_str());</div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  </div>
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  <a class="code" href="classpism_1_1energy_1_1BedThermalUnit_a5c7563d7cfb2e6d1c0d8f2468a2a4ca8.html#a5c7563d7cfb2e6d1c0d8f2468a2a4ca8">m_bottom_surface_flux</a>.<a class="code" href="classpism_1_1array_1_1Array_aa7de6be7e8f785321df81d9fd6518a16.html#aa7de6be7e8f785321df81d9fd6518a16">regrid</a>(input_file, <a class="code" href="classpism_1_1io_1_1Default_a81301b55ee990a23a3b8f8acde39f417.html#a81301b55ee990a23a3b8f8acde39f417">io::Default::Nil</a>());</div>
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  <a class="code" href="classpism_1_1Component_a29575eba605feccf4403d6b4ff0954a4.html#a29575eba605feccf4403d6b4ff0954a4">m_log</a>->message(2,</div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  <span class="stringliteral">" - Parameter %s is not set. Reading geothermal flux from '%s'...\n"</span>,</div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  <span class="stringliteral">"energy.bedrock_thermal.file"</span>,</div>
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  opts.<a class="code" href="structpism_1_1InputOptions_a2dc298f0e83b951fa1df5eab910639e5.html#a2dc298f0e83b951fa1df5eab910639e5">filename</a>.c_str());</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>  <span class="keywordflow">switch</span> (opts.<a class="code" href="structpism_1_1InputOptions_a0fe5db51286e55c31b1575dc9ecc5d70.html#a0fe5db51286e55c31b1575dc9ecc5d70">type</a>) {</div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  <span class="keywordflow">case</span> <a class="code" href="namespacepism_a56e80801555b7f36f4dd28941739654a.html#a56e80801555b7f36f4dd28941739654aa6aff4b43552f00d5cc331453ff4029bc">INIT_RESTART</a>:</div>
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  <a class="code" href="classpism_1_1energy_1_1BedThermalUnit_a5c7563d7cfb2e6d1c0d8f2468a2a4ca8.html#a5c7563d7cfb2e6d1c0d8f2468a2a4ca8">m_bottom_surface_flux</a>.<a class="code" href="classpism_1_1array_1_1Array_a0326efd779d857755513901da9a54992.html#a0326efd779d857755513901da9a54992">read</a>(opts.<a class="code" href="structpism_1_1InputOptions_a2dc298f0e83b951fa1df5eab910639e5.html#a2dc298f0e83b951fa1df5eab910639e5">filename</a>, opts.<a class="code" href="structpism_1_1InputOptions_ae33c7fb4ca1317444d959bc3e1514ba4.html#ae33c7fb4ca1317444d959bc3e1514ba4">record</a>);</div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  <span class="keywordflow">case</span> <a class="code" href="namespacepism_a56e80801555b7f36f4dd28941739654a.html#a56e80801555b7f36f4dd28941739654aa260aa6280296d9fffc338c9ecdaba861">INIT_BOOTSTRAP</a>:</div>
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  <a class="code" href="classpism_1_1energy_1_1BedThermalUnit_a5c7563d7cfb2e6d1c0d8f2468a2a4ca8.html#a5c7563d7cfb2e6d1c0d8f2468a2a4ca8">m_bottom_surface_flux</a>.<a class="code" href="classpism_1_1array_1_1Array_aa7de6be7e8f785321df81d9fd6518a16.html#aa7de6be7e8f785321df81d9fd6518a16">regrid</a>(opts.<a class="code" href="structpism_1_1InputOptions_a2dc298f0e83b951fa1df5eab910639e5.html#a2dc298f0e83b951fa1df5eab910639e5">filename</a>, <a class="code" href="classpism_1_1io_1_1Default.html">io::Default</a>(<a class="code" href="classpism_1_1Component_a28f298fc2133baae8cebf9dedf3b4d84.html#a28f298fc2133baae8cebf9dedf3b4d84">m_config</a>->get_number(</div>
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  <span class="stringliteral">"bootstrapping.defaults.geothermal_flux"</span>)));</div>
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  <span class="keywordflow">case</span> <a class="code" href="namespacepism_a56e80801555b7f36f4dd28941739654a.html#a56e80801555b7f36f4dd28941739654aa5059a278caac36d24acebb622448a8dd">INIT_OTHER</a>:</div>
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  <span class="keywordflow">default</span>:</div>
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  <a class="code" href="classpism_1_1energy_1_1BedThermalUnit_a2fbeaea4c4f4cdba0317bfa2ad5585ea.html#a2fbeaea4c4f4cdba0317bfa2ad5585ea">initialize_bottom_surface_flux</a>();</div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  }</div>
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  }</div>
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  </div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  <a class="code" href="classpism_1_1Component_a7737874c03a58a03498a33dc464d2ee9.html#a7737874c03a58a03498a33dc464d2ee9">regrid</a>(<span class="stringliteral">"bedrock thermal layer"</span>, <a class="code" href="classpism_1_1energy_1_1BedThermalUnit_a5c7563d7cfb2e6d1c0d8f2468a2a4ca8.html#a5c7563d7cfb2e6d1c0d8f2468a2a4ca8">m_bottom_surface_flux</a>, <a class="code" href="classpism_1_1Component_a48f8d0b81b7853d4e3fba0de79ec4a7f.html#a48f8d0b81b7853d4e3fba0de79ec4a7fa27f687170795f16d7eb334423b0bc9de">REGRID_WITHOUT_REGRID_VARS</a>);</div>
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span> }</div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  </div>
<div class="line"><a name="l00152"></a><span class="lineno"><a class="line" href="classpism_1_1energy_1_1BedThermalUnit_a2fbeaea4c4f4cdba0317bfa2ad5585ea.html#a2fbeaea4c4f4cdba0317bfa2ad5585ea"> 152</a></span> <span class="keywordtype">void</span> <a class="code" href="classpism_1_1energy_1_1BedThermalUnit_a2fbeaea4c4f4cdba0317bfa2ad5585ea.html#a2fbeaea4c4f4cdba0317bfa2ad5585ea">BedThermalUnit::initialize_bottom_surface_flux</a>() {</div>
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  <span class="keyword">const</span> <span class="keywordtype">double</span> heat_flux = <a class="code" href="classpism_1_1Component_a28f298fc2133baae8cebf9dedf3b4d84.html#a28f298fc2133baae8cebf9dedf3b4d84">m_config</a>->get_number(<span class="stringliteral">"bootstrapping.defaults.geothermal_flux"</span>);</div>
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  </div>
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  <a class="code" href="classpism_1_1Component_a29575eba605feccf4403d6b4ff0954a4.html#a29575eba605feccf4403d6b4ff0954a4">m_log</a>->message(2, <span class="stringliteral">" using constant geothermal flux %f W m-2 ...\n"</span>,</div>
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  heat_flux);</div>
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  </div>
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  <a class="code" href="classpism_1_1energy_1_1BedThermalUnit_a5c7563d7cfb2e6d1c0d8f2468a2a4ca8.html#a5c7563d7cfb2e6d1c0d8f2468a2a4ca8">m_bottom_surface_flux</a>.<a class="code" href="classpism_1_1array_1_1Array_a9959fcf0124f084e6a2835ed745ce0d1.html#a9959fcf0124f084e6a2835ed745ce0d1">set</a>(heat_flux);</div>
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span> }</div>
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span> <span class="comment"></span> </div>
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span> <span class="comment">/** Returns the vertical spacing used by the bedrock grid.</span></div>
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00164"></a><span class="lineno"><a class="line" href="classpism_1_1energy_1_1BedThermalUnit_ac059f034933c5eb3997114b18f9e3f5b.html#ac059f034933c5eb3997114b18f9e3f5b"> 164</a></span> <span class="keywordtype">double</span> <a class="code" href="classpism_1_1energy_1_1BedThermalUnit_ac059f034933c5eb3997114b18f9e3f5b.html#ac059f034933c5eb3997114b18f9e3f5b">BedThermalUnit::vertical_spacing</a>()<span class="keyword"> const </span>{</div>
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  <span class="keywordflow">return</span> this-><a class="code" href="classpism_1_1energy_1_1BedThermalUnit_a9aa4a9448e30c0dba0bf72adafff15a8.html#a9aa4a9448e30c0dba0bf72adafff15a8">vertical_spacing_impl</a>();</div>
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span> }</div>
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span> <span class="comment"></span> </div>
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span> <span class="comment">/*!</span></div>
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span> <span class="comment"> * Return the depth of the bedrock thermal layer.</span></div>
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00171"></a><span class="lineno"><a class="line" href="classpism_1_1energy_1_1BedThermalUnit_a1c2a795ce7d829d5489f03da25ba74cd.html#a1c2a795ce7d829d5489f03da25ba74cd"> 171</a></span> <span class="keywordtype">double</span> <a class="code" href="classpism_1_1energy_1_1BedThermalUnit_a1c2a795ce7d829d5489f03da25ba74cd.html#a1c2a795ce7d829d5489f03da25ba74cd">BedThermalUnit::depth</a>()<span class="keyword"> const </span>{</div>
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <span class="keywordflow">return</span> this-><a class="code" href="classpism_1_1energy_1_1BedThermalUnit_a7b8432ffbed9e58098c255c2d6235f0f.html#a7b8432ffbed9e58098c255c2d6235f0f">depth_impl</a>();</div>
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span> }</div>
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span> <span class="comment"></span> </div>
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span> <span class="comment">/*!</span></div>
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span> <span class="comment"> * Return the number of levels in the bedrock thermal layer.</span></div>
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00178"></a><span class="lineno"><a class="line" href="classpism_1_1energy_1_1BedThermalUnit_af6dda43e1b39561c1243f913ff7492f1.html#af6dda43e1b39561c1243f913ff7492f1"> 178</a></span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="classpism_1_1energy_1_1BedThermalUnit_af6dda43e1b39561c1243f913ff7492f1.html#af6dda43e1b39561c1243f913ff7492f1">BedThermalUnit::Mz</a>()<span class="keyword"> const </span>{</div>
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  <span class="keywordflow">return</span> this-><a class="code" href="classpism_1_1energy_1_1BedThermalUnit_ab54d7fc49cfdcf84304b92387c5de025.html#ab54d7fc49cfdcf84304b92387c5de025">Mz_impl</a>();</div>
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span> }</div>
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  </div>
<div class="line"><a name="l00182"></a><span class="lineno"><a class="line" href="classpism_1_1energy_1_1BedThermalUnit_a8123a093ba1065e040baf8c5f4353267.html#a8123a093ba1065e040baf8c5f4353267"> 182</a></span> <span class="keywordtype">void</span> <a class="code" href="classpism_1_1energy_1_1BedThermalUnit_a8123a093ba1065e040baf8c5f4353267.html#a8123a093ba1065e040baf8c5f4353267">BedThermalUnit::define_model_state_impl</a>(<span class="keyword">const</span> <a class="code" href="classpism_1_1File.html">File</a> &output)<span class="keyword"> const </span>{</div>
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  <a class="code" href="classpism_1_1energy_1_1BedThermalUnit_a5c7563d7cfb2e6d1c0d8f2468a2a4ca8.html#a5c7563d7cfb2e6d1c0d8f2468a2a4ca8">m_bottom_surface_flux</a>.<a class="code" href="classpism_1_1array_1_1Array_a3e1a5859cef073a95e5e0cc5f1cc0fdb.html#a3e1a5859cef073a95e5e0cc5f1cc0fdb">define</a>(output, <a class="code" href="namespacepism_1_1io_a53ffb40793c398e10644fbd2ecda3e77.html#a53ffb40793c398e10644fbd2ecda3e77a6a72c64f82168bec6bf8b648a86648de">io::PISM_DOUBLE</a>);</div>
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span> }</div>
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  </div>
<div class="line"><a name="l00186"></a><span class="lineno"><a class="line" href="classpism_1_1energy_1_1BedThermalUnit_a993e7c538a2e7556c39c4d2973d9a28b.html#a993e7c538a2e7556c39c4d2973d9a28b"> 186</a></span> <span class="keywordtype">void</span> <a class="code" href="classpism_1_1energy_1_1BedThermalUnit_a993e7c538a2e7556c39c4d2973d9a28b.html#a993e7c538a2e7556c39c4d2973d9a28b">BedThermalUnit::write_model_state_impl</a>(<span class="keyword">const</span> <a class="code" href="classpism_1_1File.html">File</a> &output)<span class="keyword"> const </span>{</div>
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  <a class="code" href="classpism_1_1energy_1_1BedThermalUnit_a5c7563d7cfb2e6d1c0d8f2468a2a4ca8.html#a5c7563d7cfb2e6d1c0d8f2468a2a4ca8">m_bottom_surface_flux</a>.<a class="code" href="classpism_1_1array_1_1Array_a4cdaeb827d166a076668d2ab86416793.html#a4cdaeb827d166a076668d2ab86416793">write</a>(output);</div>
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span> }</div>
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  </div>
<div class="line"><a name="l00190"></a><span class="lineno"><a class="line" href="classpism_1_1energy_1_1BedThermalUnit_aae52fe78cdf59fc20380f72eb34eda02.html#aae52fe78cdf59fc20380f72eb34eda02"> 190</a></span> <a class="code" href="namespacepism_a6154a990ba873c6ca606d8a320c441ac.html#a6154a990ba873c6ca606d8a320c441ac">DiagnosticList</a> <a class="code" href="classpism_1_1energy_1_1BedThermalUnit_aae52fe78cdf59fc20380f72eb34eda02.html#aae52fe78cdf59fc20380f72eb34eda02">BedThermalUnit::diagnostics_impl</a>()<span class="keyword"> const </span>{</div>
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  <a class="code" href="namespacepism_a6154a990ba873c6ca606d8a320c441ac.html#a6154a990ba873c6ca606d8a320c441ac">DiagnosticList</a> result = {</div>
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  {<span class="stringliteral">"bheatflx"</span>, <a class="code" href="classpism_1_1Diagnostic_a2648c1bc92c5e333ecad30e9a5687ea9.html#a2648c1bc92c5e333ecad30e9a5687ea9">Diagnostic::wrap</a>(<a class="code" href="classpism_1_1energy_1_1BedThermalUnit_a5c7563d7cfb2e6d1c0d8f2468a2a4ca8.html#a5c7563d7cfb2e6d1c0d8f2468a2a4ca8">m_bottom_surface_flux</a>)},</div>
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  {<span class="stringliteral">"heat_flux_from_bedrock"</span>, <a class="code" href="classpism_1_1Diagnostic_a94d5717226f2c89299c0c08168f01455.html#a94d5717226f2c89299c0c08168f01455">Diagnostic::Ptr</a>(<span class="keyword">new</span> <a class="code" href="classpism_1_1energy_1_1BTU__geothermal__flux__at__ground__level.html">BTU_geothermal_flux_at_ground_level</a>(<span class="keyword">this</span>))}};</div>
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  </div>
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  <span class="keywordflow">if</span> (<a class="code" href="classpism_1_1Component_a28f298fc2133baae8cebf9dedf3b4d84.html#a28f298fc2133baae8cebf9dedf3b4d84">m_config</a>->get_flag(<span class="stringliteral">"output.ISMIP6"</span>)) {</div>
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  result[<span class="stringliteral">"hfgeoubed"</span>] = <a class="code" href="classpism_1_1Diagnostic_a94d5717226f2c89299c0c08168f01455.html#a94d5717226f2c89299c0c08168f01455">Diagnostic::Ptr</a>(<span class="keyword">new</span> <a class="code" href="classpism_1_1energy_1_1BTU__geothermal__flux__at__ground__level.html">BTU_geothermal_flux_at_ground_level</a>(<span class="keyword">this</span>));</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>  <span class="keywordflow">return</span> result;</div>
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span> }</div>
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  </div>
<div class="line"><a name="l00201"></a><span class="lineno"><a class="line" href="classpism_1_1energy_1_1BedThermalUnit_a3ac86dafc8cc8cf46f986c7228867104.html#a3ac86dafc8cc8cf46f986c7228867104"> 201</a></span> <span class="keywordtype">void</span> <a class="code" href="classpism_1_1energy_1_1BedThermalUnit_a3ac86dafc8cc8cf46f986c7228867104.html#a3ac86dafc8cc8cf46f986c7228867104">BedThermalUnit::update</a>(<span class="keyword">const</span> <a class="code" href="classpism_1_1array_1_1Scalar.html">array::Scalar</a> &bedrock_top_temperature,</div>
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  <span class="keywordtype">double</span> t, <span class="keywordtype">double</span> dt) {</div>
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  this-><a class="code" href="classpism_1_1energy_1_1BedThermalUnit_ae1f93a7dbc10618f045c577235b80111.html#ae1f93a7dbc10618f045c577235b80111">update_impl</a>(bedrock_top_temperature, t, dt);</div>
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span> }</div>
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  </div>
<div class="line"><a name="l00206"></a><span class="lineno"><a class="line" href="classpism_1_1energy_1_1BedThermalUnit_a4af18f2d395062dc40417804e56f985c.html#a4af18f2d395062dc40417804e56f985c"> 206</a></span> <span class="keyword">const</span> <a class="code" href="classpism_1_1array_1_1Scalar.html">array::Scalar</a>& <a class="code" href="classpism_1_1energy_1_1BedThermalUnit_a4af18f2d395062dc40417804e56f985c.html#a4af18f2d395062dc40417804e56f985c">BedThermalUnit::flux_through_top_surface</a>()<span class="keyword"> const </span>{</div>
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  <span class="keywordflow">return</span> <a class="code" href="classpism_1_1energy_1_1BedThermalUnit_adfc811194c0ddcce465f80c9f7a5b4ef.html#adfc811194c0ddcce465f80c9f7a5b4ef">m_top_surface_flux</a>;</div>
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span> }</div>
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  </div>
<div class="line"><a name="l00210"></a><span class="lineno"><a class="line" href="classpism_1_1energy_1_1BedThermalUnit_acc771778288822c79a0f6e09a26f04c7.html#acc771778288822c79a0f6e09a26f04c7"> 210</a></span> <span class="keyword">const</span> <a class="code" href="classpism_1_1array_1_1Scalar.html">array::Scalar</a>& <a class="code" href="classpism_1_1energy_1_1BedThermalUnit_acc771778288822c79a0f6e09a26f04c7.html#acc771778288822c79a0f6e09a26f04c7">BedThermalUnit::flux_through_bottom_surface</a>()<span class="keyword"> const </span>{</div>
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  <span class="keywordflow">return</span> <a class="code" href="classpism_1_1energy_1_1BedThermalUnit_a5c7563d7cfb2e6d1c0d8f2468a2a4ca8.html#a5c7563d7cfb2e6d1c0d8f2468a2a4ca8">m_bottom_surface_flux</a>;</div>
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span> }</div>
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  </div>
<div class="line"><a name="l00214"></a><span class="lineno"><a class="line" href="classpism_1_1energy_1_1BTU__geothermal__flux__at__ground__level_ab67cc051f8a23272dacdcffda74e4f64.html#ab67cc051f8a23272dacdcffda74e4f64"> 214</a></span> <a class="code" href="classpism_1_1energy_1_1BTU__geothermal__flux__at__ground__level_ab67cc051f8a23272dacdcffda74e4f64.html#ab67cc051f8a23272dacdcffda74e4f64">BTU_geothermal_flux_at_ground_level::BTU_geothermal_flux_at_ground_level</a>(<span class="keyword">const</span> <a class="code" href="classpism_1_1energy_1_1BedThermalUnit.html">BedThermalUnit</a> *m)</div>
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  : <a class="code" href="classpism_1_1Diag.html">Diag</a><<a class="code" href="classpism_1_1energy_1_1BedThermalUnit.html">BedThermalUnit</a>>(m) {</div>
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  </div>
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  <span class="keyword">auto</span> ismip6 = <a class="code" href="classpism_1_1Diagnostic_afdafdc402891ace41badf7a4c33bac10.html#afdafdc402891ace41badf7a4c33bac10">m_config</a>->get_flag(<span class="stringliteral">"output.ISMIP6"</span>);</div>
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  <a class="code" href="classpism_1_1Diagnostic_a7590d3d6d714ca1bbc99787baea537e0.html#a7590d3d6d714ca1bbc99787baea537e0">m_vars</a> = { { <a class="code" href="classpism_1_1Diagnostic_a66c35ec2a3236c20757ba9ce5880eb6d.html#a66c35ec2a3236c20757ba9ce5880eb6d">m_sys</a>, ismip6 ? <span class="stringliteral">"hfgeoubed"</span> : <span class="stringliteral">"heat_flux_from_bedrock"</span> } };</div>
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span>  <a class="code" href="classpism_1_1Diagnostic_a7590d3d6d714ca1bbc99787baea537e0.html#a7590d3d6d714ca1bbc99787baea537e0">m_vars</a>[0]</div>
<div class="line"><a name="l00220"></a><span class="lineno"> 220</span>  .long_name(<span class="stringliteral">"upward geothermal flux at the top bedrock surface"</span>)</div>
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  .standard_name((ismip6 ? <span class="stringliteral">"upward_geothermal_heat_flux_in_land_ice"</span> :</div>
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  <span class="stringliteral">"upward_geothermal_heat_flux_at_ground_level_in_land_ice"</span>))</div>
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span>  .units(<span class="stringliteral">"W m-2"</span>)</div>
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  .output_units(<span class="stringliteral">"mW m-2"</span>);</div>
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  <a class="code" href="classpism_1_1Diagnostic_a7590d3d6d714ca1bbc99787baea537e0.html#a7590d3d6d714ca1bbc99787baea537e0">m_vars</a>[0][<span class="stringliteral">"comment"</span>] = <span class="stringliteral">"positive values correspond to an upward flux"</span>;</div>
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span> }</div>
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span>  </div>
<div class="line"><a name="l00228"></a><span class="lineno"><a class="line" href="classpism_1_1energy_1_1BTU__geothermal__flux__at__ground__level_add140bb626dac5ef0b87acaf156fd720.html#add140bb626dac5ef0b87acaf156fd720"> 228</a></span> std::shared_ptr<array::Array> <a class="code" href="classpism_1_1energy_1_1BTU__geothermal__flux__at__ground__level_add140bb626dac5ef0b87acaf156fd720.html#add140bb626dac5ef0b87acaf156fd720">BTU_geothermal_flux_at_ground_level::compute_impl</a>()<span class="keyword"> const </span>{</div>
<div class="line"><a name="l00229"></a><span class="lineno"> 229</span>  <span class="keyword">auto</span> result = std::make_shared<array::Scalar>(<a class="code" href="classpism_1_1Diagnostic_af0eaf7c1c949d96b5c5ac945c7b744ca.html#af0eaf7c1c949d96b5c5ac945c7b744ca">m_grid</a>, <span class="stringliteral">"hfgeoubed"</span>);</div>
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  result->metadata() = <a class="code" href="classpism_1_1Diagnostic_a7590d3d6d714ca1bbc99787baea537e0.html#a7590d3d6d714ca1bbc99787baea537e0">m_vars</a>[0];</div>
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span>  </div>
<div class="line"><a name="l00232"></a><span class="lineno"> 232</span>  result->copy_from(<a class="code" href="classpism_1_1Diag_aa3e0516ca815c840bfa479256aa1f711.html#aa3e0516ca815c840bfa479256aa1f711">model</a>->flux_through_top_surface());</div>
<div class="line"><a name="l00233"></a><span class="lineno"> 233</span>  </div>
<div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  <span class="keywordflow">return</span> result;</div>
<div class="line"><a name="l00235"></a><span class="lineno"> 235</span> }</div>
<div class="line"><a name="l00236"></a><span class="lineno"> 236</span>  </div>
<div class="line"><a name="l00237"></a><span class="lineno"> 237</span> } <span class="comment">// end of namespace energy</span></div>
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span> } <span class="comment">// end of namespace pism</span></div>
<div class="ttc" id="aclasspism_1_1Component_a1d7fa2a58f259a9c5e464f8738db6ef0_html_a1d7fa2a58f259a9c5e464f8738db6ef0"><div class="ttname"><a href="classpism_1_1Component_a1d7fa2a58f259a9c5e464f8738db6ef0.html#a1d7fa2a58f259a9c5e464f8738db6ef0">pism::Component::grid</a></div><div class="ttdeci">std::shared_ptr< const Grid > grid() const</div><div class="ttdef"><b>Definition:</b> <a href="Component_8cc_source.html#l00105">Component.cc:105</a></div></div>
<div class="ttc" id="aclasspism_1_1Component_a28f298fc2133baae8cebf9dedf3b4d84_html_a28f298fc2133baae8cebf9dedf3b4d84"><div class="ttname"><a href="classpism_1_1Component_a28f298fc2133baae8cebf9dedf3b4d84.html#a28f298fc2133baae8cebf9dedf3b4d84">pism::Component::m_config</a></div><div class="ttdeci">const Config::ConstPtr m_config</div><div class="ttdoc">configuration database used by this component</div><div class="ttdef"><b>Definition:</b> <a href="Component_8hh_source.html#l00158">Component.hh:158</a></div></div>
<div class="ttc" id="aclasspism_1_1Component_a29575eba605feccf4403d6b4ff0954a4_html_a29575eba605feccf4403d6b4ff0954a4"><div class="ttname"><a href="classpism_1_1Component_a29575eba605feccf4403d6b4ff0954a4.html#a29575eba605feccf4403d6b4ff0954a4">pism::Component::m_log</a></div><div class="ttdeci">const Logger::ConstPtr m_log</div><div class="ttdoc">logger (for easy access)</div><div class="ttdef"><b>Definition:</b> <a href="Component_8hh_source.html#l00162">Component.hh:162</a></div></div>
<div class="ttc" id="aclasspism_1_1Component_a48f8d0b81b7853d4e3fba0de79ec4a7f_html_a48f8d0b81b7853d4e3fba0de79ec4a7fa27f687170795f16d7eb334423b0bc9de"><div class="ttname"><a href="classpism_1_1Component_a48f8d0b81b7853d4e3fba0de79ec4a7f.html#a48f8d0b81b7853d4e3fba0de79ec4a7fa27f687170795f16d7eb334423b0bc9de">pism::Component::REGRID_WITHOUT_REGRID_VARS</a></div><div class="ttdeci">@ REGRID_WITHOUT_REGRID_VARS</div><div class="ttdef"><b>Definition:</b> <a href="Component_8hh_source.html#l00151">Component.hh:151</a></div></div>
<div class="ttc" id="aclasspism_1_1Component_a7737874c03a58a03498a33dc464d2ee9_html_a7737874c03a58a03498a33dc464d2ee9"><div class="ttname"><a href="classpism_1_1Component_a7737874c03a58a03498a33dc464d2ee9.html#a7737874c03a58a03498a33dc464d2ee9">pism::Component::regrid</a></div><div class="ttdeci">void regrid(const std::string &module_name, array::Array &variable, RegriddingFlag flag=NO_REGRID_WITHOUT_REGRID_VARS)</div><div class="ttdef"><b>Definition:</b> <a href="Component_8cc_source.html#l00159">Component.cc:159</a></div></div>
<div class="ttc" id="aclasspism_1_1Component_html"><div class="ttname"><a href="classpism_1_1Component.html">pism::Component</a></div><div class="ttdoc">A class defining a common interface for most PISM sub-models.</div><div class="ttdef"><b>Definition:</b> <a href="Component_8hh_source.html#l00118">Component.hh:118</a></div></div>
<div class="ttc" id="aclasspism_1_1Config_a4dc1634c0eac358eb86303633024f810_html_a4dc1634c0eac358eb86303633024f810"><div class="ttname"><a href="classpism_1_1Config_a4dc1634c0eac358eb86303633024f810.html#a4dc1634c0eac358eb86303633024f810">pism::Config::ConstPtr</a></div><div class="ttdeci">std::shared_ptr< const Config > ConstPtr</div><div class="ttdef"><b>Definition:</b> <a href="ConfigInterface_8hh_source.html#l00056">ConfigInterface.hh:56</a></div></div>
<div class="ttc" id="aclasspism_1_1Diag_aa3e0516ca815c840bfa479256aa1f711_html_aa3e0516ca815c840bfa479256aa1f711"><div class="ttname"><a href="classpism_1_1Diag_aa3e0516ca815c840bfa479256aa1f711.html#aa3e0516ca815c840bfa479256aa1f711">pism::Diag< BedThermalUnit >::model</a></div><div class="ttdeci">const BedThermalUnit * model</div><div class="ttdef"><b>Definition:</b> <a href="Diagnostic_8hh_source.html#l00172">Diagnostic.hh:172</a></div></div>
<div class="ttc" id="aclasspism_1_1Diag_html"><div class="ttname"><a href="classpism_1_1Diag.html">pism::Diag</a></div><div class="ttdoc">A template derived from Diagnostic, adding a "Model".</div><div class="ttdef"><b>Definition:</b> <a href="Diagnostic_8hh_source.html#l00166">Diagnostic.hh:166</a></div></div>
<div class="ttc" id="aclasspism_1_1Diagnostic_a2648c1bc92c5e333ecad30e9a5687ea9_html_a2648c1bc92c5e333ecad30e9a5687ea9"><div class="ttname"><a href="classpism_1_1Diagnostic_a2648c1bc92c5e333ecad30e9a5687ea9.html#a2648c1bc92c5e333ecad30e9a5687ea9">pism::Diagnostic::wrap</a></div><div class="ttdeci">static Ptr wrap(const T &input)</div><div class="ttdef"><b>Definition:</b> <a href="Diagnostic_8hh_source.html#l00160">Diagnostic.hh:160</a></div></div>
<div class="ttc" id="aclasspism_1_1Diagnostic_a66c35ec2a3236c20757ba9ce5880eb6d_html_a66c35ec2a3236c20757ba9ce5880eb6d"><div class="ttname"><a href="classpism_1_1Diagnostic_a66c35ec2a3236c20757ba9ce5880eb6d.html#a66c35ec2a3236c20757ba9ce5880eb6d">pism::Diagnostic::m_sys</a></div><div class="ttdeci">const units::System::Ptr m_sys</div><div class="ttdoc">the unit system</div><div class="ttdef"><b>Definition:</b> <a href="Diagnostic_8hh_source.html#l00116">Diagnostic.hh:116</a></div></div>
<div class="ttc" id="aclasspism_1_1Diagnostic_a7590d3d6d714ca1bbc99787baea537e0_html_a7590d3d6d714ca1bbc99787baea537e0"><div class="ttname"><a href="classpism_1_1Diagnostic_a7590d3d6d714ca1bbc99787baea537e0.html#a7590d3d6d714ca1bbc99787baea537e0">pism::Diagnostic::m_vars</a></div><div class="ttdeci">std::vector< SpatialVariableMetadata > m_vars</div><div class="ttdoc">metadata corresponding to NetCDF variables</div><div class="ttdef"><b>Definition:</b> <a href="Diagnostic_8hh_source.html#l00120">Diagnostic.hh:120</a></div></div>
<div class="ttc" id="aclasspism_1_1Diagnostic_a94d5717226f2c89299c0c08168f01455_html_a94d5717226f2c89299c0c08168f01455"><div class="ttname"><a href="classpism_1_1Diagnostic_a94d5717226f2c89299c0c08168f01455.html#a94d5717226f2c89299c0c08168f01455">pism::Diagnostic::Ptr</a></div><div class="ttdeci">std::shared_ptr< Diagnostic > Ptr</div><div class="ttdef"><b>Definition:</b> <a href="Diagnostic_8hh_source.html#l00065">Diagnostic.hh:65</a></div></div>
<div class="ttc" id="aclasspism_1_1Diagnostic_af0eaf7c1c949d96b5c5ac945c7b744ca_html_af0eaf7c1c949d96b5c5ac945c7b744ca"><div class="ttname"><a href="classpism_1_1Diagnostic_af0eaf7c1c949d96b5c5ac945c7b744ca.html#af0eaf7c1c949d96b5c5ac945c7b744ca">pism::Diagnostic::m_grid</a></div><div class="ttdeci">std::shared_ptr< const Grid > m_grid</div><div class="ttdoc">the grid</div><div class="ttdef"><b>Definition:</b> <a href="Diagnostic_8hh_source.html#l00114">Diagnostic.hh:114</a></div></div>
<div class="ttc" id="aclasspism_1_1Diagnostic_afdafdc402891ace41badf7a4c33bac10_html_afdafdc402891ace41badf7a4c33bac10"><div class="ttname"><a href="classpism_1_1Diagnostic_afdafdc402891ace41badf7a4c33bac10.html#afdafdc402891ace41badf7a4c33bac10">pism::Diagnostic::m_config</a></div><div class="ttdeci">const Config::ConstPtr m_config</div><div class="ttdoc">Configuration flags and parameters.</div><div class="ttdef"><b>Definition:</b> <a href="Diagnostic_8hh_source.html#l00118">Diagnostic.hh:118</a></div></div>
<div class="ttc" id="aclasspism_1_1File_a4ec169f0ab9d7858d09f07bffc978f2a_html_a4ec169f0ab9d7858d09f07bffc978f2a"><div class="ttname"><a href="classpism_1_1File_a4ec169f0ab9d7858d09f07bffc978f2a.html#a4ec169f0ab9d7858d09f07bffc978f2a">pism::File::find_variable</a></div><div class="ttdeci">VariableLookupData find_variable(const std::string &short_name, const std::string &std_name) const</div><div class="ttdoc">Find a variable using its standard name and/or short name.</div><div class="ttdef"><b>Definition:</b> <a href="File_8cc_source.html#l00361">File.cc:361</a></div></div>
<div class="ttc" id="aclasspism_1_1File_a815bb8942d8eaa33f33a8b022c005693_html_a815bb8942d8eaa33f33a8b022c005693"><div class="ttname"><a href="classpism_1_1File_a815bb8942d8eaa33f33a8b022c005693.html#a815bb8942d8eaa33f33a8b022c005693">pism::File::close</a></div><div class="ttdeci">void close()</div><div class="ttdef"><b>Definition:</b> <a href="File_8cc_source.html#l00270">File.cc:270</a></div></div>
<div class="ttc" id="aclasspism_1_1File_html"><div class="ttname"><a href="classpism_1_1File.html">pism::File</a></div><div class="ttdoc">High-level PISM I/O class.</div><div class="ttdef"><b>Definition:</b> <a href="File_8hh_source.html#l00055">File.hh:56</a></div></div>
<div class="ttc" id="aclasspism_1_1VariableMetadata_a2b7791d4794fd3deb3838e75b495ce33_html_a2b7791d4794fd3deb3838e75b495ce33"><div class="ttname"><a href="classpism_1_1VariableMetadata_a2b7791d4794fd3deb3838e75b495ce33.html#a2b7791d4794fd3deb3838e75b495ce33">pism::VariableMetadata::standard_name</a></div><div class="ttdeci">VariableMetadata & standard_name(const std::string &input)</div><div class="ttdef"><b>Definition:</b> <a href="VariableMetadata_8hh_source.html#l00119">VariableMetadata.hh:119</a></div></div>
<div class="ttc" id="aclasspism_1_1VariableMetadata_a5e378cf7077ab00a808ef446a79dc34d_html_a5e378cf7077ab00a808ef446a79dc34d"><div class="ttname"><a href="classpism_1_1VariableMetadata_a5e378cf7077ab00a808ef446a79dc34d.html#a5e378cf7077ab00a808ef446a79dc34d">pism::VariableMetadata::long_name</a></div><div class="ttdeci">VariableMetadata & long_name(const std::string &input)</div><div class="ttdef"><b>Definition:</b> <a href="VariableMetadata_8hh_source.html#l00115">VariableMetadata.hh:115</a></div></div>
<div class="ttc" id="aclasspism_1_1VariableMetadata_a60afc3261be90f44a5713a3f34bab2f7_html_a60afc3261be90f44a5713a3f34bab2f7"><div class="ttname"><a href="classpism_1_1VariableMetadata_a60afc3261be90f44a5713a3f34bab2f7.html#a60afc3261be90f44a5713a3f34bab2f7">pism::VariableMetadata::output_units</a></div><div class="ttdeci">VariableMetadata & output_units(const std::string &input)</div><div class="ttdef"><b>Definition:</b> <a href="VariableMetadata_8hh_source.html#l00127">VariableMetadata.hh:127</a></div></div>
<div class="ttc" id="aclasspism_1_1VariableMetadata_ae73185be0693a8607b8e0f74558e11e4_html_ae73185be0693a8607b8e0f74558e11e4"><div class="ttname"><a href="classpism_1_1VariableMetadata_ae73185be0693a8607b8e0f74558e11e4.html#ae73185be0693a8607b8e0f74558e11e4">pism::VariableMetadata::units</a></div><div class="ttdeci">VariableMetadata & units(const std::string &input)</div><div class="ttdef"><b>Definition:</b> <a href="VariableMetadata_8hh_source.html#l00123">VariableMetadata.hh:123</a></div></div>
<div class="ttc" id="aclasspism_1_1VariableMetadata_af62016818f22d6885d7b8523ddffc674_html_af62016818f22d6885d7b8523ddffc674"><div class="ttname"><a href="classpism_1_1VariableMetadata_af62016818f22d6885d7b8523ddffc674.html#af62016818f22d6885d7b8523ddffc674">pism::VariableMetadata::set_time_independent</a></div><div class="ttdeci">VariableMetadata & set_time_independent(bool flag)</div><div class="ttdef"><b>Definition:</b> <a href="VariableMetadata_8cc_source.html#l00058">VariableMetadata.cc:58</a></div></div>
<div class="ttc" id="aclasspism_1_1array_1_1Array_a0326efd779d857755513901da9a54992_html_a0326efd779d857755513901da9a54992"><div class="ttname"><a href="classpism_1_1array_1_1Array_a0326efd779d857755513901da9a54992.html#a0326efd779d857755513901da9a54992">pism::array::Array::read</a></div><div class="ttdeci">void read(const std::string &filename, unsigned int time)</div><div class="ttdef"><b>Definition:</b> <a href="Array_8cc_source.html#l00809">Array.cc:809</a></div></div>
<div class="ttc" id="aclasspism_1_1array_1_1Array_a3e1a5859cef073a95e5e0cc5f1cc0fdb_html_a3e1a5859cef073a95e5e0cc5f1cc0fdb"><div class="ttname"><a href="classpism_1_1array_1_1Array_a3e1a5859cef073a95e5e0cc5f1cc0fdb.html#a3e1a5859cef073a95e5e0cc5f1cc0fdb">pism::array::Array::define</a></div><div class="ttdeci">void define(const File &file, io::Type default_type) const</div><div class="ttdoc">Define variables corresponding to an Array in a file opened using file.</div><div class="ttdef"><b>Definition:</b> <a href="Array_8cc_source.html#l00540">Array.cc:540</a></div></div>
<div class="ttc" id="aclasspism_1_1array_1_1Array_a4cdaeb827d166a076668d2ab86416793_html_a4cdaeb827d166a076668d2ab86416793"><div class="ttname"><a href="classpism_1_1array_1_1Array_a4cdaeb827d166a076668d2ab86416793.html#a4cdaeb827d166a076668d2ab86416793">pism::array::Array::write</a></div><div class="ttdeci">void write(const std::string &filename) const</div><div class="ttdef"><b>Definition:</b> <a href="Array_8cc_source.html#l00800">Array.cc:800</a></div></div>
<div class="ttc" id="aclasspism_1_1array_1_1Array_a9959fcf0124f084e6a2835ed745ce0d1_html_a9959fcf0124f084e6a2835ed745ce0d1"><div class="ttname"><a href="classpism_1_1array_1_1Array_a9959fcf0124f084e6a2835ed745ce0d1.html#a9959fcf0124f084e6a2835ed745ce0d1">pism::array::Array::set</a></div><div class="ttdeci">void set(double c)</div><div class="ttdoc">Result: v[j] <- c for all j.</div><div class="ttdef"><b>Definition:</b> <a href="Array_8cc_source.html#l00707">Array.cc:707</a></div></div>
<div class="ttc" id="aclasspism_1_1array_1_1Array_aa7de6be7e8f785321df81d9fd6518a16_html_aa7de6be7e8f785321df81d9fd6518a16"><div class="ttname"><a href="classpism_1_1array_1_1Array_aa7de6be7e8f785321df81d9fd6518a16.html#aa7de6be7e8f785321df81d9fd6518a16">pism::array::Array::regrid</a></div><div class="ttdeci">void regrid(const std::string &filename, io::Default default_value)</div><div class="ttdef"><b>Definition:</b> <a href="Array_8cc_source.html#l00814">Array.cc:814</a></div></div>
<div class="ttc" id="aclasspism_1_1array_1_1Array_af9eece42153cd03bfc8ba237ae5310c4_html_af9eece42153cd03bfc8ba237ae5310c4"><div class="ttname"><a href="classpism_1_1array_1_1Array_af9eece42153cd03bfc8ba237ae5310c4.html#af9eece42153cd03bfc8ba237ae5310c4">pism::array::Array::metadata</a></div><div class="ttdeci">SpatialVariableMetadata & metadata(unsigned int N=0)</div><div class="ttdoc">Returns a reference to the SpatialVariableMetadata object containing metadata for the compoment N.</div><div class="ttdef"><b>Definition:</b> <a href="Array_8cc_source.html#l00553">Array.cc:553</a></div></div>
<div class="ttc" id="aclasspism_1_1array_1_1Scalar_html"><div class="ttname"><a href="classpism_1_1array_1_1Scalar.html">pism::array::Scalar</a></div><div class="ttdef"><b>Definition:</b> <a href="Scalar_8hh_source.html#l00031">Scalar.hh:31</a></div></div>
<div class="ttc" id="aclasspism_1_1energy_1_1BTU__geothermal__flux__at__ground__level_ab67cc051f8a23272dacdcffda74e4f64_html_ab67cc051f8a23272dacdcffda74e4f64"><div class="ttname"><a href="classpism_1_1energy_1_1BTU__geothermal__flux__at__ground__level_ab67cc051f8a23272dacdcffda74e4f64.html#ab67cc051f8a23272dacdcffda74e4f64">pism::energy::BTU_geothermal_flux_at_ground_level::BTU_geothermal_flux_at_ground_level</a></div><div class="ttdeci">BTU_geothermal_flux_at_ground_level(const BedThermalUnit *m)</div><div class="ttdef"><b>Definition:</b> <a href="BedThermalUnit_8cc_source.html#l00214">BedThermalUnit.cc:214</a></div></div>
<div class="ttc" id="aclasspism_1_1energy_1_1BTU__geothermal__flux__at__ground__level_add140bb626dac5ef0b87acaf156fd720_html_add140bb626dac5ef0b87acaf156fd720"><div class="ttname"><a href="classpism_1_1energy_1_1BTU__geothermal__flux__at__ground__level_add140bb626dac5ef0b87acaf156fd720.html#add140bb626dac5ef0b87acaf156fd720">pism::energy::BTU_geothermal_flux_at_ground_level::compute_impl</a></div><div class="ttdeci">virtual std::shared_ptr< array::Array > compute_impl() const</div><div class="ttdef"><b>Definition:</b> <a href="BedThermalUnit_8cc_source.html#l00228">BedThermalUnit.cc:228</a></div></div>
<div class="ttc" id="aclasspism_1_1energy_1_1BTU__geothermal__flux__at__ground__level_html"><div class="ttname"><a href="classpism_1_1energy_1_1BTU__geothermal__flux__at__ground__level.html">pism::energy::BTU_geothermal_flux_at_ground_level</a></div><div class="ttdef"><b>Definition:</b> <a href="BedThermalUnit_8hh_source.html#l00154">BedThermalUnit.hh:154</a></div></div>
<div class="ttc" id="aclasspism_1_1energy_1_1BedThermalUnit_a10155eafebd0a3ea9e376b500a41030d_html_a10155eafebd0a3ea9e376b500a41030d"><div class="ttname"><a href="classpism_1_1energy_1_1BedThermalUnit_a10155eafebd0a3ea9e376b500a41030d.html#a10155eafebd0a3ea9e376b500a41030d">pism::energy::BedThermalUnit::BedThermalUnit</a></div><div class="ttdeci">BedThermalUnit(std::shared_ptr< const Grid > g)</div><div class="ttdef"><b>Definition:</b> <a href="BedThermalUnit_8cc_source.html#l00092">BedThermalUnit.cc:92</a></div></div>
<div class="ttc" id="aclasspism_1_1energy_1_1BedThermalUnit_a1c2a795ce7d829d5489f03da25ba74cd_html_a1c2a795ce7d829d5489f03da25ba74cd"><div class="ttname"><a href="classpism_1_1energy_1_1BedThermalUnit_a1c2a795ce7d829d5489f03da25ba74cd.html#a1c2a795ce7d829d5489f03da25ba74cd">pism::energy::BedThermalUnit::depth</a></div><div class="ttdeci">double depth() const</div><div class="ttdef"><b>Definition:</b> <a href="BedThermalUnit_8cc_source.html#l00171">BedThermalUnit.cc:171</a></div></div>
<div class="ttc" id="aclasspism_1_1energy_1_1BedThermalUnit_a2fbeaea4c4f4cdba0317bfa2ad5585ea_html_a2fbeaea4c4f4cdba0317bfa2ad5585ea"><div class="ttname"><a href="classpism_1_1energy_1_1BedThermalUnit_a2fbeaea4c4f4cdba0317bfa2ad5585ea.html#a2fbeaea4c4f4cdba0317bfa2ad5585ea">pism::energy::BedThermalUnit::initialize_bottom_surface_flux</a></div><div class="ttdeci">virtual void initialize_bottom_surface_flux()</div><div class="ttdef"><b>Definition:</b> <a href="BedThermalUnit_8cc_source.html#l00152">BedThermalUnit.cc:152</a></div></div>
<div class="ttc" id="aclasspism_1_1energy_1_1BedThermalUnit_a3ac86dafc8cc8cf46f986c7228867104_html_a3ac86dafc8cc8cf46f986c7228867104"><div class="ttname"><a href="classpism_1_1energy_1_1BedThermalUnit_a3ac86dafc8cc8cf46f986c7228867104.html#a3ac86dafc8cc8cf46f986c7228867104">pism::energy::BedThermalUnit::update</a></div><div class="ttdeci">void update(const array::Scalar &bedrock_top_temperature, double t, double dt)</div><div class="ttdef"><b>Definition:</b> <a href="BedThermalUnit_8cc_source.html#l00201">BedThermalUnit.cc:201</a></div></div>
<div class="ttc" id="aclasspism_1_1energy_1_1BedThermalUnit_a4af18f2d395062dc40417804e56f985c_html_a4af18f2d395062dc40417804e56f985c"><div class="ttname"><a href="classpism_1_1energy_1_1BedThermalUnit_a4af18f2d395062dc40417804e56f985c.html#a4af18f2d395062dc40417804e56f985c">pism::energy::BedThermalUnit::flux_through_top_surface</a></div><div class="ttdeci">const array::Scalar & flux_through_top_surface() const</div><div class="ttdoc">Return the upward heat flux through the top surface of the bedrock thermal layer.</div><div class="ttdef"><b>Definition:</b> <a href="BedThermalUnit_8cc_source.html#l00206">BedThermalUnit.cc:206</a></div></div>
<div class="ttc" id="aclasspism_1_1energy_1_1BedThermalUnit_a5c7563d7cfb2e6d1c0d8f2468a2a4ca8_html_a5c7563d7cfb2e6d1c0d8f2468a2a4ca8"><div class="ttname"><a href="classpism_1_1energy_1_1BedThermalUnit_a5c7563d7cfb2e6d1c0d8f2468a2a4ca8.html#a5c7563d7cfb2e6d1c0d8f2468a2a4ca8">pism::energy::BedThermalUnit::m_bottom_surface_flux</a></div><div class="ttdeci">array::Scalar m_bottom_surface_flux</div><div class="ttdoc">upward heat flux through the bottom surface of the bed thermal layer</div><div class="ttdef"><b>Definition:</b> <a href="BedThermalUnit_8hh_source.html#l00148">BedThermalUnit.hh:148</a></div></div>
<div class="ttc" id="aclasspism_1_1energy_1_1BedThermalUnit_a6443c4334e00de7c6e165030a4490d0a_html_a6443c4334e00de7c6e165030a4490d0a"><div class="ttname"><a href="classpism_1_1energy_1_1BedThermalUnit_a6443c4334e00de7c6e165030a4490d0a.html#a6443c4334e00de7c6e165030a4490d0a">pism::energy::BedThermalUnit::init_impl</a></div><div class="ttdeci">virtual void init_impl(const InputOptions &opts)</div><div class="ttdoc">Initialize the bedrock thermal unit.</div><div class="ttdef"><b>Definition:</b> <a href="BedThermalUnit_8cc_source.html#l00121">BedThermalUnit.cc:121</a></div></div>
<div class="ttc" id="aclasspism_1_1energy_1_1BedThermalUnit_a6a2dfb1142ba186aa5fac12a69efb0d6_html_a6a2dfb1142ba186aa5fac12a69efb0d6"><div class="ttname"><a href="classpism_1_1energy_1_1BedThermalUnit_a6a2dfb1142ba186aa5fac12a69efb0d6.html#a6a2dfb1142ba186aa5fac12a69efb0d6">pism::energy::BedThermalUnit::init</a></div><div class="ttdeci">void init(const InputOptions &opts)</div><div class="ttdef"><b>Definition:</b> <a href="BedThermalUnit_8cc_source.html#l00116">BedThermalUnit.cc:116</a></div></div>
<div class="ttc" id="aclasspism_1_1energy_1_1BedThermalUnit_a7b8432ffbed9e58098c255c2d6235f0f_html_a7b8432ffbed9e58098c255c2d6235f0f"><div class="ttname"><a href="classpism_1_1energy_1_1BedThermalUnit_a7b8432ffbed9e58098c255c2d6235f0f.html#a7b8432ffbed9e58098c255c2d6235f0f">pism::energy::BedThermalUnit::depth_impl</a></div><div class="ttdeci">virtual double depth_impl() const =0</div></div>
<div class="ttc" id="aclasspism_1_1energy_1_1BedThermalUnit_a7dcc796be115ecbea0b3bf73c686b286_html_a7dcc796be115ecbea0b3bf73c686b286"><div class="ttname"><a href="classpism_1_1energy_1_1BedThermalUnit_a7dcc796be115ecbea0b3bf73c686b286.html#a7dcc796be115ecbea0b3bf73c686b286">pism::energy::BedThermalUnit::FromOptions</a></div><div class="ttdeci">static std::shared_ptr< BedThermalUnit > FromOptions(std::shared_ptr< const Grid > g, std::shared_ptr< const Context > ctx)</div><div class="ttdef"><b>Definition:</b> <a href="BedThermalUnit_8cc_source.html#l00079">BedThermalUnit.cc:79</a></div></div>
<div class="ttc" id="aclasspism_1_1energy_1_1BedThermalUnit_a8123a093ba1065e040baf8c5f4353267_html_a8123a093ba1065e040baf8c5f4353267"><div class="ttname"><a href="classpism_1_1energy_1_1BedThermalUnit_a8123a093ba1065e040baf8c5f4353267.html#a8123a093ba1065e040baf8c5f4353267">pism::energy::BedThermalUnit::define_model_state_impl</a></div><div class="ttdeci">virtual void define_model_state_impl(const File &output) const</div><div class="ttdoc">The default (empty implementation).</div><div class="ttdef"><b>Definition:</b> <a href="BedThermalUnit_8cc_source.html#l00182">BedThermalUnit.cc:182</a></div></div>
<div class="ttc" id="aclasspism_1_1energy_1_1BedThermalUnit_a993e7c538a2e7556c39c4d2973d9a28b_html_a993e7c538a2e7556c39c4d2973d9a28b"><div class="ttname"><a href="classpism_1_1energy_1_1BedThermalUnit_a993e7c538a2e7556c39c4d2973d9a28b.html#a993e7c538a2e7556c39c4d2973d9a28b">pism::energy::BedThermalUnit::write_model_state_impl</a></div><div class="ttdeci">virtual void write_model_state_impl(const File &output) const</div><div class="ttdoc">The default (empty implementation).</div><div class="ttdef"><b>Definition:</b> <a href="BedThermalUnit_8cc_source.html#l00186">BedThermalUnit.cc:186</a></div></div>
<div class="ttc" id="aclasspism_1_1energy_1_1BedThermalUnit_a9aa4a9448e30c0dba0bf72adafff15a8_html_a9aa4a9448e30c0dba0bf72adafff15a8"><div class="ttname"><a href="classpism_1_1energy_1_1BedThermalUnit_a9aa4a9448e30c0dba0bf72adafff15a8.html#a9aa4a9448e30c0dba0bf72adafff15a8">pism::energy::BedThermalUnit::vertical_spacing_impl</a></div><div class="ttdeci">virtual double vertical_spacing_impl() const =0</div></div>
<div class="ttc" id="aclasspism_1_1energy_1_1BedThermalUnit_aae52fe78cdf59fc20380f72eb34eda02_html_aae52fe78cdf59fc20380f72eb34eda02"><div class="ttname"><a href="classpism_1_1energy_1_1BedThermalUnit_aae52fe78cdf59fc20380f72eb34eda02.html#aae52fe78cdf59fc20380f72eb34eda02">pism::energy::BedThermalUnit::diagnostics_impl</a></div><div class="ttdeci">virtual DiagnosticList diagnostics_impl() const</div><div class="ttdef"><b>Definition:</b> <a href="BedThermalUnit_8cc_source.html#l00190">BedThermalUnit.cc:190</a></div></div>
<div class="ttc" id="aclasspism_1_1energy_1_1BedThermalUnit_ab54d7fc49cfdcf84304b92387c5de025_html_ab54d7fc49cfdcf84304b92387c5de025"><div class="ttname"><a href="classpism_1_1energy_1_1BedThermalUnit_ab54d7fc49cfdcf84304b92387c5de025.html#ab54d7fc49cfdcf84304b92387c5de025">pism::energy::BedThermalUnit::Mz_impl</a></div><div class="ttdeci">virtual unsigned int Mz_impl() const =0</div></div>
<div class="ttc" id="aclasspism_1_1energy_1_1BedThermalUnit_ac059f034933c5eb3997114b18f9e3f5b_html_ac059f034933c5eb3997114b18f9e3f5b"><div class="ttname"><a href="classpism_1_1energy_1_1BedThermalUnit_ac059f034933c5eb3997114b18f9e3f5b.html#ac059f034933c5eb3997114b18f9e3f5b">pism::energy::BedThermalUnit::vertical_spacing</a></div><div class="ttdeci">double vertical_spacing() const</div><div class="ttdef"><b>Definition:</b> <a href="BedThermalUnit_8cc_source.html#l00164">BedThermalUnit.cc:164</a></div></div>
<div class="ttc" id="aclasspism_1_1energy_1_1BedThermalUnit_acc771778288822c79a0f6e09a26f04c7_html_acc771778288822c79a0f6e09a26f04c7"><div class="ttname"><a href="classpism_1_1energy_1_1BedThermalUnit_acc771778288822c79a0f6e09a26f04c7.html#acc771778288822c79a0f6e09a26f04c7">pism::energy::BedThermalUnit::flux_through_bottom_surface</a></div><div class="ttdeci">const array::Scalar & flux_through_bottom_surface() const</div><div class="ttdoc">Return the upward heat flux through the bottom surface of the bedrock thermal layer.</div><div class="ttdef"><b>Definition:</b> <a href="BedThermalUnit_8cc_source.html#l00210">BedThermalUnit.cc:210</a></div></div>
<div class="ttc" id="aclasspism_1_1energy_1_1BedThermalUnit_adfc811194c0ddcce465f80c9f7a5b4ef_html_adfc811194c0ddcce465f80c9f7a5b4ef"><div class="ttname"><a href="classpism_1_1energy_1_1BedThermalUnit_adfc811194c0ddcce465f80c9f7a5b4ef.html#adfc811194c0ddcce465f80c9f7a5b4ef">pism::energy::BedThermalUnit::m_top_surface_flux</a></div><div class="ttdeci">array::Scalar m_top_surface_flux</div><div class="ttdoc">upward heat flux through the top surface of the bed thermal layer</div><div class="ttdef"><b>Definition:</b> <a href="BedThermalUnit_8hh_source.html#l00151">BedThermalUnit.hh:151</a></div></div>
<div class="ttc" id="aclasspism_1_1energy_1_1BedThermalUnit_ae1f93a7dbc10618f045c577235b80111_html_ae1f93a7dbc10618f045c577235b80111"><div class="ttname"><a href="classpism_1_1energy_1_1BedThermalUnit_ae1f93a7dbc10618f045c577235b80111.html#ae1f93a7dbc10618f045c577235b80111">pism::energy::BedThermalUnit::update_impl</a></div><div class="ttdeci">virtual void update_impl(const array::Scalar &bedrock_top_temperature, double t, double dt)=0</div></div>
<div class="ttc" id="aclasspism_1_1energy_1_1BedThermalUnit_af6dda43e1b39561c1243f913ff7492f1_html_af6dda43e1b39561c1243f913ff7492f1"><div class="ttname"><a href="classpism_1_1energy_1_1BedThermalUnit_af6dda43e1b39561c1243f913ff7492f1.html#af6dda43e1b39561c1243f913ff7492f1">pism::energy::BedThermalUnit::Mz</a></div><div class="ttdeci">unsigned int Mz() const</div><div class="ttdef"><b>Definition:</b> <a href="BedThermalUnit_8cc_source.html#l00178">BedThermalUnit.cc:178</a></div></div>
<div class="ttc" id="aclasspism_1_1energy_1_1BedThermalUnit_html"><div class="ttname"><a href="classpism_1_1energy_1_1BedThermalUnit.html">pism::energy::BedThermalUnit</a></div><div class="ttdoc">Given the temperature of the top of the bedrock, for the duration of one time-step,...</div><div class="ttdef"><b>Definition:</b> <a href="BedThermalUnit_8hh_source.html#l00101">BedThermalUnit.hh:101</a></div></div>
<div class="ttc" id="aclasspism_1_1grid_1_1InputGridInfo_a1930bb13d037a179d78fc90b1b995975_html_a1930bb13d037a179d78fc90b1b995975"><div class="ttname"><a href="classpism_1_1grid_1_1InputGridInfo_a1930bb13d037a179d78fc90b1b995975.html#a1930bb13d037a179d78fc90b1b995975">pism::grid::InputGridInfo::z_min</a></div><div class="ttdeci">double z_min</div><div class="ttdoc">minimal value of the z dimension</div><div class="ttdef"><b>Definition:</b> <a href="Grid_8hh_source.html#l00081">Grid.hh:81</a></div></div>
<div class="ttc" id="aclasspism_1_1grid_1_1InputGridInfo_a85eec189ab85091dc7a95acac4b7c6c4_html_a85eec189ab85091dc7a95acac4b7c6c4"><div class="ttname"><a href="classpism_1_1grid_1_1InputGridInfo_a85eec189ab85091dc7a95acac4b7c6c4.html#a85eec189ab85091dc7a95acac4b7c6c4">pism::grid::InputGridInfo::z</a></div><div class="ttdeci">std::vector< double > z</div><div class="ttdoc">z coordinates</div><div class="ttdef"><b>Definition:</b> <a href="Grid_8hh_source.html#l00090">Grid.hh:90</a></div></div>
<div class="ttc" id="aclasspism_1_1grid_1_1InputGridInfo_html"><div class="ttname"><a href="classpism_1_1grid_1_1InputGridInfo.html">pism::grid::InputGridInfo</a></div><div class="ttdoc">Contains parameters of an input file grid.</div><div class="ttdef"><b>Definition:</b> <a href="Grid_8hh_source.html#l00065">Grid.hh:65</a></div></div>
<div class="ttc" id="aclasspism_1_1io_1_1Default_a81301b55ee990a23a3b8f8acde39f417_html_a81301b55ee990a23a3b8f8acde39f417"><div class="ttname"><a href="classpism_1_1io_1_1Default_a81301b55ee990a23a3b8f8acde39f417.html#a81301b55ee990a23a3b8f8acde39f417">pism::io::Default::Nil</a></div><div class="ttdeci">static Default Nil()</div><div class="ttdef"><b>Definition:</b> <a href="IO__Flags_8hh_source.html#l00097">IO_Flags.hh:97</a></div></div>
<div class="ttc" id="aclasspism_1_1io_1_1Default_html"><div class="ttname"><a href="classpism_1_1io_1_1Default.html">pism::io::Default</a></div><div class="ttdef"><b>Definition:</b> <a href="IO__Flags_8hh_source.html#l00091">IO_Flags.hh:91</a></div></div>
<div class="ttc" id="anamespacepism_1_1grid_a4de798cae6a9a0aacee8b2309b7a9db1_html_a4de798cae6a9a0aacee8b2309b7a9db1a1e3e0626398aaf53976610cb510ac34a"><div class="ttname"><a href="namespacepism_1_1grid_a4de798cae6a9a0aacee8b2309b7a9db1.html#a4de798cae6a9a0aacee8b2309b7a9db1a1e3e0626398aaf53976610cb510ac34a">pism::grid::CELL_CENTER</a></div><div class="ttdeci">@ CELL_CENTER</div><div class="ttdef"><b>Definition:</b> <a href="Grid_8hh_source.html#l00053">Grid.hh:53</a></div></div>
<div class="ttc" id="anamespacepism_1_1io_a0caba8881b0d36c8cc1eccfa13c0e81f_html_a0caba8881b0d36c8cc1eccfa13c0e81fa6bde5f56cc5b2335b46d08f2ac2985be"><div class="ttname"><a href="namespacepism_1_1io_a0caba8881b0d36c8cc1eccfa13c0e81f.html#a0caba8881b0d36c8cc1eccfa13c0e81fa6bde5f56cc5b2335b46d08f2ac2985be">pism::io::PISM_NETCDF3</a></div><div class="ttdeci">@ PISM_NETCDF3</div><div class="ttdef"><b>Definition:</b> <a href="IO__Flags_8hh_source.html#l00057">IO_Flags.hh:57</a></div></div>
<div class="ttc" id="anamespacepism_1_1io_a12c1fd23e92335e2396baab0354b262f_html_a12c1fd23e92335e2396baab0354b262fabb5d91fa1da1214c24d193a75f11f0a2"><div class="ttname"><a href="namespacepism_1_1io_a12c1fd23e92335e2396baab0354b262f.html#a12c1fd23e92335e2396baab0354b262fabb5d91fa1da1214c24d193a75f11f0a2">pism::io::PISM_READONLY</a></div><div class="ttdeci">@ PISM_READONLY</div><div class="ttdoc">open an existing file for reading only</div><div class="ttdef"><b>Definition:</b> <a href="IO__Flags_8hh_source.html#l00072">IO_Flags.hh:72</a></div></div>
<div class="ttc" id="anamespacepism_1_1io_a53ffb40793c398e10644fbd2ecda3e77_html_a53ffb40793c398e10644fbd2ecda3e77a6a72c64f82168bec6bf8b648a86648de"><div class="ttname"><a href="namespacepism_1_1io_a53ffb40793c398e10644fbd2ecda3e77.html#a53ffb40793c398e10644fbd2ecda3e77a6a72c64f82168bec6bf8b648a86648de">pism::io::PISM_DOUBLE</a></div><div class="ttdeci">@ PISM_DOUBLE</div><div class="ttdef"><b>Definition:</b> <a href="IO__Flags_8hh_source.html#l00053">IO_Flags.hh:52</a></div></div>
<div class="ttc" id="anamespacepism_a44fca05de5c3d0cb82c4a2910666b6e2_html_a44fca05de5c3d0cb82c4a2910666b6e2"><div class="ttname"><a href="namespacepism_a44fca05de5c3d0cb82c4a2910666b6e2.html#a44fca05de5c3d0cb82c4a2910666b6e2">pism::process_input_options</a></div><div class="ttdeci">InputOptions process_input_options(MPI_Comm com, Config::ConstPtr config)</div><div class="ttdef"><b>Definition:</b> <a href="Component_8cc_source.html#l00043">Component.cc:43</a></div></div>
<div class="ttc" id="anamespacepism_a47d754ed3e959d5866b02a1b78b6a5b5_html_a47d754ed3e959d5866b02a1b78b6a5b5"><div class="ttname"><a href="namespacepism_a47d754ed3e959d5866b02a1b78b6a5b5.html#a47d754ed3e959d5866b02a1b78b6a5b5">pism::g</a></div><div class="ttdeci">static const double g</div><div class="ttdef"><b>Definition:</b> <a href="exactTestP_8cc_source.html#l00036">exactTestP.cc:36</a></div></div>
<div class="ttc" id="anamespacepism_a56e80801555b7f36f4dd28941739654a_html_a56e80801555b7f36f4dd28941739654aa260aa6280296d9fffc338c9ecdaba861"><div class="ttname"><a href="namespacepism_a56e80801555b7f36f4dd28941739654a.html#a56e80801555b7f36f4dd28941739654aa260aa6280296d9fffc338c9ecdaba861">pism::INIT_BOOTSTRAP</a></div><div class="ttdeci">@ INIT_BOOTSTRAP</div><div class="ttdef"><b>Definition:</b> <a href="Component_8hh_source.html#l00056">Component.hh:56</a></div></div>
<div class="ttc" id="anamespacepism_a56e80801555b7f36f4dd28941739654a_html_a56e80801555b7f36f4dd28941739654aa5059a278caac36d24acebb622448a8dd"><div class="ttname"><a href="namespacepism_a56e80801555b7f36f4dd28941739654a.html#a56e80801555b7f36f4dd28941739654aa5059a278caac36d24acebb622448a8dd">pism::INIT_OTHER</a></div><div class="ttdeci">@ INIT_OTHER</div><div class="ttdef"><b>Definition:</b> <a href="Component_8hh_source.html#l00056">Component.hh:56</a></div></div>
<div class="ttc" id="anamespacepism_a56e80801555b7f36f4dd28941739654a_html_a56e80801555b7f36f4dd28941739654aa6aff4b43552f00d5cc331453ff4029bc"><div class="ttname"><a href="namespacepism_a56e80801555b7f36f4dd28941739654a.html#a56e80801555b7f36f4dd28941739654aa6aff4b43552f00d5cc331453ff4029bc">pism::INIT_RESTART</a></div><div class="ttdeci">@ INIT_RESTART</div><div class="ttdef"><b>Definition:</b> <a href="Component_8hh_source.html#l00056">Component.hh:56</a></div></div>
<div class="ttc" id="anamespacepism_a6154a990ba873c6ca606d8a320c441ac_html_a6154a990ba873c6ca606d8a320c441ac"><div class="ttname"><a href="namespacepism_a6154a990ba873c6ca606d8a320c441ac.html#a6154a990ba873c6ca606d8a320c441ac">pism::DiagnosticList</a></div><div class="ttdeci">std::map< std::string, Diagnostic::Ptr > DiagnosticList</div><div class="ttdef"><b>Definition:</b> <a href="Diagnostic_8hh_source.html#l00125">Diagnostic.hh:125</a></div></div>
<div class="ttc" id="anamespacepism_html"><div class="ttname"><a href="namespacepism.html">pism</a></div><div class="ttdef"><b>Definition:</b> <a href="AgeColumnSystem_8cc_source.html#l00023">AgeColumnSystem.cc:23</a></div></div>
<div class="ttc" id="astructpism_1_1InputOptions_a0fe5db51286e55c31b1575dc9ecc5d70_html_a0fe5db51286e55c31b1575dc9ecc5d70"><div class="ttname"><a href="structpism_1_1InputOptions_a0fe5db51286e55c31b1575dc9ecc5d70.html#a0fe5db51286e55c31b1575dc9ecc5d70">pism::InputOptions::type</a></div><div class="ttdeci">InitializationType type</div><div class="ttdoc">initialization type</div><div class="ttdef"><b>Definition:</b> <a href="Component_8hh_source.html#l00061">Component.hh:61</a></div></div>
<div class="ttc" id="astructpism_1_1InputOptions_a2dc298f0e83b951fa1df5eab910639e5_html_a2dc298f0e83b951fa1df5eab910639e5"><div class="ttname"><a href="structpism_1_1InputOptions_a2dc298f0e83b951fa1df5eab910639e5.html#a2dc298f0e83b951fa1df5eab910639e5">pism::InputOptions::filename</a></div><div class="ttdeci">std::string filename</div><div class="ttdoc">name of the input file (if applicable)</div><div class="ttdef"><b>Definition:</b> <a href="Component_8hh_source.html#l00063">Component.hh:63</a></div></div>
<div class="ttc" id="astructpism_1_1InputOptions_ae33c7fb4ca1317444d959bc3e1514ba4_html_ae33c7fb4ca1317444d959bc3e1514ba4"><div class="ttname"><a href="structpism_1_1InputOptions_ae33c7fb4ca1317444d959bc3e1514ba4.html#ae33c7fb4ca1317444d959bc3e1514ba4">pism::InputOptions::record</a></div><div class="ttdeci">unsigned int record</div><div class="ttdoc">index of the record to re-start from</div><div class="ttdef"><b>Definition:</b> <a href="Component_8hh_source.html#l00065">Component.hh:65</a></div></div>
<div class="ttc" id="astructpism_1_1InputOptions_html"><div class="ttname"><a href="structpism_1_1InputOptions.html">pism::InputOptions</a></div><div class="ttdef"><b>Definition:</b> <a href="Component_8hh_source.html#l00058">Component.hh:58</a></div></div>
<div class="ttc" id="astructpism_1_1energy_1_1BTUGrid_a13bfdb207f2bfab1bc41772bf2c588d7_html_a13bfdb207f2bfab1bc41772bf2c588d7"><div class="ttname"><a href="structpism_1_1energy_1_1BTUGrid_a13bfdb207f2bfab1bc41772bf2c588d7.html#a13bfdb207f2bfab1bc41772bf2c588d7">pism::energy::BTUGrid::FromOptions</a></div><div class="ttdeci">static BTUGrid FromOptions(std::shared_ptr< const Context > ctx)</div><div class="ttdef"><b>Definition:</b> <a href="BedThermalUnit_8cc_source.html#l00038">BedThermalUnit.cc:38</a></div></div>
<div class="ttc" id="astructpism_1_1energy_1_1BTUGrid_a2639aee2143db451189cf24f7ce687b1_html_a2639aee2143db451189cf24f7ce687b1"><div class="ttname"><a href="structpism_1_1energy_1_1BTUGrid_a2639aee2143db451189cf24f7ce687b1.html#a2639aee2143db451189cf24f7ce687b1">pism::energy::BTUGrid::Mbz</a></div><div class="ttdeci">unsigned int Mbz</div><div class="ttdef"><b>Definition:</b> <a href="BedThermalUnit_8hh_source.html#l00040">BedThermalUnit.hh:40</a></div></div>
<div class="ttc" id="astructpism_1_1energy_1_1BTUGrid_a4c3d764e2a054c54dd16c8d51002c480_html_a4c3d764e2a054c54dd16c8d51002c480"><div class="ttname"><a href="structpism_1_1energy_1_1BTUGrid_a4c3d764e2a054c54dd16c8d51002c480.html#a4c3d764e2a054c54dd16c8d51002c480">pism::energy::BTUGrid::BTUGrid</a></div><div class="ttdeci">BTUGrid(std::shared_ptr< const Context > ctx)</div><div class="ttdef"><b>Definition:</b> <a href="BedThermalUnit_8cc_source.html#l00032">BedThermalUnit.cc:32</a></div></div>
<div class="ttc" id="astructpism_1_1energy_1_1BTUGrid_ae27f635528fdf2bfbf27b05c7878ffb2_html_ae27f635528fdf2bfbf27b05c7878ffb2"><div class="ttname"><a href="structpism_1_1energy_1_1BTUGrid_ae27f635528fdf2bfbf27b05c7878ffb2.html#ae27f635528fdf2bfbf27b05c7878ffb2">pism::energy::BTUGrid::Lbz</a></div><div class="ttdeci">double Lbz</div><div class="ttdef"><b>Definition:</b> <a href="BedThermalUnit_8hh_source.html#l00041">BedThermalUnit.hh:41</a></div></div>
<div class="ttc" id="astructpism_1_1energy_1_1BTUGrid_html"><div class="ttname"><a href="structpism_1_1energy_1_1BTUGrid.html">pism::energy::BTUGrid</a></div><div class="ttdef"><b>Definition:</b> <a href="BedThermalUnit_8hh_source.html#l00036">BedThermalUnit.hh:36</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
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
</small></address>
</body>
</html>