-
Notifications
You must be signed in to change notification settings - Fork 0
/
CellType_8hh_source.html
247 lines (245 loc) · 48.9 KB
/
CellType_8hh_source.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
<!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/util/array/CellType.hh Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
extensions: ["tex2jax.js"],
jax: ["input/TeX","output/HTML-CSS"],
});
</script>
<script type="text/javascript" async="async" src="https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="browser.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">PISM, A Parallel Ice Sheet Model
 <span id="projectnumber">stable v2.1.1 committed by Constantine Khrulev on 2024-12-04 13:36:58 -0900</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_b7878ad5ecbf2506f4125b9d34c97e45.html">util</a></li><li class="navelem"><a class="el" href="dir_694baf79f0b9500ddbbf7bc0025b9d91.html">array</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">CellType.hh</div> </div>
</div><!--header-->
<div class="contents">
<a href="CellType_8hh.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/* Copyright (C) 2016, 2019, 2020, 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">#ifndef PISM_ARRAY_CELLTYPE_H</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#define PISM_ARRAY_CELLTYPE_H</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/util/array/Scalar.hh"</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include "pism/util/Mask.hh"</span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  </div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="keyword">namespace </span><a class="code" href="namespacepism.html">pism</a> {</div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="keyword">namespace </span>array {</div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="comment"></span> </div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="comment">//! "Cell type" mask. Adds convenience methods to `array::Scalar`.</span></div>
<div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="classpism_1_1array_1_1CellType.html"> 30</a></span> <span class="comment"></span><span class="keyword">class </span><a class="code" href="classpism_1_1array_1_1CellType.html">CellType</a> : <span class="keyword">public</span> <a class="code" href="classpism_1_1array_1_1Scalar.html">Scalar</a> {</div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="keyword">public</span>:</div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  <a class="code" href="classpism_1_1array_1_1CellType_abb025849ed14d9f5cd55e57f3169716a.html#abb025849ed14d9f5cd55e57f3169716a">CellType</a>(std::shared_ptr<const Grid> <a class="code" href="classpism_1_1array_1_1Array_a982fca110a5d7011f681b928b20e3577.html#a982fca110a5d7011f681b928b20e3577">grid</a>, <span class="keyword">const</span> std::string &name);</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_1array_1_1CellType_acfd8168ed86cb5460309fd537064bd42.html#acfd8168ed86cb5460309fd537064bd42"> 34</a></span>  <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="classpism_1_1array_1_1CellType_acfd8168ed86cb5460309fd537064bd42.html#acfd8168ed86cb5460309fd537064bd42">ocean</a>(<span class="keywordtype">int</span> i, <span class="keywordtype">int</span> j)<span class="keyword"> const </span>{</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  <span class="keywordflow">return</span> <a class="code" href="namespacepism_1_1mask_af201676abc8faf30d74dd8fc50b60942.html#af201676abc8faf30d74dd8fc50b60942">mask::ocean</a>(<a class="code" href="classpism_1_1array_1_1Scalar_a24b2beaefb2167f1b0cfa5a9b894e8d9.html#a24b2beaefb2167f1b0cfa5a9b894e8d9">as_int</a>(i, j));</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  }</div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  </div>
<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="classpism_1_1array_1_1CellType_ada641b8ad181dfc6efd1a50d2a361edd.html#ada641b8ad181dfc6efd1a50d2a361edd"> 38</a></span>  <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="classpism_1_1array_1_1CellType_ada641b8ad181dfc6efd1a50d2a361edd.html#ada641b8ad181dfc6efd1a50d2a361edd">grounded</a>(<span class="keywordtype">int</span> i, <span class="keywordtype">int</span> j)<span class="keyword"> const </span>{</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <span class="keywordflow">return</span> <a class="code" href="namespacepism_1_1mask_ad47d0a5b232f9cf32bcb243f8dce9594.html#ad47d0a5b232f9cf32bcb243f8dce9594">mask::grounded</a>(<a class="code" href="classpism_1_1array_1_1Scalar_a24b2beaefb2167f1b0cfa5a9b894e8d9.html#a24b2beaefb2167f1b0cfa5a9b894e8d9">as_int</a>(i, j));</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  }</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  </div>
<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="classpism_1_1array_1_1CellType_afb3654b83f4df9aa12810453cf78a2d7.html#afb3654b83f4df9aa12810453cf78a2d7"> 42</a></span>  <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="classpism_1_1array_1_1CellType_afb3654b83f4df9aa12810453cf78a2d7.html#afb3654b83f4df9aa12810453cf78a2d7">icy</a>(<span class="keywordtype">int</span> i, <span class="keywordtype">int</span> j)<span class="keyword"> const </span>{</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <span class="keywordflow">return</span> <a class="code" href="namespacepism_1_1mask_a1a30f2145e070c05f6a3e9e42fc534cc.html#a1a30f2145e070c05f6a3e9e42fc534cc">mask::icy</a>(<a class="code" href="classpism_1_1array_1_1Scalar_a24b2beaefb2167f1b0cfa5a9b894e8d9.html#a24b2beaefb2167f1b0cfa5a9b894e8d9">as_int</a>(i, j));</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  }</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  </div>
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="classpism_1_1array_1_1CellType_a99ce4696d504485f8f03289ccc13da5e.html#a99ce4696d504485f8f03289ccc13da5e"> 46</a></span>  <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="classpism_1_1array_1_1CellType_a99ce4696d504485f8f03289ccc13da5e.html#a99ce4696d504485f8f03289ccc13da5e">grounded_ice</a>(<span class="keywordtype">int</span> i, <span class="keywordtype">int</span> j)<span class="keyword"> const </span>{</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <span class="keywordflow">return</span> <a class="code" href="namespacepism_1_1mask_a2e12ce228af0c488322b188a47bf5a54.html#a2e12ce228af0c488322b188a47bf5a54">mask::grounded_ice</a>(<a class="code" href="classpism_1_1array_1_1Scalar_a24b2beaefb2167f1b0cfa5a9b894e8d9.html#a24b2beaefb2167f1b0cfa5a9b894e8d9">as_int</a>(i, j));</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>  </div>
<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="classpism_1_1array_1_1CellType_a5838ccdf064d5c21558772be74fba7dc.html#a5838ccdf064d5c21558772be74fba7dc"> 50</a></span>  <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="classpism_1_1array_1_1CellType_a5838ccdf064d5c21558772be74fba7dc.html#a5838ccdf064d5c21558772be74fba7dc">floating_ice</a>(<span class="keywordtype">int</span> i, <span class="keywordtype">int</span> j)<span class="keyword"> const </span>{</div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <span class="keywordflow">return</span> <a class="code" href="namespacepism_1_1mask_ae537370f3674276b4583ea965040521b.html#ae537370f3674276b4583ea965040521b">mask::floating_ice</a>(<a class="code" href="classpism_1_1array_1_1Scalar_a24b2beaefb2167f1b0cfa5a9b894e8d9.html#a24b2beaefb2167f1b0cfa5a9b894e8d9">as_int</a>(i, j));</div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  }</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  </div>
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="classpism_1_1array_1_1CellType_a3a9aa2debb109f10b2b3e43e3dbc4751.html#a3a9aa2debb109f10b2b3e43e3dbc4751"> 54</a></span>  <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="classpism_1_1array_1_1CellType_a3a9aa2debb109f10b2b3e43e3dbc4751.html#a3a9aa2debb109f10b2b3e43e3dbc4751">ice_free</a>(<span class="keywordtype">int</span> i, <span class="keywordtype">int</span> j)<span class="keyword"> const </span>{</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <span class="keywordflow">return</span> <a class="code" href="namespacepism_1_1mask_ad92e974b093f3820164850faa590b0f2.html#ad92e974b093f3820164850faa590b0f2">mask::ice_free</a>(<a class="code" href="classpism_1_1array_1_1Scalar_a24b2beaefb2167f1b0cfa5a9b894e8d9.html#a24b2beaefb2167f1b0cfa5a9b894e8d9">as_int</a>(i, j));</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"><a class="line" href="classpism_1_1array_1_1CellType_a994639087ffb6aa30a0f137726db0ffb.html#a994639087ffb6aa30a0f137726db0ffb"> 58</a></span>  <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="classpism_1_1array_1_1CellType_a994639087ffb6aa30a0f137726db0ffb.html#a994639087ffb6aa30a0f137726db0ffb">ice_free_ocean</a>(<span class="keywordtype">int</span> i, <span class="keywordtype">int</span> j)<span class="keyword"> const </span>{</div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="keywordflow">return</span> <a class="code" href="namespacepism_1_1mask_aa0f191a232701f97c950f59485b8e429.html#aa0f191a232701f97c950f59485b8e429">mask::ice_free_ocean</a>(<a class="code" href="classpism_1_1array_1_1Scalar_a24b2beaefb2167f1b0cfa5a9b894e8d9.html#a24b2beaefb2167f1b0cfa5a9b894e8d9">as_int</a>(i, j));</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>  </div>
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="classpism_1_1array_1_1CellType_af188c6715bf9d95e7a1ea94eb8ff0965.html#af188c6715bf9d95e7a1ea94eb8ff0965"> 62</a></span>  <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="classpism_1_1array_1_1CellType_af188c6715bf9d95e7a1ea94eb8ff0965.html#af188c6715bf9d95e7a1ea94eb8ff0965">ice_free_land</a>(<span class="keywordtype">int</span> i, <span class="keywordtype">int</span> j)<span class="keyword"> const </span>{</div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="keywordflow">return</span> <a class="code" href="namespacepism_1_1mask_a6cecc326afea2243583994b4a702e74a.html#a6cecc326afea2243583994b4a702e74a">mask::ice_free_land</a>(<a class="code" href="classpism_1_1array_1_1Scalar_a24b2beaefb2167f1b0cfa5a9b894e8d9.html#a24b2beaefb2167f1b0cfa5a9b894e8d9">as_int</a>(i, j));</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> <span class="keyword">protected</span>:</div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <a class="code" href="classpism_1_1array_1_1CellType_abb025849ed14d9f5cd55e57f3169716a.html#abb025849ed14d9f5cd55e57f3169716a">CellType</a>(std::shared_ptr<const Grid> <a class="code" href="classpism_1_1array_1_1Array_a982fca110a5d7011f681b928b20e3577.html#a982fca110a5d7011f681b928b20e3577">grid</a>, <span class="keyword">const</span> std::string &name, <span class="keywordtype">int</span> w);</div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span> };</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span> <span class="comment"></span> </div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span> <span class="comment">/*!</span></div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span> <span class="comment"> * Cell type array supporting width=1 stencil computations (ghosted).</span></div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="classpism_1_1array_1_1CellType1.html"> 72</a></span> <span class="keyword">class </span><a class="code" href="classpism_1_1array_1_1CellType1.html">CellType1</a> : <span class="keyword">public</span> <a class="code" href="classpism_1_1array_1_1CellType.html">CellType</a> {</div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span> <span class="keyword">public</span>:</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <a class="code" href="classpism_1_1array_1_1CellType1_a4d13786e4d46daebdd07de4377211095.html#a4d13786e4d46daebdd07de4377211095">CellType1</a>(std::shared_ptr<const Grid> <a class="code" href="classpism_1_1array_1_1Array_a982fca110a5d7011f681b928b20e3577.html#a982fca110a5d7011f681b928b20e3577">grid</a>, <span class="keyword">const</span> std::string &name);</div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <span class="keyword">using</span> <a class="code" href="classpism_1_1array_1_1Array2D.html">Array2D<double>::star</a>;</div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <span class="keyword">using</span> <a class="code" href="classpism_1_1array_1_1Array2D.html">Array2D<double>::box</a>;</div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="keyword">using</span> <a class="code" href="classpism_1_1array_1_1Scalar_a9a9af09f625fe2068a2fef70ea9b4424.html#a9a9af09f625fe2068a2fef70ea9b4424">Scalar::star_int</a>;</div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <span class="keyword">using</span> <a class="code" href="classpism_1_1array_1_1Scalar_a62e3c042953213c4a72f9081b9a47d65.html#a62e3c042953213c4a72f9081b9a47d65">Scalar::box_int</a>;</div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span> <span class="comment"></span> </div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span> <span class="comment"> //! \brief Ice margin (ice-filled with at least one of four neighbors ice-free).</span></div>
<div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="classpism_1_1array_1_1CellType1_a7669bb1cfaeefcb1c3a6ad701f68dc0d.html#a7669bb1cfaeefcb1c3a6ad701f68dc0d"> 81</a></span> <span class="comment"></span> <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="classpism_1_1array_1_1CellType1_a7669bb1cfaeefcb1c3a6ad701f68dc0d.html#a7669bb1cfaeefcb1c3a6ad701f68dc0d">ice_margin</a>(<span class="keywordtype">int</span> i, <span class="keywordtype">int</span> j)<span class="keyword"> const </span>{</div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <span class="keywordflow">return</span> <a class="code" href="classpism_1_1array_1_1CellType_afb3654b83f4df9aa12810453cf78a2d7.html#afb3654b83f4df9aa12810453cf78a2d7">icy</a>(i, j) and (<a class="code" href="classpism_1_1array_1_1CellType_a3a9aa2debb109f10b2b3e43e3dbc4751.html#a3a9aa2debb109f10b2b3e43e3dbc4751">ice_free</a>(i + 1, j) or <a class="code" href="classpism_1_1array_1_1CellType_a3a9aa2debb109f10b2b3e43e3dbc4751.html#a3a9aa2debb109f10b2b3e43e3dbc4751">ice_free</a>(i - 1, j) or</div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <a class="code" href="classpism_1_1array_1_1CellType_a3a9aa2debb109f10b2b3e43e3dbc4751.html#a3a9aa2debb109f10b2b3e43e3dbc4751">ice_free</a>(i, j + 1) or <a class="code" href="classpism_1_1array_1_1CellType_a3a9aa2debb109f10b2b3e43e3dbc4751.html#a3a9aa2debb109f10b2b3e43e3dbc4751">ice_free</a>(i, j - 1));</div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  }</div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span> <span class="comment"></span> </div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span> <span class="comment"> //! \brief Ice-free margin (at least one of four neighbors has ice).</span></div>
<div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="classpism_1_1array_1_1CellType1_a71a7120ea729abedfcfffca4f2931318.html#a71a7120ea729abedfcfffca4f2931318"> 87</a></span> <span class="comment"></span> <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="classpism_1_1array_1_1CellType1_a71a7120ea729abedfcfffca4f2931318.html#a71a7120ea729abedfcfffca4f2931318">next_to_ice</a>(<span class="keywordtype">int</span> i, <span class="keywordtype">int</span> j)<span class="keyword"> const </span>{</div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <span class="keywordflow">return</span> (<a class="code" href="classpism_1_1array_1_1CellType_afb3654b83f4df9aa12810453cf78a2d7.html#afb3654b83f4df9aa12810453cf78a2d7">icy</a>(i + 1, j) or <a class="code" href="classpism_1_1array_1_1CellType_afb3654b83f4df9aa12810453cf78a2d7.html#afb3654b83f4df9aa12810453cf78a2d7">icy</a>(i - 1, j) or <a class="code" href="classpism_1_1array_1_1CellType_afb3654b83f4df9aa12810453cf78a2d7.html#afb3654b83f4df9aa12810453cf78a2d7">icy</a>(i, j + 1) or <a class="code" href="classpism_1_1array_1_1CellType_afb3654b83f4df9aa12810453cf78a2d7.html#afb3654b83f4df9aa12810453cf78a2d7">icy</a>(i, j - 1));</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_1array_1_1CellType1_adf629d2f80b9932491abfb7f57ec8cb2.html#adf629d2f80b9932491abfb7f57ec8cb2"> 91</a></span>  <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="classpism_1_1array_1_1CellType1_adf629d2f80b9932491abfb7f57ec8cb2.html#adf629d2f80b9932491abfb7f57ec8cb2">next_to_floating_ice</a>(<span class="keywordtype">int</span> i, <span class="keywordtype">int</span> j)<span class="keyword"> const </span>{</div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <span class="keywordflow">return</span> (<a class="code" href="classpism_1_1array_1_1CellType_a5838ccdf064d5c21558772be74fba7dc.html#a5838ccdf064d5c21558772be74fba7dc">floating_ice</a>(i + 1, j) or <a class="code" href="classpism_1_1array_1_1CellType_a5838ccdf064d5c21558772be74fba7dc.html#a5838ccdf064d5c21558772be74fba7dc">floating_ice</a>(i - 1, j) or</div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <a class="code" href="classpism_1_1array_1_1CellType_a5838ccdf064d5c21558772be74fba7dc.html#a5838ccdf064d5c21558772be74fba7dc">floating_ice</a>(i, j + 1) or <a class="code" href="classpism_1_1array_1_1CellType_a5838ccdf064d5c21558772be74fba7dc.html#a5838ccdf064d5c21558772be74fba7dc">floating_ice</a>(i, j - 1));</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>  </div>
<div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="classpism_1_1array_1_1CellType1_aa0cb87d244edca30379f3af7ecee20ca.html#aa0cb87d244edca30379f3af7ecee20ca"> 96</a></span>  <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="classpism_1_1array_1_1CellType1_aa0cb87d244edca30379f3af7ecee20ca.html#aa0cb87d244edca30379f3af7ecee20ca">next_to_grounded_ice</a>(<span class="keywordtype">int</span> i, <span class="keywordtype">int</span> j)<span class="keyword"> const </span>{</div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <span class="keywordflow">return</span> (<a class="code" href="classpism_1_1array_1_1CellType_a99ce4696d504485f8f03289ccc13da5e.html#a99ce4696d504485f8f03289ccc13da5e">grounded_ice</a>(i + 1, j) or <a class="code" href="classpism_1_1array_1_1CellType_a99ce4696d504485f8f03289ccc13da5e.html#a99ce4696d504485f8f03289ccc13da5e">grounded_ice</a>(i - 1, j) or</div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <a class="code" href="classpism_1_1array_1_1CellType_a99ce4696d504485f8f03289ccc13da5e.html#a99ce4696d504485f8f03289ccc13da5e">grounded_ice</a>(i, j + 1) or <a class="code" href="classpism_1_1array_1_1CellType_a99ce4696d504485f8f03289ccc13da5e.html#a99ce4696d504485f8f03289ccc13da5e">grounded_ice</a>(i, j - 1));</div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  }</div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  </div>
<div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="classpism_1_1array_1_1CellType1_a9ae7bfb228367c09d3ad59d27ce42153.html#a9ae7bfb228367c09d3ad59d27ce42153"> 101</a></span>  <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="classpism_1_1array_1_1CellType1_a9ae7bfb228367c09d3ad59d27ce42153.html#a9ae7bfb228367c09d3ad59d27ce42153">next_to_ice_free_land</a>(<span class="keywordtype">int</span> i, <span class="keywordtype">int</span> j)<span class="keyword"> const </span>{</div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <span class="keywordflow">return</span> (<a class="code" href="classpism_1_1array_1_1CellType_af188c6715bf9d95e7a1ea94eb8ff0965.html#af188c6715bf9d95e7a1ea94eb8ff0965">ice_free_land</a>(i + 1, j) or <a class="code" href="classpism_1_1array_1_1CellType_af188c6715bf9d95e7a1ea94eb8ff0965.html#af188c6715bf9d95e7a1ea94eb8ff0965">ice_free_land</a>(i - 1, j) or</div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  <a class="code" href="classpism_1_1array_1_1CellType_af188c6715bf9d95e7a1ea94eb8ff0965.html#af188c6715bf9d95e7a1ea94eb8ff0965">ice_free_land</a>(i, j + 1) or <a class="code" href="classpism_1_1array_1_1CellType_af188c6715bf9d95e7a1ea94eb8ff0965.html#af188c6715bf9d95e7a1ea94eb8ff0965">ice_free_land</a>(i, j - 1));</div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  }</div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  </div>
<div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="classpism_1_1array_1_1CellType1_af7ccff4d7aa140bdc780af5fa56fbf7c.html#af7ccff4d7aa140bdc780af5fa56fbf7c"> 106</a></span>  <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="classpism_1_1array_1_1CellType1_af7ccff4d7aa140bdc780af5fa56fbf7c.html#af7ccff4d7aa140bdc780af5fa56fbf7c">next_to_ice_free_ocean</a>(<span class="keywordtype">int</span> i, <span class="keywordtype">int</span> j)<span class="keyword"> const </span>{</div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <span class="keywordflow">return</span> (<a class="code" href="classpism_1_1array_1_1CellType_a994639087ffb6aa30a0f137726db0ffb.html#a994639087ffb6aa30a0f137726db0ffb">ice_free_ocean</a>(i + 1, j) or <a class="code" href="classpism_1_1array_1_1CellType_a994639087ffb6aa30a0f137726db0ffb.html#a994639087ffb6aa30a0f137726db0ffb">ice_free_ocean</a>(i - 1, j) or</div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <a class="code" href="classpism_1_1array_1_1CellType_a994639087ffb6aa30a0f137726db0ffb.html#a994639087ffb6aa30a0f137726db0ffb">ice_free_ocean</a>(i, j + 1) or <a class="code" href="classpism_1_1array_1_1CellType_a994639087ffb6aa30a0f137726db0ffb.html#a994639087ffb6aa30a0f137726db0ffb">ice_free_ocean</a>(i, j - 1));</div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  }</div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span> <span class="keyword">protected</span>:</div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <a class="code" href="classpism_1_1array_1_1CellType1_a4d13786e4d46daebdd07de4377211095.html#a4d13786e4d46daebdd07de4377211095">CellType1</a>(std::shared_ptr<const Grid> <a class="code" href="classpism_1_1array_1_1Array_a982fca110a5d7011f681b928b20e3577.html#a982fca110a5d7011f681b928b20e3577">grid</a>, <span class="keyword">const</span> std::string &name, <span class="keywordtype">int</span> width);</div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span> };</div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span> <span class="comment"></span> </div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span> <span class="comment">/*!</span></div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span> <span class="comment"> * Cell type array supporting width=2 stencil computations (ghosted).</span></div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="classpism_1_1array_1_1CellType2.html"> 117</a></span> <span class="keyword">class </span><a class="code" href="classpism_1_1array_1_1CellType2.html">CellType2</a> : <span class="keyword">public</span> <a class="code" href="classpism_1_1array_1_1CellType1.html">CellType1</a> {</div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span> <span class="keyword">public</span>:</div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <a class="code" href="classpism_1_1array_1_1CellType2_ab68317fc82045997f61fa89cbad675fe.html#ab68317fc82045997f61fa89cbad675fe">CellType2</a>(std::shared_ptr<const Grid> <a class="code" href="classpism_1_1array_1_1Array_a982fca110a5d7011f681b928b20e3577.html#a982fca110a5d7011f681b928b20e3577">grid</a>, <span class="keyword">const</span> std::string &name);</div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span> };</div>
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  </div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span> } <span class="comment">// end of namespace array</span></div>
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span> } <span class="comment">// end of namespace pism</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> <span class="preprocessor">#endif </span><span class="comment">/* PISM_ARRAY_CELLTYPE_H */</span><span class="preprocessor"></span></div>
<div class="ttc" id="aclasspism_1_1array_1_1Array2D_html"><div class="ttname"><a href="classpism_1_1array_1_1Array2D.html">pism::array::Array2D</a></div><div class="ttdoc">A storage vector combining related fields in a struct.</div><div class="ttdef"><b>Definition:</b> <a href="Array2D_8hh_source.html#l00032">Array2D.hh:32</a></div></div>
<div class="ttc" id="aclasspism_1_1array_1_1Array_a982fca110a5d7011f681b928b20e3577_html_a982fca110a5d7011f681b928b20e3577"><div class="ttname"><a href="classpism_1_1array_1_1Array_a982fca110a5d7011f681b928b20e3577.html#a982fca110a5d7011f681b928b20e3577">pism::array::Array::grid</a></div><div class="ttdeci">std::shared_ptr< const Grid > grid() const</div><div class="ttdef"><b>Definition:</b> <a href="Array_8cc_source.html#l00132">Array.cc:132</a></div></div>
<div class="ttc" id="aclasspism_1_1array_1_1CellType1_a4d13786e4d46daebdd07de4377211095_html_a4d13786e4d46daebdd07de4377211095"><div class="ttname"><a href="classpism_1_1array_1_1CellType1_a4d13786e4d46daebdd07de4377211095.html#a4d13786e4d46daebdd07de4377211095">pism::array::CellType1::CellType1</a></div><div class="ttdeci">CellType1(std::shared_ptr< const Grid > grid, const std::string &name)</div><div class="ttdef"><b>Definition:</b> <a href="CellType_8cc_source.html#l00036">CellType.cc:36</a></div></div>
<div class="ttc" id="aclasspism_1_1array_1_1CellType1_a71a7120ea729abedfcfffca4f2931318_html_a71a7120ea729abedfcfffca4f2931318"><div class="ttname"><a href="classpism_1_1array_1_1CellType1_a71a7120ea729abedfcfffca4f2931318.html#a71a7120ea729abedfcfffca4f2931318">pism::array::CellType1::next_to_ice</a></div><div class="ttdeci">bool next_to_ice(int i, int j) const</div><div class="ttdoc">Ice-free margin (at least one of four neighbors has ice).</div><div class="ttdef"><b>Definition:</b> <a href="CellType_8hh_source.html#l00087">CellType.hh:87</a></div></div>
<div class="ttc" id="aclasspism_1_1array_1_1CellType1_a7669bb1cfaeefcb1c3a6ad701f68dc0d_html_a7669bb1cfaeefcb1c3a6ad701f68dc0d"><div class="ttname"><a href="classpism_1_1array_1_1CellType1_a7669bb1cfaeefcb1c3a6ad701f68dc0d.html#a7669bb1cfaeefcb1c3a6ad701f68dc0d">pism::array::CellType1::ice_margin</a></div><div class="ttdeci">bool ice_margin(int i, int j) const</div><div class="ttdoc">Ice margin (ice-filled with at least one of four neighbors ice-free).</div><div class="ttdef"><b>Definition:</b> <a href="CellType_8hh_source.html#l00081">CellType.hh:81</a></div></div>
<div class="ttc" id="aclasspism_1_1array_1_1CellType1_a9ae7bfb228367c09d3ad59d27ce42153_html_a9ae7bfb228367c09d3ad59d27ce42153"><div class="ttname"><a href="classpism_1_1array_1_1CellType1_a9ae7bfb228367c09d3ad59d27ce42153.html#a9ae7bfb228367c09d3ad59d27ce42153">pism::array::CellType1::next_to_ice_free_land</a></div><div class="ttdeci">bool next_to_ice_free_land(int i, int j) const</div><div class="ttdef"><b>Definition:</b> <a href="CellType_8hh_source.html#l00101">CellType.hh:101</a></div></div>
<div class="ttc" id="aclasspism_1_1array_1_1CellType1_aa0cb87d244edca30379f3af7ecee20ca_html_aa0cb87d244edca30379f3af7ecee20ca"><div class="ttname"><a href="classpism_1_1array_1_1CellType1_aa0cb87d244edca30379f3af7ecee20ca.html#aa0cb87d244edca30379f3af7ecee20ca">pism::array::CellType1::next_to_grounded_ice</a></div><div class="ttdeci">bool next_to_grounded_ice(int i, int j) const</div><div class="ttdef"><b>Definition:</b> <a href="CellType_8hh_source.html#l00096">CellType.hh:96</a></div></div>
<div class="ttc" id="aclasspism_1_1array_1_1CellType1_adf629d2f80b9932491abfb7f57ec8cb2_html_adf629d2f80b9932491abfb7f57ec8cb2"><div class="ttname"><a href="classpism_1_1array_1_1CellType1_adf629d2f80b9932491abfb7f57ec8cb2.html#adf629d2f80b9932491abfb7f57ec8cb2">pism::array::CellType1::next_to_floating_ice</a></div><div class="ttdeci">bool next_to_floating_ice(int i, int j) const</div><div class="ttdef"><b>Definition:</b> <a href="CellType_8hh_source.html#l00091">CellType.hh:91</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_1CellType1_html"><div class="ttname"><a href="classpism_1_1array_1_1CellType1.html">pism::array::CellType1</a></div><div class="ttdef"><b>Definition:</b> <a href="CellType_8hh_source.html#l00072">CellType.hh:72</a></div></div>
<div class="ttc" id="aclasspism_1_1array_1_1CellType2_ab68317fc82045997f61fa89cbad675fe_html_ab68317fc82045997f61fa89cbad675fe"><div class="ttname"><a href="classpism_1_1array_1_1CellType2_ab68317fc82045997f61fa89cbad675fe.html#ab68317fc82045997f61fa89cbad675fe">pism::array::CellType2::CellType2</a></div><div class="ttdeci">CellType2(std::shared_ptr< const Grid > grid, const std::string &name)</div><div class="ttdef"><b>Definition:</b> <a href="CellType_8cc_source.html#l00046">CellType.cc:46</a></div></div>
<div class="ttc" id="aclasspism_1_1array_1_1CellType2_html"><div class="ttname"><a href="classpism_1_1array_1_1CellType2.html">pism::array::CellType2</a></div><div class="ttdef"><b>Definition:</b> <a href="CellType_8hh_source.html#l00117">CellType.hh:117</a></div></div>
<div class="ttc" id="aclasspism_1_1array_1_1CellType_a3a9aa2debb109f10b2b3e43e3dbc4751_html_a3a9aa2debb109f10b2b3e43e3dbc4751"><div class="ttname"><a href="classpism_1_1array_1_1CellType_a3a9aa2debb109f10b2b3e43e3dbc4751.html#a3a9aa2debb109f10b2b3e43e3dbc4751">pism::array::CellType::ice_free</a></div><div class="ttdeci">bool ice_free(int i, int j) const</div><div class="ttdef"><b>Definition:</b> <a href="CellType_8hh_source.html#l00054">CellType.hh:54</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_1CellType_a994639087ffb6aa30a0f137726db0ffb_html_a994639087ffb6aa30a0f137726db0ffb"><div class="ttname"><a href="classpism_1_1array_1_1CellType_a994639087ffb6aa30a0f137726db0ffb.html#a994639087ffb6aa30a0f137726db0ffb">pism::array::CellType::ice_free_ocean</a></div><div class="ttdeci">bool ice_free_ocean(int i, int j) const</div><div class="ttdef"><b>Definition:</b> <a href="CellType_8hh_source.html#l00058">CellType.hh:58</a></div></div>
<div class="ttc" id="aclasspism_1_1array_1_1CellType_a99ce4696d504485f8f03289ccc13da5e_html_a99ce4696d504485f8f03289ccc13da5e"><div class="ttname"><a href="classpism_1_1array_1_1CellType_a99ce4696d504485f8f03289ccc13da5e.html#a99ce4696d504485f8f03289ccc13da5e">pism::array::CellType::grounded_ice</a></div><div class="ttdeci">bool grounded_ice(int i, int j) const</div><div class="ttdef"><b>Definition:</b> <a href="CellType_8hh_source.html#l00046">CellType.hh:46</a></div></div>
<div class="ttc" id="aclasspism_1_1array_1_1CellType_abb025849ed14d9f5cd55e57f3169716a_html_abb025849ed14d9f5cd55e57f3169716a"><div class="ttname"><a href="classpism_1_1array_1_1CellType_abb025849ed14d9f5cd55e57f3169716a.html#abb025849ed14d9f5cd55e57f3169716a">pism::array::CellType::CellType</a></div><div class="ttdeci">CellType(std::shared_ptr< const Grid > grid, const std::string &name)</div><div class="ttdef"><b>Definition:</b> <a href="CellType_8cc_source.html#l00026">CellType.cc:26</a></div></div>
<div class="ttc" id="aclasspism_1_1array_1_1CellType_acfd8168ed86cb5460309fd537064bd42_html_acfd8168ed86cb5460309fd537064bd42"><div class="ttname"><a href="classpism_1_1array_1_1CellType_acfd8168ed86cb5460309fd537064bd42.html#acfd8168ed86cb5460309fd537064bd42">pism::array::CellType::ocean</a></div><div class="ttdeci">bool ocean(int i, int j) const</div><div class="ttdef"><b>Definition:</b> <a href="CellType_8hh_source.html#l00034">CellType.hh:34</a></div></div>
<div class="ttc" id="aclasspism_1_1array_1_1CellType_ada641b8ad181dfc6efd1a50d2a361edd_html_ada641b8ad181dfc6efd1a50d2a361edd"><div class="ttname"><a href="classpism_1_1array_1_1CellType_ada641b8ad181dfc6efd1a50d2a361edd.html#ada641b8ad181dfc6efd1a50d2a361edd">pism::array::CellType::grounded</a></div><div class="ttdeci">bool grounded(int i, int j) const</div><div class="ttdef"><b>Definition:</b> <a href="CellType_8hh_source.html#l00038">CellType.hh:38</a></div></div>
<div class="ttc" id="aclasspism_1_1array_1_1CellType_af188c6715bf9d95e7a1ea94eb8ff0965_html_af188c6715bf9d95e7a1ea94eb8ff0965"><div class="ttname"><a href="classpism_1_1array_1_1CellType_af188c6715bf9d95e7a1ea94eb8ff0965.html#af188c6715bf9d95e7a1ea94eb8ff0965">pism::array::CellType::ice_free_land</a></div><div class="ttdeci">bool ice_free_land(int i, int j) const</div><div class="ttdef"><b>Definition:</b> <a href="CellType_8hh_source.html#l00062">CellType.hh:62</a></div></div>
<div class="ttc" id="aclasspism_1_1array_1_1CellType_afb3654b83f4df9aa12810453cf78a2d7_html_afb3654b83f4df9aa12810453cf78a2d7"><div class="ttname"><a href="classpism_1_1array_1_1CellType_afb3654b83f4df9aa12810453cf78a2d7.html#afb3654b83f4df9aa12810453cf78a2d7">pism::array::CellType::icy</a></div><div class="ttdeci">bool icy(int i, int j) const</div><div class="ttdef"><b>Definition:</b> <a href="CellType_8hh_source.html#l00042">CellType.hh:42</a></div></div>
<div class="ttc" id="aclasspism_1_1array_1_1CellType_html"><div class="ttname"><a href="classpism_1_1array_1_1CellType.html">pism::array::CellType</a></div><div class="ttdoc">"Cell type" mask. Adds convenience methods to array::Scalar.</div><div class="ttdef"><b>Definition:</b> <a href="CellType_8hh_source.html#l00030">CellType.hh:30</a></div></div>
<div class="ttc" id="aclasspism_1_1array_1_1Scalar_a24b2beaefb2167f1b0cfa5a9b894e8d9_html_a24b2beaefb2167f1b0cfa5a9b894e8d9"><div class="ttname"><a href="classpism_1_1array_1_1Scalar_a24b2beaefb2167f1b0cfa5a9b894e8d9.html#a24b2beaefb2167f1b0cfa5a9b894e8d9">pism::array::Scalar::as_int</a></div><div class="ttdeci">int as_int(int i, int j) const</div><div class="ttdef"><b>Definition:</b> <a href="Scalar_8hh_source.html#l00045">Scalar.hh:45</a></div></div>
<div class="ttc" id="aclasspism_1_1array_1_1Scalar_a62e3c042953213c4a72f9081b9a47d65_html_a62e3c042953213c4a72f9081b9a47d65"><div class="ttname"><a href="classpism_1_1array_1_1Scalar_a62e3c042953213c4a72f9081b9a47d65.html#a62e3c042953213c4a72f9081b9a47d65">pism::array::Scalar::box_int</a></div><div class="ttdeci">stencils::Box< int > box_int(int i, int j) const</div><div class="ttdef"><b>Definition:</b> <a href="Scalar_8hh_source.html#l00084">Scalar.hh:84</a></div></div>
<div class="ttc" id="aclasspism_1_1array_1_1Scalar_a9a9af09f625fe2068a2fef70ea9b4424_html_a9a9af09f625fe2068a2fef70ea9b4424"><div class="ttname"><a href="classpism_1_1array_1_1Scalar_a9a9af09f625fe2068a2fef70ea9b4424.html#a9a9af09f625fe2068a2fef70ea9b4424">pism::array::Scalar::star_int</a></div><div class="ttdeci">stencils::Star< int > star_int(int i, int j) const</div><div class="ttdef"><b>Definition:</b> <a href="Scalar_8hh_source.html#l00072">Scalar.hh:72</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="anamespacepism_1_1mask_a1a30f2145e070c05f6a3e9e42fc534cc_html_a1a30f2145e070c05f6a3e9e42fc534cc"><div class="ttname"><a href="namespacepism_1_1mask_a1a30f2145e070c05f6a3e9e42fc534cc.html#a1a30f2145e070c05f6a3e9e42fc534cc">pism::mask::icy</a></div><div class="ttdeci">bool icy(int M)</div><div class="ttdoc">Ice-filled cell (grounded or floating).</div><div class="ttdef"><b>Definition:</b> <a href="Mask_8hh_source.html#l00048">Mask.hh:48</a></div></div>
<div class="ttc" id="anamespacepism_1_1mask_a2e12ce228af0c488322b188a47bf5a54_html_a2e12ce228af0c488322b188a47bf5a54"><div class="ttname"><a href="namespacepism_1_1mask_a2e12ce228af0c488322b188a47bf5a54.html#a2e12ce228af0c488322b188a47bf5a54">pism::mask::grounded_ice</a></div><div class="ttdeci">bool grounded_ice(int M)</div><div class="ttdef"><b>Definition:</b> <a href="Mask_8hh_source.html#l00051">Mask.hh:51</a></div></div>
<div class="ttc" id="anamespacepism_1_1mask_a6cecc326afea2243583994b4a702e74a_html_a6cecc326afea2243583994b4a702e74a"><div class="ttname"><a href="namespacepism_1_1mask_a6cecc326afea2243583994b4a702e74a.html#a6cecc326afea2243583994b4a702e74a">pism::mask::ice_free_land</a></div><div class="ttdeci">bool ice_free_land(int M)</div><div class="ttdef"><b>Definition:</b> <a href="Mask_8hh_source.html#l00064">Mask.hh:64</a></div></div>
<div class="ttc" id="anamespacepism_1_1mask_aa0f191a232701f97c950f59485b8e429_html_aa0f191a232701f97c950f59485b8e429"><div class="ttname"><a href="namespacepism_1_1mask_aa0f191a232701f97c950f59485b8e429.html#aa0f191a232701f97c950f59485b8e429">pism::mask::ice_free_ocean</a></div><div class="ttdeci">bool ice_free_ocean(int M)</div><div class="ttdef"><b>Definition:</b> <a href="Mask_8hh_source.html#l00061">Mask.hh:61</a></div></div>
<div class="ttc" id="anamespacepism_1_1mask_ad47d0a5b232f9cf32bcb243f8dce9594_html_ad47d0a5b232f9cf32bcb243f8dce9594"><div class="ttname"><a href="namespacepism_1_1mask_ad47d0a5b232f9cf32bcb243f8dce9594.html#ad47d0a5b232f9cf32bcb243f8dce9594">pism::mask::grounded</a></div><div class="ttdeci">bool grounded(int M)</div><div class="ttdoc">Grounded cell (grounded ice or ice-free).</div><div class="ttdef"><b>Definition:</b> <a href="Mask_8hh_source.html#l00044">Mask.hh:44</a></div></div>
<div class="ttc" id="anamespacepism_1_1mask_ad92e974b093f3820164850faa590b0f2_html_ad92e974b093f3820164850faa590b0f2"><div class="ttname"><a href="namespacepism_1_1mask_ad92e974b093f3820164850faa590b0f2.html#ad92e974b093f3820164850faa590b0f2">pism::mask::ice_free</a></div><div class="ttdeci">bool ice_free(int M)</div><div class="ttdoc">Ice-free cell (grounded or ocean).</div><div class="ttdef"><b>Definition:</b> <a href="Mask_8hh_source.html#l00058">Mask.hh:58</a></div></div>
<div class="ttc" id="anamespacepism_1_1mask_ae537370f3674276b4583ea965040521b_html_ae537370f3674276b4583ea965040521b"><div class="ttname"><a href="namespacepism_1_1mask_ae537370f3674276b4583ea965040521b.html#ae537370f3674276b4583ea965040521b">pism::mask::floating_ice</a></div><div class="ttdeci">bool floating_ice(int M)</div><div class="ttdef"><b>Definition:</b> <a href="Mask_8hh_source.html#l00054">Mask.hh:54</a></div></div>
<div class="ttc" id="anamespacepism_1_1mask_af201676abc8faf30d74dd8fc50b60942_html_af201676abc8faf30d74dd8fc50b60942"><div class="ttname"><a href="namespacepism_1_1mask_af201676abc8faf30d74dd8fc50b60942.html#af201676abc8faf30d74dd8fc50b60942">pism::mask::ocean</a></div><div class="ttdeci">bool ocean(int M)</div><div class="ttdoc">An ocean cell (floating ice or ice-free).</div><div class="ttdef"><b>Definition:</b> <a href="Mask_8hh_source.html#l00040">Mask.hh:40</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><!-- 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>