-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBedThermalUnit_8hh_source.html
292 lines (290 loc) · 55 KB
/
BedThermalUnit_8hh_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
<!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.hh 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 committed by Constantine Khrulev on 2024-12-04 13:36:58 -0900</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.hh</div> </div>
</div><!--header-->
<div class="contents">
<a href="BedThermalUnit_8hh.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, 2022, 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">#ifndef _PISMBEDTHERMALUNIT_H_</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#define _PISMBEDTHERMALUNIT_H_</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  </div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#include "pism/util/Component.hh"</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  </div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include "pism/util/Diagnostic.hh"</span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include <memory></span></div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  </div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="keyword">namespace </span><a class="code" href="namespacepism.html">pism</a> {</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">class </span>Context;</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="keyword">class </span>Vars;</div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="comment"></span> </div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="comment">//! @brief Energy balance models and utilities.</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="comment"></span><span class="keyword">namespace </span>energy {</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  </div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="comment">// Vertical grid information for BTU_Full.</span></div>
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="structpism_1_1energy_1_1BTUGrid.html"> 36</a></span> <span class="keyword">struct </span><a class="code" href="structpism_1_1energy_1_1BTUGrid.html">BTUGrid</a> {</div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <a class="code" href="structpism_1_1energy_1_1BTUGrid_a4c3d764e2a054c54dd16c8d51002c480.html#a4c3d764e2a054c54dd16c8d51002c480">BTUGrid</a>(std::shared_ptr<const Context> ctx);</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  <span class="keyword">static</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">FromOptions</a>(std::shared_ptr<const Context> ctx);</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  </div>
<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="structpism_1_1energy_1_1BTUGrid_a2639aee2143db451189cf24f7ce687b1.html#a2639aee2143db451189cf24f7ce687b1"> 40</a></span>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structpism_1_1energy_1_1BTUGrid_a2639aee2143db451189cf24f7ce687b1.html#a2639aee2143db451189cf24f7ce687b1">Mbz</a>; <span class="comment">// number of vertical levels</span></div>
<div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="structpism_1_1energy_1_1BTUGrid_ae27f635528fdf2bfbf27b05c7878ffb2.html#ae27f635528fdf2bfbf27b05c7878ffb2"> 41</a></span>  <span class="keywordtype">double</span> <a class="code" href="structpism_1_1energy_1_1BTUGrid_ae27f635528fdf2bfbf27b05c7878ffb2.html#ae27f635528fdf2bfbf27b05c7878ffb2">Lbz</a>; <span class="comment">// depth of the bed thermal layer</span></div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> };</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="comment"></span> </div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="comment">//! Given the temperature of the top of the bedrock, for the duration of one time-step, provides upward geothermal flux at that interface at the end of the time-step.</span></div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="comment"></span><span class="comment">/*!</span></div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="comment"> The geothermal flux actually applied to the base of an ice sheet is dependent, over time,</span></div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="comment"> on the temperature of the basal ice itself. The purpose of a bedrock thermal layer</span></div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="comment"> in an ice sheet model is to implement this dependency by using a physical model</span></div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="comment"> for the temperature within that layer, the upper lithosphere. Because the</span></div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span> <span class="comment"> upper part of the lithosphere stores or releases energy into the ice,</span></div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span> <span class="comment"> the typical lithosphere geothermal flux rate is not the same thing as the</span></div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span> <span class="comment"> geothermal flux applied to the base of the ice. This issue has long been</span></div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span> <span class="comment"> recognized by ice sheet modelers [%e.g. \ref RitzFabreLetreguilly].</span></div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span> <span class="comment"></span> </div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span> <span class="comment"> For instance, suppose the ice sheet is in a balanced state in which the geothermal</span></div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span> <span class="comment"> flux deep in the crust is equal to the heat flux into the ice base. If the</span></div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span> <span class="comment"> near-surface ice cools from this state then, because the ice temperature gradient</span></div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span> <span class="comment"> is now greater in magnitude, between the warm bedrock and the cooler ice, the ice</span></div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span> <span class="comment"> will for some period receive more than the deep geothermal flux rate. Similarly,</span></div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span> <span class="comment"> if the ice warms from the balanced state then the temperature difference with</span></div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span> <span class="comment"> the bedrock has become smaller and the magnitude of the ice basal heat flux will</span></div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span> <span class="comment"> be less than the deep geothermal rate.</span></div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span> <span class="comment"></span> </div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span> <span class="comment"> We regard the lithosphere geothermal flux rate, which is applied in this model</span></div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span> <span class="comment"> to the base of the bedrock thermal layer, as a time-independent quantity. This</span></div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span> <span class="comment"> concept is the same as in all published ice sheet models, to our knowledge.</span></div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span> <span class="comment"></span> </div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span> <span class="comment"> Because the relevant layer of bedrock below an ice sheet is typically shallow,</span></div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span> <span class="comment"> modeling the bedrock temperature is quite simple.</span></div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span> <span class="comment"> Let \f$T_b(t,x,y,z)\f$ be the temperature of the bedrock layer, for elevations</span></div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span> <span class="comment"> \f$-L_b \le z \le 0\f$. In this routine, \f$z=0\f$ refers to the top of the</span></div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span> <span class="comment"> bedrock, the ice/bedrock interface. (Note \f$z=0\f$ is the base of the ice in</span></div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span> <span class="comment"> IceModel, and thus a different location if ice is floating.)</span></div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span> <span class="comment"> Let \f$G\f$ be the lithosphere geothermal flux rate, namely the PISM input</span></div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span> <span class="comment"> variable `bheatflx`; see Related Page \ref std_names . Let \f$k_b\f$</span></div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span> <span class="comment"> = `bedrock_thermal_conductivity` in pism_config.cdl) be the constant thermal</span></div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span> <span class="comment"> conductivity of the upper lithosphere. In these terms the actual</span></div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span> <span class="comment"> upward heat flux into the ice/bedrock interface is the quantity,</span></div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span> <span class="comment"> \f[G_0 = -k_b \frac{\partial T_b}{\partial z}.\f]</span></div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span> <span class="comment"> This is the \e output of the method top_heat_flux() in this class.</span></div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span> <span class="comment"></span> </div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span> <span class="comment"> The evolution equation solved in this class, for which a timestep is done by the</span></div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span> <span class="comment"> update() method, is the standard 1D heat equation</span></div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span> <span class="comment"> \f[\rho_b c_b \frac{\partial T_b}{\partial t} = k_b \frac{\partial^2 T_b}{\partial z^2}\f]</span></div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span> <span class="comment"> where \f$\rho_b\f$ = `bedrock_thermal_density` and \f$c_b\f$ =</span></div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span> <span class="comment"> `bedrock_thermal_specific_heat_capacity` in pism_config.cdl.</span></div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span> <span class="comment"></span> </div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span> <span class="comment"> If `n_levels` >= 3 then everything is the general case. The lithospheric temperature</span></div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span> <span class="comment"> in `temp` is saved in files as `litho_temp`. The top_heat_flux()</span></div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span> <span class="comment"> method uses second-order differencing to compute the values of \f$G_0\f$.</span></div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span> <span class="comment"></span> </div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span> <span class="comment"> If `n_levels` <= 1 then this object becomes very simplified: there is no internal</span></div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span> <span class="comment"> state in array::Array3D temp. The update() and allocate() methods are null,</span></div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span> <span class="comment"> and the top_heat_flux() method does nothing other than to copy the</span></div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span> <span class="comment"> field \f$G\f$ = `bheatflx` into `result`.</span></div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span> <span class="comment"></span> </div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span> <span class="comment"> If `n_levels` == 2 then everything is the general case except that </span></div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span> <span class="comment"> top_heat_flux() method uses first-order differencing to compute the</span></div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span> <span class="comment"> values of \f$G_0\f$.</span></div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span> <span class="comment">*/</span></div>
<div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="classpism_1_1energy_1_1BedThermalUnit.html"> 101</a></span> <span class="keyword">class </span><a class="code" href="classpism_1_1energy_1_1BedThermalUnit.html">BedThermalUnit</a> : <span class="keyword">public</span> <a class="code" href="classpism_1_1Component.html">Component</a> {</div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span> <span class="keyword">public</span>:</div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  </div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <span class="keyword">static</span> std::shared_ptr<BedThermalUnit> <a class="code" href="classpism_1_1energy_1_1BedThermalUnit_a7dcc796be115ecbea0b3bf73c686b286.html#a7dcc796be115ecbea0b3bf73c686b286">FromOptions</a>(std::shared_ptr<const Grid> <a class="code" href="namespacepism_a47d754ed3e959d5866b02a1b78b6a5b5.html#a47d754ed3e959d5866b02a1b78b6a5b5">g</a>,</div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  std::shared_ptr<const Context> ctx);</div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  </div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <a class="code" href="classpism_1_1energy_1_1BedThermalUnit_a10155eafebd0a3ea9e376b500a41030d.html#a10155eafebd0a3ea9e376b500a41030d">BedThermalUnit</a>(std::shared_ptr<const Grid> <a class="code" href="namespacepism_a47d754ed3e959d5866b02a1b78b6a5b5.html#a47d754ed3e959d5866b02a1b78b6a5b5">g</a>);</div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  </div>
<div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="classpism_1_1energy_1_1BedThermalUnit_a4de107a23fb9a9598ca3fd12e1e74249.html#a4de107a23fb9a9598ca3fd12e1e74249"> 109</a></span>  <span class="keyword">virtual</span> <a class="code" href="classpism_1_1energy_1_1BedThermalUnit_a4de107a23fb9a9598ca3fd12e1e74249.html#a4de107a23fb9a9598ca3fd12e1e74249">~BedThermalUnit</a>() = <span class="keywordflow">default</span>;</div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  </div>
<div class="line"><a name="l00111"></a><span class="lineno"><a class="line" href="classpism_1_1energy_1_1BedThermalUnit_ae0fc66d1f67e77775daa640af1ae9186.html#ae0fc66d1f67e77775daa640af1ae9186"> 111</a></span>  <span class="keyword">typedef</span> std::shared_ptr<BedThermalUnit> <a class="code" href="classpism_1_1energy_1_1BedThermalUnit_ae0fc66d1f67e77775daa640af1ae9186.html#ae0fc66d1f67e77775daa640af1ae9186">Ptr</a>;</div>
<div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="classpism_1_1energy_1_1BedThermalUnit_a38d75a086c8d7cac7c6b1ba425768769.html#a38d75a086c8d7cac7c6b1ba425768769"> 112</a></span>  <span class="keyword">typedef</span> std::shared_ptr<const BedThermalUnit> <a class="code" href="classpism_1_1energy_1_1BedThermalUnit_a38d75a086c8d7cac7c6b1ba425768769.html#a38d75a086c8d7cac7c6b1ba425768769">ConstPtr</a>;</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>  <span class="keywordtype">void</span> <a class="code" href="classpism_1_1energy_1_1BedThermalUnit_a6a2dfb1142ba186aa5fac12a69efb0d6.html#a6a2dfb1142ba186aa5fac12a69efb0d6">init</a>(<span class="keyword">const</span> <a class="code" href="structpism_1_1InputOptions.html">InputOptions</a> &opts);</div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span> <span class="comment"></span> </div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span> <span class="comment"> //! Return the upward heat flux through the top surface of the bedrock thermal layer.</span></div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span> <span class="comment"></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">flux_through_top_surface</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span> <span class="comment"></span> </div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span> <span class="comment"> //! Return the upward heat flux through the bottom surface of the bedrock thermal layer.</span></div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span> <span class="comment"></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">flux_through_bottom_surface</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  </div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <span class="keywordtype">void</span> <a class="code" href="classpism_1_1energy_1_1BedThermalUnit_a3ac86dafc8cc8cf46f986c7228867104.html#a3ac86dafc8cc8cf46f986c7228867104">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="l00123"></a><span class="lineno"> 123</span>  <span class="keywordtype">double</span> t, <span class="keywordtype">double</span> dt);</div>
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  </div>
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  <span class="keywordtype">double</span> <a class="code" href="classpism_1_1energy_1_1BedThermalUnit_ac059f034933c5eb3997114b18f9e3f5b.html#ac059f034933c5eb3997114b18f9e3f5b">vertical_spacing</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  <span class="keywordtype">double</span> <a class="code" href="classpism_1_1energy_1_1BedThermalUnit_a1c2a795ce7d829d5489f03da25ba74cd.html#a1c2a795ce7d829d5489f03da25ba74cd">depth</a>() <span class="keyword">const</span>;</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>  <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="classpism_1_1energy_1_1BedThermalUnit_af6dda43e1b39561c1243f913ff7492f1.html#af6dda43e1b39561c1243f913ff7492f1">Mz</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  </div>
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span> <span class="keyword">protected</span>:</div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classpism_1_1energy_1_1BedThermalUnit_a2fbeaea4c4f4cdba0317bfa2ad5585ea.html#a2fbeaea4c4f4cdba0317bfa2ad5585ea">initialize_bottom_surface_flux</a>();</div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  </div>
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classpism_1_1energy_1_1BedThermalUnit_a6443c4334e00de7c6e165030a4490d0a.html#a6443c4334e00de7c6e165030a4490d0a">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="l00134"></a><span class="lineno"> 134</span>  </div>
<div class="line"><a name="l00135"></a><span class="lineno"><a class="line" href="classpism_1_1energy_1_1BedThermalUnit_ae1f93a7dbc10618f045c577235b80111.html#ae1f93a7dbc10618f045c577235b80111"> 135</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classpism_1_1energy_1_1BedThermalUnit_ae1f93a7dbc10618f045c577235b80111.html#ae1f93a7dbc10618f045c577235b80111">update_impl</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="l00136"></a><span class="lineno"> 136</span>  <span class="keywordtype">double</span> t, <span class="keywordtype">double</span> dt) = 0;</div>
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  </div>
<div class="line"><a name="l00138"></a><span class="lineno"><a class="line" href="classpism_1_1energy_1_1BedThermalUnit_a9aa4a9448e30c0dba0bf72adafff15a8.html#a9aa4a9448e30c0dba0bf72adafff15a8"> 138</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">double</span> <a class="code" href="classpism_1_1energy_1_1BedThermalUnit_a9aa4a9448e30c0dba0bf72adafff15a8.html#a9aa4a9448e30c0dba0bf72adafff15a8">vertical_spacing_impl</a>() <span class="keyword">const</span> = 0;</div>
<div class="line"><a name="l00139"></a><span class="lineno"><a class="line" href="classpism_1_1energy_1_1BedThermalUnit_a7b8432ffbed9e58098c255c2d6235f0f.html#a7b8432ffbed9e58098c255c2d6235f0f"> 139</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">double</span> <a class="code" href="classpism_1_1energy_1_1BedThermalUnit_a7b8432ffbed9e58098c255c2d6235f0f.html#a7b8432ffbed9e58098c255c2d6235f0f">depth_impl</a>() <span class="keyword">const</span> = 0;</div>
<div class="line"><a name="l00140"></a><span class="lineno"><a class="line" href="classpism_1_1energy_1_1BedThermalUnit_ab54d7fc49cfdcf84304b92387c5de025.html#ab54d7fc49cfdcf84304b92387c5de025"> 140</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="classpism_1_1energy_1_1BedThermalUnit_ab54d7fc49cfdcf84304b92387c5de025.html#ab54d7fc49cfdcf84304b92387c5de025">Mz_impl</a>() <span class="keyword">const</span> = 0;</div>
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  </div>
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classpism_1_1energy_1_1BedThermalUnit_a8123a093ba1065e040baf8c5f4353267.html#a8123a093ba1065e040baf8c5f4353267">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="l00143"></a><span class="lineno"> 143</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classpism_1_1energy_1_1BedThermalUnit_a993e7c538a2e7556c39c4d2973d9a28b.html#a993e7c538a2e7556c39c4d2973d9a28b">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="l00144"></a><span class="lineno"> 144</span>  </div>
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  <span class="keyword">virtual</span> <a class="code" href="namespacepism_a6154a990ba873c6ca606d8a320c441ac.html#a6154a990ba873c6ca606d8a320c441ac">DiagnosticList</a> <a class="code" href="classpism_1_1energy_1_1BedThermalUnit_aae52fe78cdf59fc20380f72eb34eda02.html#aae52fe78cdf59fc20380f72eb34eda02">diagnostics_impl</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span> <span class="comment"></span> </div>
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span> <span class="comment"> //! upward heat flux through the bottom surface of the bed thermal layer</span></div>
<div class="line"><a name="l00148"></a><span class="lineno"><a class="line" href="classpism_1_1energy_1_1BedThermalUnit_a5c7563d7cfb2e6d1c0d8f2468a2a4ca8.html#a5c7563d7cfb2e6d1c0d8f2468a2a4ca8"> 148</a></span> <span class="comment"></span> <a class="code" href="classpism_1_1array_1_1Scalar.html">array::Scalar</a> <a class="code" href="classpism_1_1energy_1_1BedThermalUnit_a5c7563d7cfb2e6d1c0d8f2468a2a4ca8.html#a5c7563d7cfb2e6d1c0d8f2468a2a4ca8">m_bottom_surface_flux</a>;</div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span> <span class="comment"></span> </div>
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span> <span class="comment"> //! upward heat flux through the top surface of the bed thermal layer</span></div>
<div class="line"><a name="l00151"></a><span class="lineno"><a class="line" href="classpism_1_1energy_1_1BedThermalUnit_adfc811194c0ddcce465f80c9f7a5b4ef.html#adfc811194c0ddcce465f80c9f7a5b4ef"> 151</a></span> <span class="comment"></span> <a class="code" href="classpism_1_1array_1_1Scalar.html">array::Scalar</a> <a class="code" href="classpism_1_1energy_1_1BedThermalUnit_adfc811194c0ddcce465f80c9f7a5b4ef.html#adfc811194c0ddcce465f80c9f7a5b4ef">m_top_surface_flux</a>;</div>
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span> };</div>
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  </div>
<div class="line"><a name="l00154"></a><span class="lineno"><a class="line" href="classpism_1_1energy_1_1BTU__geothermal__flux__at__ground__level.html"> 154</a></span> <span class="keyword">class </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">public</span> <a class="code" href="classpism_1_1Diag.html">Diag</a><BedThermalUnit> {</div>
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span> <span class="keyword">public</span>:</div>
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  <a class="code" href="classpism_1_1energy_1_1BTU__geothermal__flux__at__ground__level_ab67cc051f8a23272dacdcffda74e4f64.html#ab67cc051f8a23272dacdcffda74e4f64">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="l00157"></a><span class="lineno"> 157</span> <span class="keyword">protected</span>:</div>
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  <span class="keyword">virtual</span> std::shared_ptr<array::Array> <a class="code" href="classpism_1_1energy_1_1BTU__geothermal__flux__at__ground__level_add140bb626dac5ef0b87acaf156fd720.html#add140bb626dac5ef0b87acaf156fd720">compute_impl</a>() <span class="keyword">const</span>;</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>  </div>
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span> } <span class="comment">// end of namespace energy</span></div>
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span> } <span class="comment">// end of namespace pism</span></div>
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  </div>
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span> <span class="preprocessor">#endif </span><span class="comment">/* _PISMBEDTHERMALUNIT_H_ */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  </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_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_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_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_a38d75a086c8d7cac7c6b1ba425768769_html_a38d75a086c8d7cac7c6b1ba425768769"><div class="ttname"><a href="classpism_1_1energy_1_1BedThermalUnit_a38d75a086c8d7cac7c6b1ba425768769.html#a38d75a086c8d7cac7c6b1ba425768769">pism::energy::BedThermalUnit::ConstPtr</a></div><div class="ttdeci">std::shared_ptr< const BedThermalUnit > ConstPtr</div><div class="ttdef"><b>Definition:</b> <a href="BedThermalUnit_8hh_source.html#l00112">BedThermalUnit.hh:112</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_a4de107a23fb9a9598ca3fd12e1e74249_html_a4de107a23fb9a9598ca3fd12e1e74249"><div class="ttname"><a href="classpism_1_1energy_1_1BedThermalUnit_a4de107a23fb9a9598ca3fd12e1e74249.html#a4de107a23fb9a9598ca3fd12e1e74249">pism::energy::BedThermalUnit::~BedThermalUnit</a></div><div class="ttdeci">virtual ~BedThermalUnit()=default</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_ae0fc66d1f67e77775daa640af1ae9186_html_ae0fc66d1f67e77775daa640af1ae9186"><div class="ttname"><a href="classpism_1_1energy_1_1BedThermalUnit_ae0fc66d1f67e77775daa640af1ae9186.html#ae0fc66d1f67e77775daa640af1ae9186">pism::energy::BedThermalUnit::Ptr</a></div><div class="ttdeci">std::shared_ptr< BedThermalUnit > Ptr</div><div class="ttdef"><b>Definition:</b> <a href="BedThermalUnit_8hh_source.html#l00111">BedThermalUnit.hh:111</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="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_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_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>