-
Notifications
You must be signed in to change notification settings - Fork 0
/
BlatterTestvanderVeen_8cc_source.html
331 lines (329 loc) · 71.7 KB
/
BlatterTestvanderVeen_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
<!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/stressbalance/blatter/verification/BlatterTestvanderVeen.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 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_337d79c4e85232f0487076e092bb4774.html">stressbalance</a></li><li class="navelem"><a class="el" href="dir_c9b2b73883624fafb10ae5f85b13ba58.html">blatter</a></li><li class="navelem"><a class="el" href="dir_f28e374c12bd1d8d4a5cdae6d0036dbc.html">verification</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">BlatterTestvanderVeen.cc</div> </div>
</div><!--header-->
<div class="contents">
<a href="BlatterTestvanderVeen_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) 2020, 2021, 2022, 2023 PISM Authors</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> <span class="comment">*/</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  </div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include "pism/stressbalance/blatter/verification/BlatterTestvanderVeen.hh"</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#include "pism/util/node_types.hh"</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  </div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include "pism/rheology/IsothermalGlen.hh"</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  </div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include "pism/stressbalance/blatter/verification/manufactured_solutions.hh"</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> <span class="keyword">namespace </span>stressbalance {</div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  </div>
<div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_ae48c4377f1059fcf3435a889af8c83b7.html#ae48c4377f1059fcf3435a889af8c83b7"> 30</a></span> <a class="code" href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_ae48c4377f1059fcf3435a889af8c83b7.html#ae48c4377f1059fcf3435a889af8c83b7">BlatterTestvanderVeen::BlatterTestvanderVeen</a>(std::shared_ptr<const Grid> grid,</div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  <span class="keywordtype">int</span> Mz, <span class="keywordtype">int</span> coarsening_factor)</div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  : <a class="code" href="classpism_1_1stressbalance_1_1Blatter.html">Blatter</a>(grid, Mz, coarsening_factor) {</div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  </div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  <span class="comment">// use the isothermal Glen flow law</span></div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  <a class="code" href="classpism_1_1stressbalance_1_1ShallowStressBalance_a6b739e49bbd63df7def997aafdd55d0d.html#a6b739e49bbd63df7def997aafdd55d0d">m_flow_law</a>.reset(<span class="keyword">new</span> <a class="code" href="classpism_1_1rheology_1_1IsothermalGlen.html">rheology::IsothermalGlen</a>(<span class="stringliteral">"stress_balance.blatter."</span>, *<a class="code" href="classpism_1_1Component_a28f298fc2133baae8cebf9dedf3b4d84.html#a28f298fc2133baae8cebf9dedf3b4d84">m_config</a>, <a class="code" href="classpism_1_1stressbalance_1_1ShallowStressBalance_ad08f0eae9ab20e9a29059ebc14931735.html#ad08f0eae9ab20e9a29059ebc14931735">m_EC</a>));</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>  <span class="comment">// make sure we use the same Glen exponent</span></div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  assert(<a class="code" href="classpism_1_1stressbalance_1_1ShallowStressBalance_a6b739e49bbd63df7def997aafdd55d0d.html#a6b739e49bbd63df7def997aafdd55d0d">m_flow_law</a>->exponent() == 3.0);</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  </div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <span class="comment">// make sure the grid is periodic in the Y direction</span></div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  assert(<a class="code" href="classpism_1_1Component_a745aa37bc1b5da6db5bfc280ecb3c811.html#a745aa37bc1b5da6db5bfc280ecb3c811">m_grid</a>->periodicity() == <a class="code" href="namespacepism_1_1grid_a368298223e3f3828fa1e4dcae12fbd3e.html#a368298223e3f3828fa1e4dcae12fbd3ea1f9bcf63b31683da22bcbcc6c03d4af2">grid::Y_PERIODIC</a>);</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">// store constant ice hardness (enthalpy and pressure values are irrelevant)</span></div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <a class="code" href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_a67238f65ad0f71978544ecfbff98240b.html#a67238f65ad0f71978544ecfbff98240b">m_B</a> = <a class="code" href="classpism_1_1stressbalance_1_1ShallowStressBalance_a6b739e49bbd63df7def997aafdd55d0d.html#a6b739e49bbd63df7def997aafdd55d0d">m_flow_law</a>->hardness(1e5, 0);</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  </div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="comment">// ice thickness (m)</span></div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <a class="code" href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_aa1f0bb9ef968c22125c266b78a97e1ad.html#aa1f0bb9ef968c22125c266b78a97e1ad">m_H0</a> = 600.0;</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="comment">// ice velocity (m / s)</span></div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <a class="code" href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_a3c007a71f61fa0aa5b8697a50bedff52.html#a3c007a71f61fa0aa5b8697a50bedff52">m_V0</a> = <a class="code" href="namespacepism_1_1units_aae3f4db8a6a2365e607a699bc61a5077.html#aae3f4db8a6a2365e607a699bc61a5077">convert</a>(<a class="code" href="classpism_1_1Component_a08f6b5a8e759c471d1a003804a8160ad.html#a08f6b5a8e759c471d1a003804a8160ad">m_sys</a>, 300.0, <span class="stringliteral">"m / year"</span>, <span class="stringliteral">"m / s"</span>);</div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  </div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <a class="code" href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_a11ad8b5d538f8ccfbbaf7935b24c89b6.html#a11ad8b5d538f8ccfbbaf7935b24c89b6">m_rho_ice</a> = <a class="code" href="classpism_1_1Component_a28f298fc2133baae8cebf9dedf3b4d84.html#a28f298fc2133baae8cebf9dedf3b4d84">m_config</a>->get_number(<span class="stringliteral">"constants.ice.density"</span>);</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  </div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <span class="comment">// s = alpha * H, where s is surface elevation and H ice thickness</span></div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <span class="keywordtype">double</span> rho_w = <a class="code" href="classpism_1_1Component_a28f298fc2133baae8cebf9dedf3b4d84.html#a28f298fc2133baae8cebf9dedf3b4d84">m_config</a>->get_number(<span class="stringliteral">"constants.sea_water.density"</span>);</div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <a class="code" href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_abcdb571b6c3ea0ee68034c26025c255f.html#abcdb571b6c3ea0ee68034c26025c255f">m_alpha</a> = 1.0 - <a class="code" href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_a11ad8b5d538f8ccfbbaf7935b24c89b6.html#a11ad8b5d538f8ccfbbaf7935b24c89b6">m_rho_ice</a> / rho_w;</div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  </div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <a class="code" href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_abcad7954a019e77cfa618619d743bd48.html#abcad7954a019e77cfa618619d743bd48">m_g</a> = <a class="code" href="classpism_1_1Component_a28f298fc2133baae8cebf9dedf3b4d84.html#a28f298fc2133baae8cebf9dedf3b4d84">m_config</a>->get_number(<span class="stringliteral">"constants.standard_gravity"</span>);</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"><a class="line" href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_a5b16af495ac60e42a46bce66006a110d.html#a5b16af495ac60e42a46bce66006a110d"> 61</a></span> <span class="keywordtype">bool</span> <a class="code" href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_a5b16af495ac60e42a46bce66006a110d.html#a5b16af495ac60e42a46bce66006a110d">BlatterTestvanderVeen::dirichlet_node</a>(<span class="keyword">const</span> DMDALocalInfo &info,</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="keyword">const</span> <a class="code" href="structpism_1_1fem_1_1Element3_1_1GlobalIndex.html">fem::Element3::GlobalIndex</a>& <a class="code" href="ssafd__code_8cc_a87ae798803dece6c82b4e7cb734f4cc3.html#a87ae798803dece6c82b4e7cb734f4cc3">I</a>) {</div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  (void) info;</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <span class="comment">// use Dirichlet BC at x == 0</span></div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <span class="keywordflow">return</span> <a class="code" href="ssafd__code_8cc_a87ae798803dece6c82b4e7cb734f4cc3.html#a87ae798803dece6c82b4e7cb734f4cc3">I</a>.i == 0;</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>  </div>
<div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_a9636095c7f76d6d5274634709428d200.html#a9636095c7f76d6d5274634709428d200"> 68</a></span> <span class="keywordtype">bool</span> <a class="code" href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_a9636095c7f76d6d5274634709428d200.html#a9636095c7f76d6d5274634709428d200">BlatterTestvanderVeen::marine_boundary</a>(<span class="keywordtype">int</span> face,</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <span class="keyword">const</span> <span class="keywordtype">int</span> *node_type,</div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <span class="keyword">const</span> <span class="keywordtype">double</span> *ice_bottom,</div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <span class="keyword">const</span> <span class="keywordtype">double</span> *sea_level) {</div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <span class="comment">// Ignore sea level and ice bottom elevation:</span></div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  (void) ice_bottom;</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  (void) sea_level;</div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  </div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <span class="keyword">auto</span> nodes = <a class="code" href="namespacepism_1_1fem_1_1q13d_aa17b814c434bd5ce04062bbf0a914c1b.html#aa17b814c434bd5ce04062bbf0a914c1b">fem::q13d::incident_nodes</a>[face];</div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  </div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <span class="comment">// number of nodes per face</span></div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <span class="keywordtype">int</span> N = 4;</div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  </div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="comment">// exclude faces that contain at least one node that is not a part of the boundary</span></div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <span class="keywordflow">for</span> (<span class="keywordtype">int</span> <a class="code" href="exactTestM_8c_ad5228cd48403ef9d8b632f5c7c124720.html#ad5228cd48403ef9d8b632f5c7c124720">n</a> = 0; <a class="code" href="exactTestM_8c_ad5228cd48403ef9d8b632f5c7c124720.html#ad5228cd48403ef9d8b632f5c7c124720">n</a> < N; ++<a class="code" href="exactTestM_8c_ad5228cd48403ef9d8b632f5c7c124720.html#ad5228cd48403ef9d8b632f5c7c124720">n</a>) {</div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="keywordflow">if</span> (not (node_type[nodes[<a class="code" href="exactTestM_8c_ad5228cd48403ef9d8b632f5c7c124720.html#ad5228cd48403ef9d8b632f5c7c124720">n</a>]] == <a class="code" href="namespacepism_a29133ed3f28e0aaba2d3af612dbbc5d6.html#a29133ed3f28e0aaba2d3af612dbbc5d6a043c9212bcba2789d9a5eb622e894054">NODE_BOUNDARY</a>)) {</div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  }</div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  }</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> <span class="keyword">true</span>;</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"><a class="line" href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_a3e0f7834c33accc64e8a79c010b631a0.html#a3e0f7834c33accc64e8a79c010b631a0"> 91</a></span> <a class="code" href="classpism_1_1Vector2d.html">Vector2d</a> <a class="code" href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_a3e0f7834c33accc64e8a79c010b631a0.html#a3e0f7834c33accc64e8a79c010b631a0">BlatterTestvanderVeen::u_bc</a>(<span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y, <span class="keywordtype">double</span> z)<span class="keyword"> const </span>{</div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  (void) y;</div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  (void) z;</div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  </div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <span class="keywordflow">return</span> <a class="code" href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_a9b63156e41180a55a809f524705aa77d.html#a9b63156e41180a55a809f524705aa77d">u_exact</a>(x);</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"><a class="line" href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_a9b63156e41180a55a809f524705aa77d.html#a9b63156e41180a55a809f524705aa77d"> 98</a></span> <a class="code" href="classpism_1_1Vector2d.html">Vector2d</a> <a class="code" href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_a9b63156e41180a55a809f524705aa77d.html#a9b63156e41180a55a809f524705aa77d">BlatterTestvanderVeen::u_exact</a>(<span class="keywordtype">double</span> x)<span class="keyword"> const </span>{</div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <span class="keywordtype">double</span> Q0 = <a class="code" href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_aa1f0bb9ef968c22125c266b78a97e1ad.html#aa1f0bb9ef968c22125c266b78a97e1ad">m_H0</a> * <a class="code" href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_a3c007a71f61fa0aa5b8697a50bedff52.html#a3c007a71f61fa0aa5b8697a50bedff52">m_V0</a>;</div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <span class="keywordflow">return</span> <a class="code" href="namespacepism_a66d46152a40efc41de932a2344da4b12.html#a66d46152a40efc41de932a2344da4b12">blatter_xz_vanderveen_exact</a>(x, <a class="code" href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_abcdb571b6c3ea0ee68034c26025c255f.html#abcdb571b6c3ea0ee68034c26025c255f">m_alpha</a>, <a class="code" href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_aa1f0bb9ef968c22125c266b78a97e1ad.html#aa1f0bb9ef968c22125c266b78a97e1ad">m_H0</a>, Q0, <a class="code" href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_a11ad8b5d538f8ccfbbaf7935b24c89b6.html#a11ad8b5d538f8ccfbbaf7935b24c89b6">m_rho_ice</a>, <a class="code" href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_abcad7954a019e77cfa618619d743bd48.html#abcad7954a019e77cfa618619d743bd48">m_g</a>, <a class="code" href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_a67238f65ad0f71978544ecfbff98240b.html#a67238f65ad0f71978544ecfbff98240b">m_B</a>);</div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span> }</div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  </div>
<div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_aebd629f55c5df49fd7de0ff0861c0c9b.html#aebd629f55c5df49fd7de0ff0861c0c9b"> 103</a></span> <span class="keywordtype">double</span> <a class="code" href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_aebd629f55c5df49fd7de0ff0861c0c9b.html#aebd629f55c5df49fd7de0ff0861c0c9b">BlatterTestvanderVeen::H_exact</a>(<span class="keywordtype">double</span> x)<span class="keyword"> const </span>{</div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <span class="keywordtype">double</span> Q0 = <a class="code" href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_aa1f0bb9ef968c22125c266b78a97e1ad.html#aa1f0bb9ef968c22125c266b78a97e1ad">m_H0</a> * <a class="code" href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_a3c007a71f61fa0aa5b8697a50bedff52.html#a3c007a71f61fa0aa5b8697a50bedff52">m_V0</a>;</div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  <span class="keywordflow">return</span> <a class="code" href="namespacepism_a1e78bf5c792ff150b165416ed5770bd8.html#a1e78bf5c792ff150b165416ed5770bd8">blatter_xz_vanderveen_thickness</a>(x, <a class="code" href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_abcdb571b6c3ea0ee68034c26025c255f.html#abcdb571b6c3ea0ee68034c26025c255f">m_alpha</a>, <a class="code" href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_aa1f0bb9ef968c22125c266b78a97e1ad.html#aa1f0bb9ef968c22125c266b78a97e1ad">m_H0</a>, Q0, <a class="code" href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_a11ad8b5d538f8ccfbbaf7935b24c89b6.html#a11ad8b5d538f8ccfbbaf7935b24c89b6">m_rho_ice</a>, <a class="code" href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_abcad7954a019e77cfa618619d743bd48.html#abcad7954a019e77cfa618619d743bd48">m_g</a>, <a class="code" href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_a67238f65ad0f71978544ecfbff98240b.html#a67238f65ad0f71978544ecfbff98240b">m_B</a>);</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>  </div>
<div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_ac8ba684c240da35059438e686e09b345.html#ac8ba684c240da35059438e686e09b345"> 108</a></span> <span class="keywordtype">double</span> <a class="code" href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_ac8ba684c240da35059438e686e09b345.html#ac8ba684c240da35059438e686e09b345">BlatterTestvanderVeen::b_exact</a>(<span class="keywordtype">double</span> x)<span class="keyword"> const </span>{</div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <span class="keywordflow">return</span> (<a class="code" href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_abcdb571b6c3ea0ee68034c26025c255f.html#abcdb571b6c3ea0ee68034c26025c255f">m_alpha</a> - 1.0) * <a class="code" href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_aebd629f55c5df49fd7de0ff0861c0c9b.html#aebd629f55c5df49fd7de0ff0861c0c9b">H_exact</a>(x);</div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</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"><a class="line" href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_a88a35b80d5e65f5a96f814c0ec6da2f1.html#a88a35b80d5e65f5a96f814c0ec6da2f1"> 112</a></span> <span class="keywordtype">double</span> <a class="code" href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_a88a35b80d5e65f5a96f814c0ec6da2f1.html#a88a35b80d5e65f5a96f814c0ec6da2f1">BlatterTestvanderVeen::beta_exact</a>(<span class="keywordtype">double</span> x)<span class="keyword"> const </span>{</div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  <span class="keywordtype">double</span> Q0 = <a class="code" href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_aa1f0bb9ef968c22125c266b78a97e1ad.html#aa1f0bb9ef968c22125c266b78a97e1ad">m_H0</a> * <a class="code" href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_a3c007a71f61fa0aa5b8697a50bedff52.html#a3c007a71f61fa0aa5b8697a50bedff52">m_V0</a>;</div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <span class="keywordflow">return</span> <a class="code" href="namespacepism_a0c7c652525678abd7c902aea3700826d.html#a0c7c652525678abd7c902aea3700826d">blatter_xz_vanderveen_beta</a>(x, <a class="code" href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_abcdb571b6c3ea0ee68034c26025c255f.html#abcdb571b6c3ea0ee68034c26025c255f">m_alpha</a>, <a class="code" href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_aa1f0bb9ef968c22125c266b78a97e1ad.html#aa1f0bb9ef968c22125c266b78a97e1ad">m_H0</a>, Q0, <a class="code" href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_a11ad8b5d538f8ccfbbaf7935b24c89b6.html#a11ad8b5d538f8ccfbbaf7935b24c89b6">m_rho_ice</a>, <a class="code" href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_abcad7954a019e77cfa618619d743bd48.html#abcad7954a019e77cfa618619d743bd48">m_g</a>, <a class="code" href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_a67238f65ad0f71978544ecfbff98240b.html#a67238f65ad0f71978544ecfbff98240b">m_B</a>);</div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span> }</div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  </div>
<div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_ae6af76da58c3c306c7e873dd3be78f27.html#ae6af76da58c3c306c7e873dd3be78f27"> 117</a></span> <span class="keywordtype">void</span> <a class="code" href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_ae6af76da58c3c306c7e873dd3be78f27.html#ae6af76da58c3c306c7e873dd3be78f27">BlatterTestvanderVeen::residual_lateral</a>(<span class="keyword">const</span> <a class="code" href="classpism_1_1fem_1_1Q1Element3.html">fem::Q1Element3</a> &element,</div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <span class="keyword">const</span> <a class="code" href="classpism_1_1fem_1_1Q1Element3Face.html">fem::Q1Element3Face</a> &face,</div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <span class="keyword">const</span> <span class="keywordtype">double</span> *surface_nodal,</div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  <span class="keyword">const</span> <span class="keywordtype">double</span> *z_nodal,</div>
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <span class="keyword">const</span> <span class="keywordtype">double</span> *sl_nodal,</div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <a class="code" href="classpism_1_1Vector2d.html">Vector2d</a> *residual) {</div>
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  (void) surface_nodal;</div>
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  (void) sl_nodal;</div>
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  (void) z_nodal;</div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  </div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  <span class="keywordtype">double</span> Q0 = <a class="code" href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_aa1f0bb9ef968c22125c266b78a97e1ad.html#aa1f0bb9ef968c22125c266b78a97e1ad">m_H0</a> * <a class="code" href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_a3c007a71f61fa0aa5b8697a50bedff52.html#a3c007a71f61fa0aa5b8697a50bedff52">m_V0</a>;</div>
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  </div>
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  <span class="comment">// compute x coordinates of quadrature points</span></div>
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  <span class="keywordtype">double</span> *x = <a class="code" href="classpism_1_1stressbalance_1_1Blatter_a6b88f6f0a040d7acd7c39cd8a19dad68.html#a6b88f6f0a040d7acd7c39cd8a19dad68">m_work</a>[0];</div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  {</div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  <span class="keywordtype">double</span> *x_nodal = <a class="code" href="classpism_1_1stressbalance_1_1Blatter_a6b88f6f0a040d7acd7c39cd8a19dad68.html#a6b88f6f0a040d7acd7c39cd8a19dad68">m_work</a>[1];</div>
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  </div>
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  <span class="keywordflow">for</span> (<span class="keywordtype">int</span> <a class="code" href="exactTestM_8c_ad5228cd48403ef9d8b632f5c7c124720.html#ad5228cd48403ef9d8b632f5c7c124720">n</a> = 0; <a class="code" href="exactTestM_8c_ad5228cd48403ef9d8b632f5c7c124720.html#ad5228cd48403ef9d8b632f5c7c124720">n</a> < element.<a class="code" href="classpism_1_1fem_1_1Element_a1bfd3a4d4d224ace5a1ae50acb51cb30.html#a1bfd3a4d4d224ace5a1ae50acb51cb30">n_chi</a>(); ++<a class="code" href="exactTestM_8c_ad5228cd48403ef9d8b632f5c7c124720.html#ad5228cd48403ef9d8b632f5c7c124720">n</a>) {</div>
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  x_nodal[<a class="code" href="exactTestM_8c_ad5228cd48403ef9d8b632f5c7c124720.html#ad5228cd48403ef9d8b632f5c7c124720">n</a>] = element.<a class="code" href="classpism_1_1fem_1_1Q1Element3_ab394ee4c15298be4ac683ec753dcd1a2.html#ab394ee4c15298be4ac683ec753dcd1a2">x</a>(<a class="code" href="exactTestM_8c_ad5228cd48403ef9d8b632f5c7c124720.html#ad5228cd48403ef9d8b632f5c7c124720">n</a>);</div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  }</div>
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  </div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  face.<a class="code" href="classpism_1_1fem_1_1Q1Element3Face_aba08b569d043fc4b8e7e43773dd39a56.html#aba08b569d043fc4b8e7e43773dd39a56">evaluate</a>(x_nodal, x);</div>
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  }</div>
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  </div>
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  <span class="comment">// loop over all quadrature points</span></div>
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  <span class="keywordflow">for</span> (<span class="keywordtype">int</span> q = 0; q < face.<a class="code" href="classpism_1_1fem_1_1Q1Element3Face_aef10ff39e40c33c1acbac188c7e81727.html#aef10ff39e40c33c1acbac188c7e81727">n_pts</a>(); ++q) {</div>
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  <span class="keyword">auto</span> W = face.<a class="code" href="classpism_1_1fem_1_1Q1Element3Face_a7017ac21fdb9724f1cd663e51e106f8a.html#a7017ac21fdb9724f1cd663e51e106f8a">weight</a>(q) / <a class="code" href="classpism_1_1stressbalance_1_1Blatter_a0ba9514fbaf1c3c82e2f1a60a99ff0b6.html#a0ba9514fbaf1c3c82e2f1a60a99ff0b6">m_scaling</a>;</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="comment">// the normal direction (1, 0, 0) is hard-wired here</span></div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  <span class="keyword">auto</span> <a class="code" href="namespacepism_a200b1c89a64c718f6b0f585508e55172.html#a200b1c89a64c718f6b0f585508e55172">F</a> = <a class="code" href="namespacepism_a2869ad0a3de428958272abec9444a66e.html#a2869ad0a3de428958272abec9444a66e">blatter_xz_vanderveen_source_lateral</a>(x[q], <a class="code" href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_abcdb571b6c3ea0ee68034c26025c255f.html#abcdb571b6c3ea0ee68034c26025c255f">m_alpha</a>, <a class="code" href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_aa1f0bb9ef968c22125c266b78a97e1ad.html#aa1f0bb9ef968c22125c266b78a97e1ad">m_H0</a>, Q0,</div>
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  <a class="code" href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_a11ad8b5d538f8ccfbbaf7935b24c89b6.html#a11ad8b5d538f8ccfbbaf7935b24c89b6">m_rho_ice</a>, <a class="code" href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_abcad7954a019e77cfa618619d743bd48.html#abcad7954a019e77cfa618619d743bd48">m_g</a>, <a class="code" href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_a67238f65ad0f71978544ecfbff98240b.html#a67238f65ad0f71978544ecfbff98240b">m_B</a>);</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>  <span class="comment">// loop over all test functions</span></div>
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  <span class="keywordflow">for</span> (<span class="keywordtype">int</span> t = 0; t < element.<a class="code" href="classpism_1_1fem_1_1Element_a1bfd3a4d4d224ace5a1ae50acb51cb30.html#a1bfd3a4d4d224ace5a1ae50acb51cb30">n_chi</a>(); ++t) {</div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  <span class="keyword">auto</span> psi = face.<a class="code" href="classpism_1_1fem_1_1Q1Element3Face_a831939666ea75833b7e8e67ae1ceb3ad.html#a831939666ea75833b7e8e67ae1ceb3ad">chi</a>(q, t);</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>  residual[t] += - W * psi * <a class="code" href="namespacepism_a200b1c89a64c718f6b0f585508e55172.html#a200b1c89a64c718f6b0f585508e55172">F</a>;</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>  }</div>
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span> }</div>
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span> <span class="comment"></span> </div>
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span> <span class="comment">/*!</span></div>
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span> <span class="comment"> * Top surface contribution to the residual.</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"><a class="line" href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_ae679c87d850f0fd0a0f84f6bc97b7526.html#ae679c87d850f0fd0a0f84f6bc97b7526"> 161</a></span> <span class="keywordtype">void</span> <a class="code" href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_ae679c87d850f0fd0a0f84f6bc97b7526.html#ae679c87d850f0fd0a0f84f6bc97b7526">BlatterTestvanderVeen::residual_surface</a>(<span class="keyword">const</span> <a class="code" href="classpism_1_1fem_1_1Q1Element3.html">fem::Q1Element3</a> &element,</div>
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  <span class="keyword">const</span> <a class="code" href="classpism_1_1fem_1_1Q1Element3Face.html">fem::Q1Element3Face</a> &face,</div>
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  <a class="code" href="classpism_1_1Vector2d.html">Vector2d</a> *residual) {</div>
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>  <span class="keywordtype">double</span> Q0 = <a class="code" href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_aa1f0bb9ef968c22125c266b78a97e1ad.html#aa1f0bb9ef968c22125c266b78a97e1ad">m_H0</a> * <a class="code" href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_a3c007a71f61fa0aa5b8697a50bedff52.html#a3c007a71f61fa0aa5b8697a50bedff52">m_V0</a>;</div>
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  </div>
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>  <span class="comment">// compute x coordinates of quadrature points</span></div>
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>  <span class="keywordtype">double</span></div>
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>  *x = <a class="code" href="classpism_1_1stressbalance_1_1Blatter_a6b88f6f0a040d7acd7c39cd8a19dad68.html#a6b88f6f0a040d7acd7c39cd8a19dad68">m_work</a>[0];</div>
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>  {</div>
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  <span class="keywordtype">double</span> *x_nodal = <a class="code" href="classpism_1_1stressbalance_1_1Blatter_a6b88f6f0a040d7acd7c39cd8a19dad68.html#a6b88f6f0a040d7acd7c39cd8a19dad68">m_work</a>[1];</div>
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  </div>
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <span class="keywordflow">for</span> (<span class="keywordtype">int</span> <a class="code" href="exactTestM_8c_ad5228cd48403ef9d8b632f5c7c124720.html#ad5228cd48403ef9d8b632f5c7c124720">n</a> = 0; <a class="code" href="exactTestM_8c_ad5228cd48403ef9d8b632f5c7c124720.html#ad5228cd48403ef9d8b632f5c7c124720">n</a> < <a class="code" href="namespacepism_1_1fem_1_1q13d_a15a7b2ec0e759c45002166d1bd5fb683.html#a15a7b2ec0e759c45002166d1bd5fb683">fem::q13d::n_chi</a>; ++<a class="code" href="exactTestM_8c_ad5228cd48403ef9d8b632f5c7c124720.html#ad5228cd48403ef9d8b632f5c7c124720">n</a>) {</div>
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  x_nodal[<a class="code" href="exactTestM_8c_ad5228cd48403ef9d8b632f5c7c124720.html#ad5228cd48403ef9d8b632f5c7c124720">n</a>] = element.<a class="code" href="classpism_1_1fem_1_1Q1Element3_ab394ee4c15298be4ac683ec753dcd1a2.html#ab394ee4c15298be4ac683ec753dcd1a2">x</a>(<a class="code" href="exactTestM_8c_ad5228cd48403ef9d8b632f5c7c124720.html#ad5228cd48403ef9d8b632f5c7c124720">n</a>);</div>
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  }</div>
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  </div>
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  face.<a class="code" href="classpism_1_1fem_1_1Q1Element3Face_aba08b569d043fc4b8e7e43773dd39a56.html#aba08b569d043fc4b8e7e43773dd39a56">evaluate</a>(x_nodal, x);</div>
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  }</div>
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  </div>
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  <span class="keywordflow">for</span> (<span class="keywordtype">int</span> q = 0; q < face.<a class="code" href="classpism_1_1fem_1_1Q1Element3Face_aef10ff39e40c33c1acbac188c7e81727.html#aef10ff39e40c33c1acbac188c7e81727">n_pts</a>(); ++q) {</div>
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  <span class="keyword">auto</span> W = face.<a class="code" href="classpism_1_1fem_1_1Q1Element3Face_a7017ac21fdb9724f1cd663e51e106f8a.html#a7017ac21fdb9724f1cd663e51e106f8a">weight</a>(q) / <a class="code" href="classpism_1_1stressbalance_1_1Blatter_a0ba9514fbaf1c3c82e2f1a60a99ff0b6.html#a0ba9514fbaf1c3c82e2f1a60a99ff0b6">m_scaling</a>;</div>
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  </div>
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  <span class="keyword">auto</span> <a class="code" href="namespacepism_a200b1c89a64c718f6b0f585508e55172.html#a200b1c89a64c718f6b0f585508e55172">F</a> = <a class="code" href="namespacepism_a3e0360d78a2a9a39c551ec19d8f23215.html#a3e0360d78a2a9a39c551ec19d8f23215">blatter_xz_vanderveen_source_surface</a>(x[q], <a class="code" href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_abcdb571b6c3ea0ee68034c26025c255f.html#abcdb571b6c3ea0ee68034c26025c255f">m_alpha</a>, <a class="code" href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_aa1f0bb9ef968c22125c266b78a97e1ad.html#aa1f0bb9ef968c22125c266b78a97e1ad">m_H0</a>, Q0,</div>
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  <a class="code" href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_a11ad8b5d538f8ccfbbaf7935b24c89b6.html#a11ad8b5d538f8ccfbbaf7935b24c89b6">m_rho_ice</a>, <a class="code" href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_abcad7954a019e77cfa618619d743bd48.html#abcad7954a019e77cfa618619d743bd48">m_g</a>, <a class="code" href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_a67238f65ad0f71978544ecfbff98240b.html#a67238f65ad0f71978544ecfbff98240b">m_B</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>  <span class="comment">// loop over all test functions</span></div>
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  <span class="keywordflow">for</span> (<span class="keywordtype">int</span> t = 0; t < element.<a class="code" href="classpism_1_1fem_1_1Element_a1bfd3a4d4d224ace5a1ae50acb51cb30.html#a1bfd3a4d4d224ace5a1ae50acb51cb30">n_chi</a>(); ++t) {</div>
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  <span class="keyword">auto</span> psi = face.<a class="code" href="classpism_1_1fem_1_1Q1Element3Face_a831939666ea75833b7e8e67ae1ceb3ad.html#a831939666ea75833b7e8e67ae1ceb3ad">chi</a>(q, t);</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>  residual[t] += - W * psi * <a class="code" href="namespacepism_a200b1c89a64c718f6b0f585508e55172.html#a200b1c89a64c718f6b0f585508e55172">F</a>;</div>
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  }</div>
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  }</div>
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span> }</div>
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  </div>
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span> } <span class="comment">// end of namespace stressbalance</span></div>
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span> } <span class="comment">// end of namespace pism</span></div>
<div class="ttc" id="aclasspism_1_1Component_a08f6b5a8e759c471d1a003804a8160ad_html_a08f6b5a8e759c471d1a003804a8160ad"><div class="ttname"><a href="classpism_1_1Component_a08f6b5a8e759c471d1a003804a8160ad.html#a08f6b5a8e759c471d1a003804a8160ad">pism::Component::m_sys</a></div><div class="ttdeci">const units::System::Ptr m_sys</div><div class="ttdoc">unit system used by this component</div><div class="ttdef"><b>Definition:</b> <a href="Component_8hh_source.html#l00160">Component.hh:160</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_a745aa37bc1b5da6db5bfc280ecb3c811_html_a745aa37bc1b5da6db5bfc280ecb3c811"><div class="ttname"><a href="classpism_1_1Component_a745aa37bc1b5da6db5bfc280ecb3c811.html#a745aa37bc1b5da6db5bfc280ecb3c811">pism::Component::m_grid</a></div><div class="ttdeci">const std::shared_ptr< const Grid > m_grid</div><div class="ttdoc">grid used by this component</div><div class="ttdef"><b>Definition:</b> <a href="Component_8hh_source.html#l00156">Component.hh:156</a></div></div>
<div class="ttc" id="aclasspism_1_1Vector2d_html"><div class="ttname"><a href="classpism_1_1Vector2d.html">pism::Vector2d</a></div><div class="ttdoc">This class represents a 2D vector field (such as ice velocity) at a certain grid point.</div><div class="ttdef"><b>Definition:</b> <a href="Vector2d_8hh_source.html#l00029">Vector2d.hh:29</a></div></div>
<div class="ttc" id="aclasspism_1_1fem_1_1Element_a1bfd3a4d4d224ace5a1ae50acb51cb30_html_a1bfd3a4d4d224ace5a1ae50acb51cb30"><div class="ttname"><a href="classpism_1_1fem_1_1Element_a1bfd3a4d4d224ace5a1ae50acb51cb30.html#a1bfd3a4d4d224ace5a1ae50acb51cb30">pism::fem::Element::n_chi</a></div><div class="ttdeci">int n_chi() const</div><div class="ttdef"><b>Definition:</b> <a href="Element_8hh_source.html#l00065">Element.hh:65</a></div></div>
<div class="ttc" id="aclasspism_1_1fem_1_1Q1Element3Face_a7017ac21fdb9724f1cd663e51e106f8a_html_a7017ac21fdb9724f1cd663e51e106f8a"><div class="ttname"><a href="classpism_1_1fem_1_1Q1Element3Face_a7017ac21fdb9724f1cd663e51e106f8a.html#a7017ac21fdb9724f1cd663e51e106f8a">pism::fem::Q1Element3Face::weight</a></div><div class="ttdeci">double weight(unsigned int q) const</div><div class="ttdef"><b>Definition:</b> <a href="Element_8hh_source.html#l00407">Element.hh:407</a></div></div>
<div class="ttc" id="aclasspism_1_1fem_1_1Q1Element3Face_a831939666ea75833b7e8e67ae1ceb3ad_html_a831939666ea75833b7e8e67ae1ceb3ad"><div class="ttname"><a href="classpism_1_1fem_1_1Q1Element3Face_a831939666ea75833b7e8e67ae1ceb3ad.html#a831939666ea75833b7e8e67ae1ceb3ad">pism::fem::Q1Element3Face::chi</a></div><div class="ttdeci">const double & chi(unsigned int q, unsigned int k) const</div><div class="ttdef"><b>Definition:</b> <a href="Element_8hh_source.html#l00412">Element.hh:412</a></div></div>
<div class="ttc" id="aclasspism_1_1fem_1_1Q1Element3Face_aba08b569d043fc4b8e7e43773dd39a56_html_aba08b569d043fc4b8e7e43773dd39a56"><div class="ttname"><a href="classpism_1_1fem_1_1Q1Element3Face_aba08b569d043fc4b8e7e43773dd39a56.html#aba08b569d043fc4b8e7e43773dd39a56">pism::fem::Q1Element3Face::evaluate</a></div><div class="ttdeci">void evaluate(const T *x, T *result) const</div><div class="ttdef"><b>Definition:</b> <a href="Element_8hh_source.html#l00427">Element.hh:427</a></div></div>
<div class="ttc" id="aclasspism_1_1fem_1_1Q1Element3Face_aef10ff39e40c33c1acbac188c7e81727_html_aef10ff39e40c33c1acbac188c7e81727"><div class="ttname"><a href="classpism_1_1fem_1_1Q1Element3Face_aef10ff39e40c33c1acbac188c7e81727.html#aef10ff39e40c33c1acbac188c7e81727">pism::fem::Q1Element3Face::n_pts</a></div><div class="ttdeci">int n_pts() const</div><div class="ttdoc">Number of quadrature points.</div><div class="ttdef"><b>Definition:</b> <a href="Element_8hh_source.html#l00404">Element.hh:404</a></div></div>
<div class="ttc" id="aclasspism_1_1fem_1_1Q1Element3Face_html"><div class="ttname"><a href="classpism_1_1fem_1_1Q1Element3Face.html">pism::fem::Q1Element3Face</a></div><div class="ttdef"><b>Definition:</b> <a href="Element_8hh_source.html#l00399">Element.hh:399</a></div></div>
<div class="ttc" id="aclasspism_1_1fem_1_1Q1Element3_ab394ee4c15298be4ac683ec753dcd1a2_html_ab394ee4c15298be4ac683ec753dcd1a2"><div class="ttname"><a href="classpism_1_1fem_1_1Q1Element3_ab394ee4c15298be4ac683ec753dcd1a2.html#ab394ee4c15298be4ac683ec753dcd1a2">pism::fem::Q1Element3::x</a></div><div class="ttdeci">double x(int n) const</div><div class="ttdef"><b>Definition:</b> <a href="Element_8hh_source.html#l00364">Element.hh:364</a></div></div>
<div class="ttc" id="aclasspism_1_1fem_1_1Q1Element3_html"><div class="ttname"><a href="classpism_1_1fem_1_1Q1Element3.html">pism::fem::Q1Element3</a></div><div class="ttdoc">3D Q1 element</div><div class="ttdef"><b>Definition:</b> <a href="Element_8hh_source.html#l00351">Element.hh:351</a></div></div>
<div class="ttc" id="aclasspism_1_1rheology_1_1IsothermalGlen_html"><div class="ttname"><a href="classpism_1_1rheology_1_1IsothermalGlen.html">pism::rheology::IsothermalGlen</a></div><div class="ttdoc">Isothermal Glen ice allowing extra customization.</div><div class="ttdef"><b>Definition:</b> <a href="IsothermalGlen_8hh_source.html#l00029">IsothermalGlen.hh:29</a></div></div>
<div class="ttc" id="aclasspism_1_1stressbalance_1_1BlatterTestvanderVeen_a11ad8b5d538f8ccfbbaf7935b24c89b6_html_a11ad8b5d538f8ccfbbaf7935b24c89b6"><div class="ttname"><a href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_a11ad8b5d538f8ccfbbaf7935b24c89b6.html#a11ad8b5d538f8ccfbbaf7935b24c89b6">pism::stressbalance::BlatterTestvanderVeen::m_rho_ice</a></div><div class="ttdeci">double m_rho_ice</div><div class="ttdef"><b>Definition:</b> <a href="BlatterTestvanderVeen_8hh_source.html#l00084">BlatterTestvanderVeen.hh:84</a></div></div>
<div class="ttc" id="aclasspism_1_1stressbalance_1_1BlatterTestvanderVeen_a3c007a71f61fa0aa5b8697a50bedff52_html_a3c007a71f61fa0aa5b8697a50bedff52"><div class="ttname"><a href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_a3c007a71f61fa0aa5b8697a50bedff52.html#a3c007a71f61fa0aa5b8697a50bedff52">pism::stressbalance::BlatterTestvanderVeen::m_V0</a></div><div class="ttdeci">double m_V0</div><div class="ttdef"><b>Definition:</b> <a href="BlatterTestvanderVeen_8hh_source.html#l00078">BlatterTestvanderVeen.hh:78</a></div></div>
<div class="ttc" id="aclasspism_1_1stressbalance_1_1BlatterTestvanderVeen_a3e0f7834c33accc64e8a79c010b631a0_html_a3e0f7834c33accc64e8a79c010b631a0"><div class="ttname"><a href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_a3e0f7834c33accc64e8a79c010b631a0.html#a3e0f7834c33accc64e8a79c010b631a0">pism::stressbalance::BlatterTestvanderVeen::u_bc</a></div><div class="ttdeci">Vector2d u_bc(double x, double y, double z) const</div><div class="ttdef"><b>Definition:</b> <a href="BlatterTestvanderVeen_8cc_source.html#l00091">BlatterTestvanderVeen.cc:91</a></div></div>
<div class="ttc" id="aclasspism_1_1stressbalance_1_1BlatterTestvanderVeen_a5b16af495ac60e42a46bce66006a110d_html_a5b16af495ac60e42a46bce66006a110d"><div class="ttname"><a href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_a5b16af495ac60e42a46bce66006a110d.html#a5b16af495ac60e42a46bce66006a110d">pism::stressbalance::BlatterTestvanderVeen::dirichlet_node</a></div><div class="ttdeci">bool dirichlet_node(const DMDALocalInfo &info, const fem::Element3::GlobalIndex &I)</div><div class="ttdef"><b>Definition:</b> <a href="BlatterTestvanderVeen_8cc_source.html#l00061">BlatterTestvanderVeen.cc:61</a></div></div>
<div class="ttc" id="aclasspism_1_1stressbalance_1_1BlatterTestvanderVeen_a67238f65ad0f71978544ecfbff98240b_html_a67238f65ad0f71978544ecfbff98240b"><div class="ttname"><a href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_a67238f65ad0f71978544ecfbff98240b.html#a67238f65ad0f71978544ecfbff98240b">pism::stressbalance::BlatterTestvanderVeen::m_B</a></div><div class="ttdeci">double m_B</div><div class="ttdef"><b>Definition:</b> <a href="BlatterTestvanderVeen_8hh_source.html#l00072">BlatterTestvanderVeen.hh:72</a></div></div>
<div class="ttc" id="aclasspism_1_1stressbalance_1_1BlatterTestvanderVeen_a88a35b80d5e65f5a96f814c0ec6da2f1_html_a88a35b80d5e65f5a96f814c0ec6da2f1"><div class="ttname"><a href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_a88a35b80d5e65f5a96f814c0ec6da2f1.html#a88a35b80d5e65f5a96f814c0ec6da2f1">pism::stressbalance::BlatterTestvanderVeen::beta_exact</a></div><div class="ttdeci">double beta_exact(double x) const</div><div class="ttdef"><b>Definition:</b> <a href="BlatterTestvanderVeen_8cc_source.html#l00112">BlatterTestvanderVeen.cc:112</a></div></div>
<div class="ttc" id="aclasspism_1_1stressbalance_1_1BlatterTestvanderVeen_a9636095c7f76d6d5274634709428d200_html_a9636095c7f76d6d5274634709428d200"><div class="ttname"><a href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_a9636095c7f76d6d5274634709428d200.html#a9636095c7f76d6d5274634709428d200">pism::stressbalance::BlatterTestvanderVeen::marine_boundary</a></div><div class="ttdeci">bool marine_boundary(int face, const int *node_type, const double *ice_bottom, const double *sea_level)</div><div class="ttdef"><b>Definition:</b> <a href="BlatterTestvanderVeen_8cc_source.html#l00068">BlatterTestvanderVeen.cc:68</a></div></div>
<div class="ttc" id="aclasspism_1_1stressbalance_1_1BlatterTestvanderVeen_a9b63156e41180a55a809f524705aa77d_html_a9b63156e41180a55a809f524705aa77d"><div class="ttname"><a href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_a9b63156e41180a55a809f524705aa77d.html#a9b63156e41180a55a809f524705aa77d">pism::stressbalance::BlatterTestvanderVeen::u_exact</a></div><div class="ttdeci">Vector2d u_exact(double x) const</div><div class="ttdef"><b>Definition:</b> <a href="BlatterTestvanderVeen_8cc_source.html#l00098">BlatterTestvanderVeen.cc:98</a></div></div>
<div class="ttc" id="aclasspism_1_1stressbalance_1_1BlatterTestvanderVeen_aa1f0bb9ef968c22125c266b78a97e1ad_html_aa1f0bb9ef968c22125c266b78a97e1ad"><div class="ttname"><a href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_aa1f0bb9ef968c22125c266b78a97e1ad.html#aa1f0bb9ef968c22125c266b78a97e1ad">pism::stressbalance::BlatterTestvanderVeen::m_H0</a></div><div class="ttdeci">double m_H0</div><div class="ttdef"><b>Definition:</b> <a href="BlatterTestvanderVeen_8hh_source.html#l00075">BlatterTestvanderVeen.hh:75</a></div></div>
<div class="ttc" id="aclasspism_1_1stressbalance_1_1BlatterTestvanderVeen_abcad7954a019e77cfa618619d743bd48_html_abcad7954a019e77cfa618619d743bd48"><div class="ttname"><a href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_abcad7954a019e77cfa618619d743bd48.html#abcad7954a019e77cfa618619d743bd48">pism::stressbalance::BlatterTestvanderVeen::m_g</a></div><div class="ttdeci">double m_g</div><div class="ttdef"><b>Definition:</b> <a href="BlatterTestvanderVeen_8hh_source.html#l00087">BlatterTestvanderVeen.hh:87</a></div></div>
<div class="ttc" id="aclasspism_1_1stressbalance_1_1BlatterTestvanderVeen_abcdb571b6c3ea0ee68034c26025c255f_html_abcdb571b6c3ea0ee68034c26025c255f"><div class="ttname"><a href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_abcdb571b6c3ea0ee68034c26025c255f.html#abcdb571b6c3ea0ee68034c26025c255f">pism::stressbalance::BlatterTestvanderVeen::m_alpha</a></div><div class="ttdeci">double m_alpha</div><div class="ttdef"><b>Definition:</b> <a href="BlatterTestvanderVeen_8hh_source.html#l00081">BlatterTestvanderVeen.hh:81</a></div></div>
<div class="ttc" id="aclasspism_1_1stressbalance_1_1BlatterTestvanderVeen_ac8ba684c240da35059438e686e09b345_html_ac8ba684c240da35059438e686e09b345"><div class="ttname"><a href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_ac8ba684c240da35059438e686e09b345.html#ac8ba684c240da35059438e686e09b345">pism::stressbalance::BlatterTestvanderVeen::b_exact</a></div><div class="ttdeci">double b_exact(double x) const</div><div class="ttdef"><b>Definition:</b> <a href="BlatterTestvanderVeen_8cc_source.html#l00108">BlatterTestvanderVeen.cc:108</a></div></div>
<div class="ttc" id="aclasspism_1_1stressbalance_1_1BlatterTestvanderVeen_ae48c4377f1059fcf3435a889af8c83b7_html_ae48c4377f1059fcf3435a889af8c83b7"><div class="ttname"><a href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_ae48c4377f1059fcf3435a889af8c83b7.html#ae48c4377f1059fcf3435a889af8c83b7">pism::stressbalance::BlatterTestvanderVeen::BlatterTestvanderVeen</a></div><div class="ttdeci">BlatterTestvanderVeen(std::shared_ptr< const Grid > grid, int Mz, int coarsening_factor)</div><div class="ttdef"><b>Definition:</b> <a href="BlatterTestvanderVeen_8cc_source.html#l00030">BlatterTestvanderVeen.cc:30</a></div></div>
<div class="ttc" id="aclasspism_1_1stressbalance_1_1BlatterTestvanderVeen_ae679c87d850f0fd0a0f84f6bc97b7526_html_ae679c87d850f0fd0a0f84f6bc97b7526"><div class="ttname"><a href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_ae679c87d850f0fd0a0f84f6bc97b7526.html#ae679c87d850f0fd0a0f84f6bc97b7526">pism::stressbalance::BlatterTestvanderVeen::residual_surface</a></div><div class="ttdeci">void residual_surface(const fem::Q1Element3 &element, const fem::Q1Element3Face &face, Vector2d *residual)</div><div class="ttdef"><b>Definition:</b> <a href="BlatterTestvanderVeen_8cc_source.html#l00161">BlatterTestvanderVeen.cc:161</a></div></div>
<div class="ttc" id="aclasspism_1_1stressbalance_1_1BlatterTestvanderVeen_ae6af76da58c3c306c7e873dd3be78f27_html_ae6af76da58c3c306c7e873dd3be78f27"><div class="ttname"><a href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_ae6af76da58c3c306c7e873dd3be78f27.html#ae6af76da58c3c306c7e873dd3be78f27">pism::stressbalance::BlatterTestvanderVeen::residual_lateral</a></div><div class="ttdeci">void residual_lateral(const fem::Q1Element3 &element, const fem::Q1Element3Face &face, const double *surface_nodal, const double *z_nodal, const double *sl_nodal, Vector2d *residual)</div><div class="ttdef"><b>Definition:</b> <a href="BlatterTestvanderVeen_8cc_source.html#l00117">BlatterTestvanderVeen.cc:117</a></div></div>
<div class="ttc" id="aclasspism_1_1stressbalance_1_1BlatterTestvanderVeen_aebd629f55c5df49fd7de0ff0861c0c9b_html_aebd629f55c5df49fd7de0ff0861c0c9b"><div class="ttname"><a href="classpism_1_1stressbalance_1_1BlatterTestvanderVeen_aebd629f55c5df49fd7de0ff0861c0c9b.html#aebd629f55c5df49fd7de0ff0861c0c9b">pism::stressbalance::BlatterTestvanderVeen::H_exact</a></div><div class="ttdeci">double H_exact(double x) const</div><div class="ttdef"><b>Definition:</b> <a href="BlatterTestvanderVeen_8cc_source.html#l00103">BlatterTestvanderVeen.cc:103</a></div></div>
<div class="ttc" id="aclasspism_1_1stressbalance_1_1Blatter_a0ba9514fbaf1c3c82e2f1a60a99ff0b6_html_a0ba9514fbaf1c3c82e2f1a60a99ff0b6"><div class="ttname"><a href="classpism_1_1stressbalance_1_1Blatter_a0ba9514fbaf1c3c82e2f1a60a99ff0b6.html#a0ba9514fbaf1c3c82e2f1a60a99ff0b6">pism::stressbalance::Blatter::m_scaling</a></div><div class="ttdeci">double m_scaling</div><div class="ttdef"><b>Definition:</b> <a href="Blatter_8hh_source.html#l00082">Blatter.hh:82</a></div></div>
<div class="ttc" id="aclasspism_1_1stressbalance_1_1Blatter_a6b88f6f0a040d7acd7c39cd8a19dad68_html_a6b88f6f0a040d7acd7c39cd8a19dad68"><div class="ttname"><a href="classpism_1_1stressbalance_1_1Blatter_a6b88f6f0a040d7acd7c39cd8a19dad68.html#a6b88f6f0a040d7acd7c39cd8a19dad68">pism::stressbalance::Blatter::m_work</a></div><div class="ttdeci">double m_work[m_n_work][m_Nq]</div><div class="ttdef"><b>Definition:</b> <a href="Blatter_8hh_source.html#l00108">Blatter.hh:108</a></div></div>
<div class="ttc" id="aclasspism_1_1stressbalance_1_1Blatter_html"><div class="ttname"><a href="classpism_1_1stressbalance_1_1Blatter.html">pism::stressbalance::Blatter</a></div><div class="ttdef"><b>Definition:</b> <a href="Blatter_8hh_source.html#l00037">Blatter.hh:37</a></div></div>
<div class="ttc" id="aclasspism_1_1stressbalance_1_1ShallowStressBalance_a6b739e49bbd63df7def997aafdd55d0d_html_a6b739e49bbd63df7def997aafdd55d0d"><div class="ttname"><a href="classpism_1_1stressbalance_1_1ShallowStressBalance_a6b739e49bbd63df7def997aafdd55d0d.html#a6b739e49bbd63df7def997aafdd55d0d">pism::stressbalance::ShallowStressBalance::m_flow_law</a></div><div class="ttdeci">std::shared_ptr< rheology::FlowLaw > m_flow_law</div><div class="ttdef"><b>Definition:</b> <a href="ShallowStressBalance_8hh_source.html#l00078">ShallowStressBalance.hh:78</a></div></div>
<div class="ttc" id="aclasspism_1_1stressbalance_1_1ShallowStressBalance_ad08f0eae9ab20e9a29059ebc14931735_html_ad08f0eae9ab20e9a29059ebc14931735"><div class="ttname"><a href="classpism_1_1stressbalance_1_1ShallowStressBalance_ad08f0eae9ab20e9a29059ebc14931735.html#ad08f0eae9ab20e9a29059ebc14931735">pism::stressbalance::ShallowStressBalance::m_EC</a></div><div class="ttdeci">EnthalpyConverter::Ptr m_EC</div><div class="ttdef"><b>Definition:</b> <a href="ShallowStressBalance_8hh_source.html#l00079">ShallowStressBalance.hh:79</a></div></div>
<div class="ttc" id="aexactTestM_8c_ad5228cd48403ef9d8b632f5c7c124720_html_ad5228cd48403ef9d8b632f5c7c124720"><div class="ttname"><a href="exactTestM_8c_ad5228cd48403ef9d8b632f5c7c124720.html#ad5228cd48403ef9d8b632f5c7c124720">n</a></div><div class="ttdeci">#define n</div><div class="ttdef"><b>Definition:</b> <a href="exactTestM_8c_source.html#l00037">exactTestM.c:37</a></div></div>
<div class="ttc" id="anamespacepism_1_1fem_1_1q13d_a15a7b2ec0e759c45002166d1bd5fb683_html_a15a7b2ec0e759c45002166d1bd5fb683"><div class="ttname"><a href="namespacepism_1_1fem_1_1q13d_a15a7b2ec0e759c45002166d1bd5fb683.html#a15a7b2ec0e759c45002166d1bd5fb683">pism::fem::q13d::n_chi</a></div><div class="ttdeci">const int n_chi</div><div class="ttdoc">Number of shape functions on a Q1 element.</div><div class="ttdef"><b>Definition:</b> <a href="FEM_8hh_source.html#l00213">FEM.hh:213</a></div></div>
<div class="ttc" id="anamespacepism_1_1fem_1_1q13d_aa17b814c434bd5ce04062bbf0a914c1b_html_aa17b814c434bd5ce04062bbf0a914c1b"><div class="ttname"><a href="namespacepism_1_1fem_1_1q13d_aa17b814c434bd5ce04062bbf0a914c1b.html#aa17b814c434bd5ce04062bbf0a914c1b">pism::fem::q13d::incident_nodes</a></div><div class="ttdeci">const unsigned int incident_nodes[n_faces][4]</div><div class="ttdef"><b>Definition:</b> <a href="FEM_8hh_source.html#l00223">FEM.hh:223</a></div></div>
<div class="ttc" id="anamespacepism_1_1grid_a368298223e3f3828fa1e4dcae12fbd3e_html_a368298223e3f3828fa1e4dcae12fbd3ea1f9bcf63b31683da22bcbcc6c03d4af2"><div class="ttname"><a href="namespacepism_1_1grid_a368298223e3f3828fa1e4dcae12fbd3e.html#a368298223e3f3828fa1e4dcae12fbd3ea1f9bcf63b31683da22bcbcc6c03d4af2">pism::grid::Y_PERIODIC</a></div><div class="ttdeci">@ Y_PERIODIC</div><div class="ttdef"><b>Definition:</b> <a href="Grid_8hh_source.html#l00051">Grid.hh:51</a></div></div>
<div class="ttc" id="anamespacepism_1_1units_aae3f4db8a6a2365e607a699bc61a5077_html_aae3f4db8a6a2365e607a699bc61a5077"><div class="ttname"><a href="namespacepism_1_1units_aae3f4db8a6a2365e607a699bc61a5077.html#aae3f4db8a6a2365e607a699bc61a5077">pism::units::convert</a></div><div class="ttdeci">double convert(System::Ptr system, double input, const std::string &spec1, const std::string &spec2)</div><div class="ttdoc">Convert a quantity from unit1 to unit2.</div><div class="ttdef"><b>Definition:</b> <a href="Units_8cc_source.html#l00070">Units.cc:70</a></div></div>
<div class="ttc" id="anamespacepism_a0c7c652525678abd7c902aea3700826d_html_a0c7c652525678abd7c902aea3700826d"><div class="ttname"><a href="namespacepism_a0c7c652525678abd7c902aea3700826d.html#a0c7c652525678abd7c902aea3700826d">pism::blatter_xz_vanderveen_beta</a></div><div class="ttdeci">double blatter_xz_vanderveen_beta(double x, double alpha, double H_0, double Q_0, double rho_i, double g, double B)</div><div class="ttdef"><b>Definition:</b> <a href="manufactured__solutions_8cc_source.html#l00221">manufactured_solutions.cc:221</a></div></div>
<div class="ttc" id="anamespacepism_a1e78bf5c792ff150b165416ed5770bd8_html_a1e78bf5c792ff150b165416ed5770bd8"><div class="ttname"><a href="namespacepism_a1e78bf5c792ff150b165416ed5770bd8.html#a1e78bf5c792ff150b165416ed5770bd8">pism::blatter_xz_vanderveen_thickness</a></div><div class="ttdeci">double blatter_xz_vanderveen_thickness(double x, double alpha, double H_0, double Q_0, double rho_i, double g, double B)</div><div class="ttdef"><b>Definition:</b> <a href="manufactured__solutions_8cc_source.html#l00189">manufactured_solutions.cc:189</a></div></div>
<div class="ttc" id="anamespacepism_a200b1c89a64c718f6b0f585508e55172_html_a200b1c89a64c718f6b0f585508e55172"><div class="ttname"><a href="namespacepism_a200b1c89a64c718f6b0f585508e55172.html#a200b1c89a64c718f6b0f585508e55172">pism::F</a></div><div class="ttdeci">static double F(double SL, double B, double H, double alpha)</div><div class="ttdef"><b>Definition:</b> <a href="grounded__cell__fraction_8cc_source.html#l00225">grounded_cell_fraction.cc:225</a></div></div>
<div class="ttc" id="anamespacepism_a2869ad0a3de428958272abec9444a66e_html_a2869ad0a3de428958272abec9444a66e"><div class="ttname"><a href="namespacepism_a2869ad0a3de428958272abec9444a66e.html#a2869ad0a3de428958272abec9444a66e">pism::blatter_xz_vanderveen_source_lateral</a></div><div class="ttdeci">Vector2d blatter_xz_vanderveen_source_lateral(double x, double alpha, double H_0, double Q_0, double rho_i, double g, double B)</div><div class="ttdef"><b>Definition:</b> <a href="manufactured__solutions_8cc_source.html#l00203">manufactured_solutions.cc:203</a></div></div>
<div class="ttc" id="anamespacepism_a29133ed3f28e0aaba2d3af612dbbc5d6_html_a29133ed3f28e0aaba2d3af612dbbc5d6a043c9212bcba2789d9a5eb622e894054"><div class="ttname"><a href="namespacepism_a29133ed3f28e0aaba2d3af612dbbc5d6.html#a29133ed3f28e0aaba2d3af612dbbc5d6a043c9212bcba2789d9a5eb622e894054">pism::NODE_BOUNDARY</a></div><div class="ttdeci">@ NODE_BOUNDARY</div><div class="ttdef"><b>Definition:</b> <a href="node__types_8hh_source.html#l00035">node_types.hh:35</a></div></div>
<div class="ttc" id="anamespacepism_a3e0360d78a2a9a39c551ec19d8f23215_html_a3e0360d78a2a9a39c551ec19d8f23215"><div class="ttname"><a href="namespacepism_a3e0360d78a2a9a39c551ec19d8f23215.html#a3e0360d78a2a9a39c551ec19d8f23215">pism::blatter_xz_vanderveen_source_surface</a></div><div class="ttdeci">Vector2d blatter_xz_vanderveen_source_surface(double x, double alpha, double H_0, double Q_0, double rho_i, double g, double B)</div><div class="ttdef"><b>Definition:</b> <a href="manufactured__solutions_8cc_source.html#l00212">manufactured_solutions.cc:212</a></div></div>
<div class="ttc" id="anamespacepism_a66d46152a40efc41de932a2344da4b12_html_a66d46152a40efc41de932a2344da4b12"><div class="ttname"><a href="namespacepism_a66d46152a40efc41de932a2344da4b12.html#a66d46152a40efc41de932a2344da4b12">pism::blatter_xz_vanderveen_exact</a></div><div class="ttdeci">Vector2d blatter_xz_vanderveen_exact(double x, double alpha, double H_0, double Q_0, double rho_i, double g, double B)</div><div class="ttdef"><b>Definition:</b> <a href="manufactured__solutions_8cc_source.html#l00194">manufactured_solutions.cc:194</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="assafd__code_8cc_a87ae798803dece6c82b4e7cb734f4cc3_html_a87ae798803dece6c82b4e7cb734f4cc3"><div class="ttname"><a href="ssafd__code_8cc_a87ae798803dece6c82b4e7cb734f4cc3.html#a87ae798803dece6c82b4e7cb734f4cc3">I</a></div><div class="ttdeci">const int I[]</div><div class="ttdef"><b>Definition:</b> <a href="ssafd__code_8cc_source.html#l00024">ssafd_code.cc:24</a></div></div>
<div class="ttc" id="astructpism_1_1fem_1_1Element3_1_1GlobalIndex_html"><div class="ttname"><a href="structpism_1_1fem_1_1Element3_1_1GlobalIndex.html">pism::fem::Element3::GlobalIndex</a></div><div class="ttdef"><b>Definition:</b> <a href="Element_8hh_source.html#l00294">Element.hh:294</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>