-
Notifications
You must be signed in to change notification settings - Fork 0
/
CalvingAtThickness_8cc_source.html
259 lines (257 loc) · 47.4 KB
/
CalvingAtThickness_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
<!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/frontretreat/calving/CalvingAtThickness.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_1086a38ef1db31700667572fb79f4dd3.html">frontretreat</a></li><li class="navelem"><a class="el" href="dir_326388fa4e75349239ed164d26e8c5a9.html">calving</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">CalvingAtThickness.cc</div> </div>
</div><!--header-->
<div class="contents">
<a href="CalvingAtThickness_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) 2013, 2014, 2015, 2016, 2017, 2018, 2019, 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/frontretreat/calving/CalvingAtThickness.hh"</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/Mask.hh"</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include "pism/util/Grid.hh"</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include "pism/util/pism_utilities.hh"</span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include "pism/coupler/util/options.hh"</span></div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include "pism/util/array/Forcing.hh"</span></div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include "pism/util/io/File.hh"</span></div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  </div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="keyword">namespace </span><a class="code" href="namespacepism.html">pism</a> {</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="comment"></span> </div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="comment">//! @brief Calving and iceberg removal code.</span></div>
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="namespacepism_1_1calving.html"> 32</a></span> <span class="comment"></span><span class="keyword">namespace </span>calving {</div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  </div>
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="classpism_1_1calving_1_1CalvingAtThickness_abf0eecd95661f0e42e44c27588b0c848.html#abf0eecd95661f0e42e44c27588b0c848"> 34</a></span> <a class="code" href="classpism_1_1calving_1_1CalvingAtThickness_abf0eecd95661f0e42e44c27588b0c848.html#abf0eecd95661f0e42e44c27588b0c848">CalvingAtThickness::CalvingAtThickness</a>(std::shared_ptr<const Grid> <a class="code" href="namespacepism_a47d754ed3e959d5866b02a1b78b6a5b5.html#a47d754ed3e959d5866b02a1b78b6a5b5">g</a>)</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  : <a class="code" href="classpism_1_1Component.html">Component</a>(<a class="code" href="namespacepism_a47d754ed3e959d5866b02a1b78b6a5b5.html#a47d754ed3e959d5866b02a1b78b6a5b5">g</a>),</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  m_old_mask(m_grid, <span class="stringliteral">"old_mask"</span>) {</div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  </div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  <a class="code" href="structpism_1_1ForcingOptions.html">ForcingOptions</a> opt(*<a class="code" href="classpism_1_1Component_a745aa37bc1b5da6db5bfc280ecb3c811.html#a745aa37bc1b5da6db5bfc280ecb3c811">m_grid</a>->ctx(), <span class="stringliteral">"calving.thickness_calving"</span>);</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="keywordtype">unsigned</span> <span class="keywordtype">int</span> buffer_size = <a class="code" href="classpism_1_1Component_a28f298fc2133baae8cebf9dedf3b4d84.html#a28f298fc2133baae8cebf9dedf3b4d84">m_config</a>->get_number(<span class="stringliteral">"input.forcing.buffer_size"</span>);</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  </div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <a class="code" href="classpism_1_1File.html">File</a> file(<a class="code" href="classpism_1_1Component_a745aa37bc1b5da6db5bfc280ecb3c811.html#a745aa37bc1b5da6db5bfc280ecb3c811">m_grid</a>->com, opt.<a class="code" href="structpism_1_1ForcingOptions_a5a9f2c92cf9f433d66e67ea0bd9fa810.html#a5a9f2c92cf9f433d66e67ea0bd9fa810">filename</a>, <a class="code" href="namespacepism_1_1io_a0caba8881b0d36c8cc1eccfa13c0e81f.html#a0caba8881b0d36c8cc1eccfa13c0e81fa6bde5f56cc5b2335b46d08f2ac2985be">io::PISM_NETCDF3</a>, <a class="code" href="namespacepism_1_1io_a12c1fd23e92335e2396baab0354b262f.html#a12c1fd23e92335e2396baab0354b262fabb5d91fa1da1214c24d193a75f11f0a2">io::PISM_READONLY</a>);</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  </div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <a class="code" href="classpism_1_1calving_1_1CalvingAtThickness_a70edb3882b3c930e0f1de09429cd0431.html#a70edb3882b3c930e0f1de09429cd0431">m_calving_threshold</a> = std::make_shared<array::Forcing>(<a class="code" href="classpism_1_1Component_a745aa37bc1b5da6db5bfc280ecb3c811.html#a745aa37bc1b5da6db5bfc280ecb3c811">m_grid</a>,</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  file,</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="stringliteral">"thickness_calving_threshold"</span>,</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <span class="stringliteral">""</span>, <span class="comment">// no standard name</span></div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  buffer_size,</div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  opt.<a class="code" href="structpism_1_1ForcingOptions_a8950d4d2c7f8e49adff11b121573b717.html#a8950d4d2c7f8e49adff11b121573b717">periodic</a>,</div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <a class="code" href="namespacepism_a3415cf6a7a4530c4e489feebe6365e03.html#a3415cf6a7a4530c4e489feebe6365e03aa03926dd636ce1d977b1a8a9ed608c85">LINEAR</a>);</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_1calving_1_1CalvingAtThickness_a70edb3882b3c930e0f1de09429cd0431.html#a70edb3882b3c930e0f1de09429cd0431">m_calving_threshold</a>->metadata(0)</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  .long_name(<span class="stringliteral">"threshold used by the 'calving at threshold' calving method"</span>)</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  .units(<span class="stringliteral">"m"</span>); <span class="comment">// no standard name</span></div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <a class="code" href="classpism_1_1calving_1_1CalvingAtThickness_a70edb3882b3c930e0f1de09429cd0431.html#a70edb3882b3c930e0f1de09429cd0431">m_calving_threshold</a>->metadata()[<span class="stringliteral">"valid_min"</span>] = {0.0};</div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  }</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>  </div>
<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="classpism_1_1calving_1_1CalvingAtThickness_a8b81d7ef96daebd980a1d682a3e269ca.html#a8b81d7ef96daebd980a1d682a3e269ca"> 59</a></span> <span class="keywordtype">void</span> <a class="code" href="classpism_1_1calving_1_1CalvingAtThickness_a8b81d7ef96daebd980a1d682a3e269ca.html#a8b81d7ef96daebd980a1d682a3e269ca">CalvingAtThickness::init</a>() {</div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  </div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <a class="code" href="classpism_1_1Component_a29575eba605feccf4403d6b4ff0954a4.html#a29575eba605feccf4403d6b4ff0954a4">m_log</a>->message(2, <span class="stringliteral">"* Initializing the 'calving at a threshold thickness' mechanism...\n"</span>);</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  </div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <a class="code" href="structpism_1_1ForcingOptions.html">ForcingOptions</a> opt(*<a class="code" href="classpism_1_1Component_a745aa37bc1b5da6db5bfc280ecb3c811.html#a745aa37bc1b5da6db5bfc280ecb3c811">m_grid</a>->ctx(), <span class="stringliteral">"calving.thickness_calving"</span>);</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  </div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <a class="code" href="classpism_1_1File.html">File</a> file(<a class="code" href="classpism_1_1Component_a745aa37bc1b5da6db5bfc280ecb3c811.html#a745aa37bc1b5da6db5bfc280ecb3c811">m_grid</a>->com, opt.<a class="code" href="structpism_1_1ForcingOptions_a5a9f2c92cf9f433d66e67ea0bd9fa810.html#a5a9f2c92cf9f433d66e67ea0bd9fa810">filename</a>, <a class="code" href="namespacepism_1_1io_a0caba8881b0d36c8cc1eccfa13c0e81f.html#a0caba8881b0d36c8cc1eccfa13c0e81fa308d77197e903bf4f5505b8cb5e377a2">io::PISM_GUESS</a>, <a class="code" href="namespacepism_1_1io_a12c1fd23e92335e2396baab0354b262f.html#a12c1fd23e92335e2396baab0354b262fabb5d91fa1da1214c24d193a75f11f0a2">io::PISM_READONLY</a>);</div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <span class="keyword">auto</span> variable_exists = file.<a class="code" href="classpism_1_1File_a4ec169f0ab9d7858d09f07bffc978f2a.html#a4ec169f0ab9d7858d09f07bffc978f2a">find_variable</a>(<a class="code" href="classpism_1_1calving_1_1CalvingAtThickness_a70edb3882b3c930e0f1de09429cd0431.html#a70edb3882b3c930e0f1de09429cd0431">m_calving_threshold</a>->get_name());</div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <span class="keywordflow">if</span> (variable_exists) {</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <a class="code" href="classpism_1_1Component_a29575eba605feccf4403d6b4ff0954a4.html#a29575eba605feccf4403d6b4ff0954a4">m_log</a>->message(2,</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <span class="stringliteral">" Reading thickness calving threshold from file '%s'...\n"</span>,</div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  opt.<a class="code" href="structpism_1_1ForcingOptions_a5a9f2c92cf9f433d66e67ea0bd9fa810.html#a5a9f2c92cf9f433d66e67ea0bd9fa810">filename</a>.c_str());</div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  </div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <a class="code" href="classpism_1_1calving_1_1CalvingAtThickness_a70edb3882b3c930e0f1de09429cd0431.html#a70edb3882b3c930e0f1de09429cd0431">m_calving_threshold</a>->init(opt.<a class="code" href="structpism_1_1ForcingOptions_a5a9f2c92cf9f433d66e67ea0bd9fa810.html#a5a9f2c92cf9f433d66e67ea0bd9fa810">filename</a>, opt.<a class="code" href="structpism_1_1ForcingOptions_a8950d4d2c7f8e49adff11b121573b717.html#a8950d4d2c7f8e49adff11b121573b717">periodic</a>);</div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <span class="keywordtype">double</span> calving_threshold = <a class="code" href="classpism_1_1Component_a28f298fc2133baae8cebf9dedf3b4d84.html#a28f298fc2133baae8cebf9dedf3b4d84">m_config</a>->get_number(<span class="stringliteral">"calving.thickness_calving.threshold"</span>);</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>  <a class="code" href="classpism_1_1SpatialVariableMetadata.html">SpatialVariableMetadata</a> attributes = <a class="code" href="classpism_1_1calving_1_1CalvingAtThickness_a70edb3882b3c930e0f1de09429cd0431.html#a70edb3882b3c930e0f1de09429cd0431">m_calving_threshold</a>->metadata();</div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="comment">// replace with a constant array::Forcing</span></div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <a class="code" href="classpism_1_1calving_1_1CalvingAtThickness_a70edb3882b3c930e0f1de09429cd0431.html#a70edb3882b3c930e0f1de09429cd0431">m_calving_threshold</a> = <a class="code" href="classpism_1_1array_1_1Forcing_a8569ad95d618a3b1b4c8b2b19c0c78f5.html#a8569ad95d618a3b1b4c8b2b19c0c78f5">array::Forcing::Constant</a>(<a class="code" href="classpism_1_1Component_a745aa37bc1b5da6db5bfc280ecb3c811.html#a745aa37bc1b5da6db5bfc280ecb3c811">m_grid</a>,</div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <span class="stringliteral">"thickness_calving_threshold"</span>,</div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  calving_threshold);</div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="comment">// restore metadata</span></div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <a class="code" href="classpism_1_1calving_1_1CalvingAtThickness_a70edb3882b3c930e0f1de09429cd0431.html#a70edb3882b3c930e0f1de09429cd0431">m_calving_threshold</a>->metadata() = attributes;</div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  </div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <a class="code" href="classpism_1_1Component_a29575eba605feccf4403d6b4ff0954a4.html#a29575eba605feccf4403d6b4ff0954a4">m_log</a>->message(2,</div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <span class="stringliteral">" Thickness threshold: %3.3f meters.\n"</span>, calving_threshold);</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="comment"></span> </div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span> <span class="comment">/**</span></div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span> <span class="comment"> * Updates ice cover mask and the ice thickness according to the</span></div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span> <span class="comment"> * calving rule removing ice at the shelf front that is thinner than a</span></div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span> <span class="comment"> * given threshold.</span></div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span> <span class="comment"> * @param[in] t beginning of the time step</span></div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span> <span class="comment"> * @param[in] dt length of the time step</span></div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span> <span class="comment"> * @param[in,out] pism_mask ice cover mask</span></div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span> <span class="comment"> * @param[in,out] ice_thickness ice thickness</span></div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span> <span class="comment"> * @return 0 on success</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_1calving_1_1CalvingAtThickness_ab1ec79f7efd9b3858d2541bdab291932.html#ab1ec79f7efd9b3858d2541bdab291932"> 101</a></span> <span class="keywordtype">void</span> <a class="code" href="classpism_1_1calving_1_1CalvingAtThickness_ab1ec79f7efd9b3858d2541bdab291932.html#ab1ec79f7efd9b3858d2541bdab291932">CalvingAtThickness::update</a>(<span class="keywordtype">double</span> t,</div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <span class="keywordtype">double</span> dt,</div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  <a class="code" href="classpism_1_1array_1_1Scalar.html">array::Scalar</a> &cell_type,</div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <a class="code" href="classpism_1_1array_1_1Scalar.html">array::Scalar</a> &ice_thickness) {</div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  </div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <a class="code" href="classpism_1_1calving_1_1CalvingAtThickness_a70edb3882b3c930e0f1de09429cd0431.html#a70edb3882b3c930e0f1de09429cd0431">m_calving_threshold</a>->update(t, dt);</div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <a class="code" href="classpism_1_1calving_1_1CalvingAtThickness_a70edb3882b3c930e0f1de09429cd0431.html#a70edb3882b3c930e0f1de09429cd0431">m_calving_threshold</a>->average(t, dt);</div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  </div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <span class="comment">// this call fills ghosts of m_old_mask</span></div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  <a class="code" href="classpism_1_1calving_1_1CalvingAtThickness_ab47ee5f306773fcb59f43258e4b59d11.html#ab47ee5f306773fcb59f43258e4b59d11">m_old_mask</a>.<a class="code" href="classpism_1_1array_1_1Array2D_a7b9a0d8a83d5379f1debdcefce0fffae.html#a7b9a0d8a83d5379f1debdcefce0fffae">copy_from</a>(cell_type);</div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  </div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  <span class="keyword">const</span> <span class="keyword">auto</span> &<a class="code" href="classpism_1_1calving_1_1CalvingAtThickness_adf86e3a191d22bf74db55d336c272066.html#adf86e3a191d22bf74db55d336c272066">threshold</a> = *<a class="code" href="classpism_1_1calving_1_1CalvingAtThickness_a70edb3882b3c930e0f1de09429cd0431.html#a70edb3882b3c930e0f1de09429cd0431">m_calving_threshold</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>  <a class="code" href="classpism_1_1array_1_1AccessScope.html">array::AccessScope</a> list{&cell_type, &ice_thickness, &<a class="code" href="classpism_1_1calving_1_1CalvingAtThickness_ab47ee5f306773fcb59f43258e4b59d11.html#ab47ee5f306773fcb59f43258e4b59d11">m_old_mask</a>, &<a class="code" href="classpism_1_1calving_1_1CalvingAtThickness_adf86e3a191d22bf74db55d336c272066.html#adf86e3a191d22bf74db55d336c272066">threshold</a>};</div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <span class="keywordflow">for</span> (<span class="keyword">auto</span> p = <a class="code" href="classpism_1_1Component_a745aa37bc1b5da6db5bfc280ecb3c811.html#a745aa37bc1b5da6db5bfc280ecb3c811">m_grid</a>->points(); p; p.next()) {</div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  <span class="keyword">const</span> <span class="keywordtype">int</span> i = p.i(), j = p.j();</div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  </div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <span class="keywordflow">if</span> (<a class="code" href="classpism_1_1calving_1_1CalvingAtThickness_ab47ee5f306773fcb59f43258e4b59d11.html#ab47ee5f306773fcb59f43258e4b59d11">m_old_mask</a>.<a class="code" href="classpism_1_1array_1_1CellType_a5838ccdf064d5c21558772be74fba7dc.html#a5838ccdf064d5c21558772be74fba7dc">floating_ice</a>(i, j) &&</div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <a class="code" href="classpism_1_1calving_1_1CalvingAtThickness_ab47ee5f306773fcb59f43258e4b59d11.html#ab47ee5f306773fcb59f43258e4b59d11">m_old_mask</a>.<a class="code" href="classpism_1_1array_1_1CellType1_af7ccff4d7aa140bdc780af5fa56fbf7c.html#af7ccff4d7aa140bdc780af5fa56fbf7c">next_to_ice_free_ocean</a>(i, j) &&</div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  ice_thickness(i, j) < <a class="code" href="classpism_1_1calving_1_1CalvingAtThickness_adf86e3a191d22bf74db55d336c272066.html#adf86e3a191d22bf74db55d336c272066">threshold</a>(i, j)) {</div>
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  ice_thickness(i, j) = 0.0;</div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  cell_type(i, j) = <a class="code" href="namespacepism_a782c0f064d473f15c29df4f1ac7bbed9.html#a782c0f064d473f15c29df4f1ac7bbed9a326b5714dc6fc42c36cd024a72712da7">MASK_ICE_FREE_OCEAN</a>;</div>
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  }</div>
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  }</div>
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  </div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  cell_type.<a class="code" href="classpism_1_1array_1_1Array_ad9defa70b851fd2dfac595cfcbb9d803.html#ad9defa70b851fd2dfac595cfcbb9d803">update_ghosts</a>();</div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  ice_thickness.<a class="code" href="classpism_1_1array_1_1Array_ad9defa70b851fd2dfac595cfcbb9d803.html#ad9defa70b851fd2dfac595cfcbb9d803">update_ghosts</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>  </div>
<div class="line"><a name="l00130"></a><span class="lineno"><a class="line" href="classpism_1_1calving_1_1CalvingAtThickness_adf86e3a191d22bf74db55d336c272066.html#adf86e3a191d22bf74db55d336c272066"> 130</a></span> <span class="keyword">const</span> <a class="code" href="classpism_1_1array_1_1Scalar.html">array::Scalar</a>& <a class="code" href="classpism_1_1calving_1_1CalvingAtThickness_adf86e3a191d22bf74db55d336c272066.html#adf86e3a191d22bf74db55d336c272066">CalvingAtThickness::threshold</a>()<span class="keyword"> const </span>{</div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  <span class="keywordflow">return</span> *<a class="code" href="classpism_1_1calving_1_1CalvingAtThickness_a70edb3882b3c930e0f1de09429cd0431.html#a70edb3882b3c930e0f1de09429cd0431">m_calving_threshold</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>  </div>
<div class="line"><a name="l00134"></a><span class="lineno"><a class="line" href="classpism_1_1calving_1_1CalvingAtThickness_ad119f11faf2e84be4ef63111cb62e08b.html#ad119f11faf2e84be4ef63111cb62e08b"> 134</a></span> <a class="code" href="namespacepism_a6154a990ba873c6ca606d8a320c441ac.html#a6154a990ba873c6ca606d8a320c441ac">DiagnosticList</a> <a class="code" href="classpism_1_1calving_1_1CalvingAtThickness_ad119f11faf2e84be4ef63111cb62e08b.html#ad119f11faf2e84be4ef63111cb62e08b">CalvingAtThickness::diagnostics_impl</a>()<span class="keyword"> const </span>{</div>
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  <span class="keywordflow">return</span> {{<span class="stringliteral">"thickness_calving_threshold"</span>, <a class="code" href="classpism_1_1Diagnostic_a2648c1bc92c5e333ecad30e9a5687ea9.html#a2648c1bc92c5e333ecad30e9a5687ea9">Diagnostic::wrap</a>(*<a class="code" href="classpism_1_1calving_1_1CalvingAtThickness_a70edb3882b3c930e0f1de09429cd0431.html#a70edb3882b3c930e0f1de09429cd0431">m_calving_threshold</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> } <span class="comment">// end of namespace calving</span></div>
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span> } <span class="comment">// end of namespace pism</span></div>
<div class="ttc" id="aclasspism_1_1Component_a28f298fc2133baae8cebf9dedf3b4d84_html_a28f298fc2133baae8cebf9dedf3b4d84"><div class="ttname"><a href="classpism_1_1Component_a28f298fc2133baae8cebf9dedf3b4d84.html#a28f298fc2133baae8cebf9dedf3b4d84">pism::Component::m_config</a></div><div class="ttdeci">const Config::ConstPtr m_config</div><div class="ttdoc">configuration database used by this component</div><div class="ttdef"><b>Definition:</b> <a href="Component_8hh_source.html#l00158">Component.hh:158</a></div></div>
<div class="ttc" id="aclasspism_1_1Component_a29575eba605feccf4403d6b4ff0954a4_html_a29575eba605feccf4403d6b4ff0954a4"><div class="ttname"><a href="classpism_1_1Component_a29575eba605feccf4403d6b4ff0954a4.html#a29575eba605feccf4403d6b4ff0954a4">pism::Component::m_log</a></div><div class="ttdeci">const Logger::ConstPtr m_log</div><div class="ttdoc">logger (for easy access)</div><div class="ttdef"><b>Definition:</b> <a href="Component_8hh_source.html#l00162">Component.hh:162</a></div></div>
<div class="ttc" id="aclasspism_1_1Component_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_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_1Diagnostic_a2648c1bc92c5e333ecad30e9a5687ea9_html_a2648c1bc92c5e333ecad30e9a5687ea9"><div class="ttname"><a href="classpism_1_1Diagnostic_a2648c1bc92c5e333ecad30e9a5687ea9.html#a2648c1bc92c5e333ecad30e9a5687ea9">pism::Diagnostic::wrap</a></div><div class="ttdeci">static Ptr wrap(const T &input)</div><div class="ttdef"><b>Definition:</b> <a href="Diagnostic_8hh_source.html#l00160">Diagnostic.hh:160</a></div></div>
<div class="ttc" id="aclasspism_1_1File_a4ec169f0ab9d7858d09f07bffc978f2a_html_a4ec169f0ab9d7858d09f07bffc978f2a"><div class="ttname"><a href="classpism_1_1File_a4ec169f0ab9d7858d09f07bffc978f2a.html#a4ec169f0ab9d7858d09f07bffc978f2a">pism::File::find_variable</a></div><div class="ttdeci">VariableLookupData find_variable(const std::string &short_name, const std::string &std_name) const</div><div class="ttdoc">Find a variable using its standard name and/or short name.</div><div class="ttdef"><b>Definition:</b> <a href="File_8cc_source.html#l00361">File.cc:361</a></div></div>
<div class="ttc" id="aclasspism_1_1File_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_1SpatialVariableMetadata_html"><div class="ttname"><a href="classpism_1_1SpatialVariableMetadata.html">pism::SpatialVariableMetadata</a></div><div class="ttdoc">Spatial NetCDF variable (corresponding to a 2D or 3D scalar field).</div><div class="ttdef"><b>Definition:</b> <a href="VariableMetadata_8hh_source.html#l00188">VariableMetadata.hh:188</a></div></div>
<div class="ttc" id="aclasspism_1_1array_1_1AccessScope_html"><div class="ttname"><a href="classpism_1_1array_1_1AccessScope.html">pism::array::AccessScope</a></div><div class="ttdoc">Makes sure that we call begin_access() and end_access() for all accessed array::Arrays.</div><div class="ttdef"><b>Definition:</b> <a href="Array_8hh_source.html#l00065">Array.hh:65</a></div></div>
<div class="ttc" id="aclasspism_1_1array_1_1Array2D_a7b9a0d8a83d5379f1debdcefce0fffae_html_a7b9a0d8a83d5379f1debdcefce0fffae"><div class="ttname"><a href="classpism_1_1array_1_1Array2D_a7b9a0d8a83d5379f1debdcefce0fffae.html#a7b9a0d8a83d5379f1debdcefce0fffae">pism::array::Array2D::copy_from</a></div><div class="ttdeci">void copy_from(const Array2D< T > &source)</div><div class="ttdef"><b>Definition:</b> <a href="Array2D_8hh_source.html#l00073">Array2D.hh:73</a></div></div>
<div class="ttc" id="aclasspism_1_1array_1_1Array_ad9defa70b851fd2dfac595cfcbb9d803_html_ad9defa70b851fd2dfac595cfcbb9d803"><div class="ttname"><a href="classpism_1_1array_1_1Array_ad9defa70b851fd2dfac595cfcbb9d803.html#ad9defa70b851fd2dfac595cfcbb9d803">pism::array::Array::update_ghosts</a></div><div class="ttdeci">void update_ghosts()</div><div class="ttdoc">Updates ghost points.</div><div class="ttdef"><b>Definition:</b> <a href="Array_8cc_source.html#l00693">Array.cc:693</a></div></div>
<div class="ttc" id="aclasspism_1_1array_1_1CellType1_af7ccff4d7aa140bdc780af5fa56fbf7c_html_af7ccff4d7aa140bdc780af5fa56fbf7c"><div class="ttname"><a href="classpism_1_1array_1_1CellType1_af7ccff4d7aa140bdc780af5fa56fbf7c.html#af7ccff4d7aa140bdc780af5fa56fbf7c">pism::array::CellType1::next_to_ice_free_ocean</a></div><div class="ttdeci">bool next_to_ice_free_ocean(int i, int j) const</div><div class="ttdef"><b>Definition:</b> <a href="CellType_8hh_source.html#l00106">CellType.hh:106</a></div></div>
<div class="ttc" id="aclasspism_1_1array_1_1CellType_a5838ccdf064d5c21558772be74fba7dc_html_a5838ccdf064d5c21558772be74fba7dc"><div class="ttname"><a href="classpism_1_1array_1_1CellType_a5838ccdf064d5c21558772be74fba7dc.html#a5838ccdf064d5c21558772be74fba7dc">pism::array::CellType::floating_ice</a></div><div class="ttdeci">bool floating_ice(int i, int j) const</div><div class="ttdef"><b>Definition:</b> <a href="CellType_8hh_source.html#l00050">CellType.hh:50</a></div></div>
<div class="ttc" id="aclasspism_1_1array_1_1Forcing_a8569ad95d618a3b1b4c8b2b19c0c78f5_html_a8569ad95d618a3b1b4c8b2b19c0c78f5"><div class="ttname"><a href="classpism_1_1array_1_1Forcing_a8569ad95d618a3b1b4c8b2b19c0c78f5.html#a8569ad95d618a3b1b4c8b2b19c0c78f5">pism::array::Forcing::Constant</a></div><div class="ttdeci">static std::shared_ptr< Forcing > Constant(std::shared_ptr< const Grid > grid, const std::string &short_name, double value)</div><div class="ttdef"><b>Definition:</b> <a href="Forcing_8cc_source.html#l00147">Forcing.cc:147</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_1calving_1_1CalvingAtThickness_a70edb3882b3c930e0f1de09429cd0431_html_a70edb3882b3c930e0f1de09429cd0431"><div class="ttname"><a href="classpism_1_1calving_1_1CalvingAtThickness_a70edb3882b3c930e0f1de09429cd0431.html#a70edb3882b3c930e0f1de09429cd0431">pism::calving::CalvingAtThickness::m_calving_threshold</a></div><div class="ttdeci">std::shared_ptr< array::Forcing > m_calving_threshold</div><div class="ttdef"><b>Definition:</b> <a href="CalvingAtThickness_8hh_source.html#l00048">CalvingAtThickness.hh:48</a></div></div>
<div class="ttc" id="aclasspism_1_1calving_1_1CalvingAtThickness_a8b81d7ef96daebd980a1d682a3e269ca_html_a8b81d7ef96daebd980a1d682a3e269ca"><div class="ttname"><a href="classpism_1_1calving_1_1CalvingAtThickness_a8b81d7ef96daebd980a1d682a3e269ca.html#a8b81d7ef96daebd980a1d682a3e269ca">pism::calving::CalvingAtThickness::init</a></div><div class="ttdeci">void init()</div><div class="ttdef"><b>Definition:</b> <a href="CalvingAtThickness_8cc_source.html#l00059">CalvingAtThickness.cc:59</a></div></div>
<div class="ttc" id="aclasspism_1_1calving_1_1CalvingAtThickness_ab1ec79f7efd9b3858d2541bdab291932_html_ab1ec79f7efd9b3858d2541bdab291932"><div class="ttname"><a href="classpism_1_1calving_1_1CalvingAtThickness_ab1ec79f7efd9b3858d2541bdab291932.html#ab1ec79f7efd9b3858d2541bdab291932">pism::calving::CalvingAtThickness::update</a></div><div class="ttdeci">void update(double t, double dt, array::Scalar &cell_type, array::Scalar &ice_thickness)</div><div class="ttdef"><b>Definition:</b> <a href="CalvingAtThickness_8cc_source.html#l00101">CalvingAtThickness.cc:101</a></div></div>
<div class="ttc" id="aclasspism_1_1calving_1_1CalvingAtThickness_ab47ee5f306773fcb59f43258e4b59d11_html_ab47ee5f306773fcb59f43258e4b59d11"><div class="ttname"><a href="classpism_1_1calving_1_1CalvingAtThickness_ab47ee5f306773fcb59f43258e4b59d11.html#ab47ee5f306773fcb59f43258e4b59d11">pism::calving::CalvingAtThickness::m_old_mask</a></div><div class="ttdeci">array::CellType1 m_old_mask</div><div class="ttdef"><b>Definition:</b> <a href="CalvingAtThickness_8hh_source.html#l00049">CalvingAtThickness.hh:49</a></div></div>
<div class="ttc" id="aclasspism_1_1calving_1_1CalvingAtThickness_abf0eecd95661f0e42e44c27588b0c848_html_abf0eecd95661f0e42e44c27588b0c848"><div class="ttname"><a href="classpism_1_1calving_1_1CalvingAtThickness_abf0eecd95661f0e42e44c27588b0c848.html#abf0eecd95661f0e42e44c27588b0c848">pism::calving::CalvingAtThickness::CalvingAtThickness</a></div><div class="ttdeci">CalvingAtThickness(std::shared_ptr< const Grid > g)</div><div class="ttdef"><b>Definition:</b> <a href="CalvingAtThickness_8cc_source.html#l00034">CalvingAtThickness.cc:34</a></div></div>
<div class="ttc" id="aclasspism_1_1calving_1_1CalvingAtThickness_ad119f11faf2e84be4ef63111cb62e08b_html_ad119f11faf2e84be4ef63111cb62e08b"><div class="ttname"><a href="classpism_1_1calving_1_1CalvingAtThickness_ad119f11faf2e84be4ef63111cb62e08b.html#ad119f11faf2e84be4ef63111cb62e08b">pism::calving::CalvingAtThickness::diagnostics_impl</a></div><div class="ttdeci">DiagnosticList diagnostics_impl() const</div><div class="ttdef"><b>Definition:</b> <a href="CalvingAtThickness_8cc_source.html#l00134">CalvingAtThickness.cc:134</a></div></div>
<div class="ttc" id="aclasspism_1_1calving_1_1CalvingAtThickness_adf86e3a191d22bf74db55d336c272066_html_adf86e3a191d22bf74db55d336c272066"><div class="ttname"><a href="classpism_1_1calving_1_1CalvingAtThickness_adf86e3a191d22bf74db55d336c272066.html#adf86e3a191d22bf74db55d336c272066">pism::calving::CalvingAtThickness::threshold</a></div><div class="ttdeci">const array::Scalar & threshold() const</div><div class="ttdef"><b>Definition:</b> <a href="CalvingAtThickness_8cc_source.html#l00130">CalvingAtThickness.cc:130</a></div></div>
<div class="ttc" id="anamespacepism_1_1io_a0caba8881b0d36c8cc1eccfa13c0e81f_html_a0caba8881b0d36c8cc1eccfa13c0e81fa308d77197e903bf4f5505b8cb5e377a2"><div class="ttname"><a href="namespacepism_1_1io_a0caba8881b0d36c8cc1eccfa13c0e81f.html#a0caba8881b0d36c8cc1eccfa13c0e81fa308d77197e903bf4f5505b8cb5e377a2">pism::io::PISM_GUESS</a></div><div class="ttdeci">@ PISM_GUESS</div><div class="ttdef"><b>Definition:</b> <a href="IO__Flags_8hh_source.html#l00056">IO_Flags.hh:56</a></div></div>
<div class="ttc" id="anamespacepism_1_1io_a0caba8881b0d36c8cc1eccfa13c0e81f_html_a0caba8881b0d36c8cc1eccfa13c0e81fa6bde5f56cc5b2335b46d08f2ac2985be"><div class="ttname"><a href="namespacepism_1_1io_a0caba8881b0d36c8cc1eccfa13c0e81f.html#a0caba8881b0d36c8cc1eccfa13c0e81fa6bde5f56cc5b2335b46d08f2ac2985be">pism::io::PISM_NETCDF3</a></div><div class="ttdeci">@ PISM_NETCDF3</div><div class="ttdef"><b>Definition:</b> <a href="IO__Flags_8hh_source.html#l00057">IO_Flags.hh:57</a></div></div>
<div class="ttc" id="anamespacepism_1_1io_a12c1fd23e92335e2396baab0354b262f_html_a12c1fd23e92335e2396baab0354b262fabb5d91fa1da1214c24d193a75f11f0a2"><div class="ttname"><a href="namespacepism_1_1io_a12c1fd23e92335e2396baab0354b262f.html#a12c1fd23e92335e2396baab0354b262fabb5d91fa1da1214c24d193a75f11f0a2">pism::io::PISM_READONLY</a></div><div class="ttdeci">@ PISM_READONLY</div><div class="ttdoc">open an existing file for reading only</div><div class="ttdef"><b>Definition:</b> <a href="IO__Flags_8hh_source.html#l00072">IO_Flags.hh:72</a></div></div>
<div class="ttc" id="anamespacepism_a3415cf6a7a4530c4e489feebe6365e03_html_a3415cf6a7a4530c4e489feebe6365e03aa03926dd636ce1d977b1a8a9ed608c85"><div class="ttname"><a href="namespacepism_a3415cf6a7a4530c4e489feebe6365e03.html#a3415cf6a7a4530c4e489feebe6365e03aa03926dd636ce1d977b1a8a9ed608c85">pism::LINEAR</a></div><div class="ttdeci">@ LINEAR</div><div class="ttdef"><b>Definition:</b> <a href="interpolation_8hh_source.html#l00029">interpolation.hh:29</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_a782c0f064d473f15c29df4f1ac7bbed9_html_a782c0f064d473f15c29df4f1ac7bbed9a326b5714dc6fc42c36cd024a72712da7"><div class="ttname"><a href="namespacepism_a782c0f064d473f15c29df4f1ac7bbed9.html#a782c0f064d473f15c29df4f1ac7bbed9a326b5714dc6fc42c36cd024a72712da7">pism::MASK_ICE_FREE_OCEAN</a></div><div class="ttdeci">@ MASK_ICE_FREE_OCEAN</div><div class="ttdef"><b>Definition:</b> <a href="Mask_8hh_source.html#l00036">Mask.hh:35</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_1ForcingOptions_a5a9f2c92cf9f433d66e67ea0bd9fa810_html_a5a9f2c92cf9f433d66e67ea0bd9fa810"><div class="ttname"><a href="structpism_1_1ForcingOptions_a5a9f2c92cf9f433d66e67ea0bd9fa810.html#a5a9f2c92cf9f433d66e67ea0bd9fa810">pism::ForcingOptions::filename</a></div><div class="ttdeci">std::string filename</div><div class="ttdef"><b>Definition:</b> <a href="coupler_2util_2options_8hh_source.html#l00033">options.hh:33</a></div></div>
<div class="ttc" id="astructpism_1_1ForcingOptions_a8950d4d2c7f8e49adff11b121573b717_html_a8950d4d2c7f8e49adff11b121573b717"><div class="ttname"><a href="structpism_1_1ForcingOptions_a8950d4d2c7f8e49adff11b121573b717.html#a8950d4d2c7f8e49adff11b121573b717">pism::ForcingOptions::periodic</a></div><div class="ttdeci">bool periodic</div><div class="ttdef"><b>Definition:</b> <a href="coupler_2util_2options_8hh_source.html#l00034">options.hh:34</a></div></div>
<div class="ttc" id="astructpism_1_1ForcingOptions_html"><div class="ttname"><a href="structpism_1_1ForcingOptions.html">pism::ForcingOptions</a></div><div class="ttdef"><b>Definition:</b> <a href="coupler_2util_2options_8hh_source.html#l00031">options.hh:31</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>