phasicFlow/doc/code-documentation/html/cellMapper_8cpp_source.html

239 lines
30 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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.8.17"/>
<meta name="description" content="PhasicFlow is an open-source parallel DEM (discrete element method) package for simulating granular flow. It is developed in C++ and can be exectued on both GPU (like CUDA) and CPU.">
<title>PhasicFlow: utilities/postprocessPhasicFlow/cellMapper.cpp 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="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.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/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function() { init_search(); });
/* @license-end */
</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="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="customdoxygen.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" >
<tbody>
<tr>
<td id="projectlogo"><a href="https://github.com/PhasicFlow"><img alt="Logo" src="phasicFlow_logo.png"></a></td>
<td> <div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</td>
</tr>
<tr>
<td id="projectbrief">
<a href="https://https://cemf.ir">www.cemf.ir</a>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('cellMapper_8cpp_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- 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 class="header">
<div class="headertitle">
<div class="title">cellMapper.cpp</div> </div>
</div><!--header-->
<div class="contents">
<a href="cellMapper_8cpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">/*------------------------------- phasicFlow ---------------------------------</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> O C enter of</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> O O E ngineering and</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> O O M ultiscale modeling of</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> OOOOOOO F luid flow </span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment">------------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> Copyright (C): www.cemf.ir</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment"> email: hamid.r.norouzi AT gmail.com</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment">------------------------------------------------------------------------------ </span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment">Licence:</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment"> This file is part of phasicFlow code. It is a free software for simulating </span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment"> granular and multiphase flows. You can redistribute it and/or modify it under</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment"> the terms of GNU General Public License v3 or any other later versions. </span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment"> </span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment"> phasicFlow is distributed to help others in their research in the field of </span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="comment"> granular and multiphase flows, but WITHOUT ANY WARRANTY; without even the</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="comment"> implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="comment">-----------------------------------------------------------------------------*/</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160; </div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="cellMapper_8hpp.html">cellMapper.hpp</a>&quot;</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="comment">//#include &quot;cellMapperKernels.hpp&quot;</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="streams_8hpp.html">streams.hpp</a>&quot;</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160; </div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160; </div>
<div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="classpFlow_1_1cellMapper.html#a178bd39dbf9cf7db2a4355d9d2038a6a"> 26</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classpFlow_1_1cellMapper.html#a178bd39dbf9cf7db2a4355d9d2038a6a">pFlow::cellMapper::allocateArrays</a>(<a class="code" href="structpFlow_1_1Range.html">rangeU32</a> nextRng)</div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;{</div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160; <a class="code" href="classpFlow_1_1cellMapper.html#a02b82d2826f594b9cc8048d7cbb404fe">checkAllocateNext</a>(nextRng);</div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160; <a class="code" href="classpFlow_1_1cellMapper.html#ae6f8e13b070c799d50e1b18620c848bb">nullifyNext</a>(nextRng);</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160; <a class="code" href="namespacepFlow.html#a757db05f588e8333b09abd05577c3730">reallocFill</a>(<a class="code" href="classpFlow_1_1cellMapper.html#a1a236c86d026feedc50038ea68070ee5">head_</a>, <a class="code" href="classpFlow_1_1cellMapper.html#aec74514ba0fe34658269c8f3f12a7ea5">domainCells_</a>.<a class="code" href="classpFlow_1_1rectangleMesh.html#ae3ba6f0562a7ea0427b954a33ffc3e04">nx</a>(), <a class="code" href="classpFlow_1_1cellMapper.html#aec74514ba0fe34658269c8f3f12a7ea5">domainCells_</a>.<a class="code" href="classpFlow_1_1rectangleMesh.html#ab766f53c2c464dceb9fa50353e8476fd">ny</a>(), <a class="code" href="classpFlow_1_1cellMapper.html#aec74514ba0fe34658269c8f3f12a7ea5">domainCells_</a>.<a class="code" href="classpFlow_1_1rectangleMesh.html#a81faee268bfd6daa1c365f29a5424f38">nz</a>(), <a class="code" href="classpFlow_1_1cellMapper.html#a40983a388b53d013256aeb8bde6b384b">NoPos</a>);</div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;}</div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160; </div>
<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="classpFlow_1_1cellMapper.html#a02b82d2826f594b9cc8048d7cbb404fe"> 33</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classpFlow_1_1cellMapper.html#a02b82d2826f594b9cc8048d7cbb404fe">pFlow::cellMapper::checkAllocateNext</a>(<a class="code" href="structpFlow_1_1Range.html">rangeU32</a> nextRng)</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;{</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; </div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; <span class="keyword">auto</span> newCap = nextRng.<a class="code" href="structpFlow_1_1Range.html#a38ebf09d6bfa7f04d4a95ff7f0d3aef4">end</a>();</div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; </div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; <span class="keywordflow">if</span>( nextCapacity_ &lt; newCap)</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; {</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; nextCapacity_ = newCap; </div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; <a class="code" href="namespacepFlow.html#ab0cb13ecc8a699cb45aa436f3171d504">reallocNoInit</a>(next_, nextCapacity_);</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; }</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;}</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; </div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="classpFlow_1_1cellMapper.html#a9796e6cc392b31e33a3404917aa8e897"> 45</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classpFlow_1_1cellMapper.html#a9796e6cc392b31e33a3404917aa8e897">pFlow::cellMapper::nullifyHead</a>()</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160;{</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; <a class="code" href="namespacepFlow.html#a36d8f6f405716742d4830920f6db371c">fill</a>(head_, NoPos); </div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160;}</div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; </div>
<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="classpFlow_1_1cellMapper.html#ae6f8e13b070c799d50e1b18620c848bb"> 50</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="classpFlow_1_1cellMapper.html#ae6f8e13b070c799d50e1b18620c848bb">pFlow::cellMapper::nullifyNext</a>(<a class="code" href="structpFlow_1_1Range.html">rangeU32</a> nextRng)</div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160;{</div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; <a class="code" href="namespacepFlow.html#a36d8f6f405716742d4830920f6db371c">fill</a>(next_, nextRng, NoPos);</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;}</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; </div>
<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="classpFlow_1_1cellMapper.html#a2b3f7b000b6c278accf433cfb26341e0"> 55</a></span>&#160;<a class="code" href="classpFlow_1_1cellMapper.html#a2b3f7b000b6c278accf433cfb26341e0">pFlow::cellMapper::cellMapper</a>(</div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; <span class="keyword">const</span> <a class="code" href="classpFlow_1_1rectangleMesh.html">rectangleMesh</a>&amp; rectMesh,</div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; <span class="keyword">const</span> <a class="code" href="namespacepFlow.html#ad53198ba4452d5fdc966d861583fc70f">hostViewType1D&lt;realx3&gt;</a>&amp; pointPos,</div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; <span class="keyword">const</span> <a class="code" href="classpFlow_1_1pointFlag.html">pFlagTypeHost</a>&amp; flags</div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160;)</div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160;: </div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; domainCells_(rectMesh)</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;{</div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; </div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; <a class="code" href="classpFlow_1_1cellMapper.html#a178bd39dbf9cf7db2a4355d9d2038a6a">allocateArrays</a>(flags.<a class="code" href="classpFlow_1_1pointFlag.html#a766f5bcd312f3e0ca10011181b05f318">activeRange</a>());</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160;}</div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; </div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160;<span class="keywordtype">bool</span> <a class="code" href="classpFlow_1_1cellMapper.html#a60249e57d6821a0ab67b8a263c4ef87a">pFlow::cellMapper::build</a></div>
<div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="classpFlow_1_1cellMapper.html#a60249e57d6821a0ab67b8a263c4ef87a"> 68</a></span>&#160;(</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; <span class="keyword">const</span> <a class="code" href="namespacepFlow.html#ad53198ba4452d5fdc966d861583fc70f">hostViewType1D&lt;realx3&gt;</a>&amp; pointPos, </div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; <span class="keyword">const</span> <a class="code" href="classpFlow_1_1pointFlag.html">pFlagTypeHost</a> &amp; flags</div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160;)</div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160;{</div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; <span class="keyword">auto</span> aRange = flags.<a class="code" href="classpFlow_1_1pointFlag.html#a766f5bcd312f3e0ca10011181b05f318">activeRange</a>();</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; </div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; checkAllocateNext(aRange);</div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; nullifyHead();</div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; nullifyNext(aRange);</div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; <a class="code" href="classpFlow_1_1triple.html">int32x3</a> ind;</div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; <span class="keywordflow">for</span>(<a class="code" href="namespacepFlow.html#abd01e8e67e3d94cab04ecaaf4f85ac1b">uint32</a> i=aRange.start(); i&lt;aRange.end(); i++)</div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; {</div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; <span class="keywordflow">if</span>( domainCells_.isInsideIndex(pointPos[i], ind) )</div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; {</div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; next_[i] = head_(ind.<a class="code" href="classpFlow_1_1triple.html#a2f365146ce767d3de7ae125abd193b33">x</a>(), ind.<a class="code" href="classpFlow_1_1triple.html#a28d901cc27d3756a830e4de5a484b967">y</a>(), ind.<a class="code" href="classpFlow_1_1triple.html#a5c836d3919741edf1ba805c98dbd21b7">z</a>());</div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; head_(ind.<a class="code" href="classpFlow_1_1triple.html#a2f365146ce767d3de7ae125abd193b33">x</a>(), ind.<a class="code" href="classpFlow_1_1triple.html#a28d901cc27d3756a830e4de5a484b967">y</a>(), ind.<a class="code" href="classpFlow_1_1triple.html#a5c836d3919741edf1ba805c98dbd21b7">z</a>()) = i;</div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; }</div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160; } </div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; </div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160; <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; </div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160;}</div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; </div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="aclasspFlow_1_1cellMapper_html_ae6f8e13b070c799d50e1b18620c848bb"><div class="ttname"><a href="classpFlow_1_1cellMapper.html#ae6f8e13b070c799d50e1b18620c848bb">pFlow::cellMapper::nullifyNext</a></div><div class="ttdeci">void nullifyNext(rangeU32 nextRng)</div><div class="ttdef"><b>Definition:</b> <a href="cellMapper_8cpp_source.html#l00050">cellMapper.cpp:50</a></div></div>
<div class="ttc" id="anamespacepFlow_html_a757db05f588e8333b09abd05577c3730"><div class="ttname"><a href="namespacepFlow.html#a757db05f588e8333b09abd05577c3730">pFlow::reallocFill</a></div><div class="ttdeci">INLINE_FUNCTION_H void reallocFill(ViewType1D&lt; Type, Properties... &gt; &amp;view, uint32 len, Type val)</div><div class="ttdef"><b>Definition:</b> <a href="KokkosUtilities_8hpp_source.html#l00071">KokkosUtilities.hpp:71</a></div></div>
<div class="ttc" id="aclasspFlow_1_1rectangleMesh_html_ab766f53c2c464dceb9fa50353e8476fd"><div class="ttname"><a href="classpFlow_1_1rectangleMesh.html#ab766f53c2c464dceb9fa50353e8476fd">pFlow::rectangleMesh::ny</a></div><div class="ttdeci">int32 ny() const</div><div class="ttdef"><b>Definition:</b> <a href="rectangleMesh_8hpp_source.html#l00082">rectangleMesh.hpp:82</a></div></div>
<div class="ttc" id="anamespacepFlow_html_a36d8f6f405716742d4830920f6db371c"><div class="ttname"><a href="namespacepFlow.html#a36d8f6f405716742d4830920f6db371c">pFlow::fill</a></div><div class="ttdeci">void fill(Vector&lt; T, Allocator &gt; &amp;vec, const T &amp;val)</div><div class="ttdef"><b>Definition:</b> <a href="VectorAlgorithm_8hpp_source.html#l00044">VectorAlgorithm.hpp:44</a></div></div>
<div class="ttc" id="aclasspFlow_1_1cellMapper_html_a1a236c86d026feedc50038ea68070ee5"><div class="ttname"><a href="classpFlow_1_1cellMapper.html#a1a236c86d026feedc50038ea68070ee5">pFlow::cellMapper::head_</a></div><div class="ttdeci">HeadType head_</div><div class="ttdef"><b>Definition:</b> <a href="cellMapper_8hpp_source.html#l00083">cellMapper.hpp:83</a></div></div>
<div class="ttc" id="astructpFlow_1_1Range_html_a38ebf09d6bfa7f04d4a95ff7f0d3aef4"><div class="ttname"><a href="structpFlow_1_1Range.html#a38ebf09d6bfa7f04d4a95ff7f0d3aef4">pFlow::Range::end</a></div><div class="ttdeci">INLINE_FUNCTION_HD T &amp; end()</div><div class="ttdoc">End.</div><div class="ttdef"><b>Definition:</b> <a href="Range_8hpp_source.html#l00101">Range.hpp:101</a></div></div>
<div class="ttc" id="anamespacepFlow_html_abd01e8e67e3d94cab04ecaaf4f85ac1b"><div class="ttname"><a href="namespacepFlow.html#abd01e8e67e3d94cab04ecaaf4f85ac1b">pFlow::uint32</a></div><div class="ttdeci">unsigned int uint32</div><div class="ttdef"><b>Definition:</b> <a href="builtinTypes_8hpp_source.html#l00056">builtinTypes.hpp:56</a></div></div>
<div class="ttc" id="anamespacepFlow_html_ab0cb13ecc8a699cb45aa436f3171d504"><div class="ttname"><a href="namespacepFlow.html#ab0cb13ecc8a699cb45aa436f3171d504">pFlow::reallocNoInit</a></div><div class="ttdeci">INLINE_FUNCTION_H void reallocNoInit(ViewType1D&lt; Type, Properties... &gt; &amp;view, uint32 len)</div><div class="ttdef"><b>Definition:</b> <a href="KokkosUtilities_8hpp_source.html#l00064">KokkosUtilities.hpp:64</a></div></div>
<div class="ttc" id="aclasspFlow_1_1rectangleMesh_html"><div class="ttname"><a href="classpFlow_1_1rectangleMesh.html">pFlow::rectangleMesh</a></div><div class="ttdef"><b>Definition:</b> <a href="rectangleMesh_8hpp_source.html#l00034">rectangleMesh.hpp:34</a></div></div>
<div class="ttc" id="aclasspFlow_1_1triple_html_a28d901cc27d3756a830e4de5a484b967"><div class="ttname"><a href="classpFlow_1_1triple.html#a28d901cc27d3756a830e4de5a484b967">pFlow::triple::y</a></div><div class="ttdeci">INLINE_FUNCTION_HD T &amp; y()</div><div class="ttdoc">access component</div><div class="ttdef"><b>Definition:</b> <a href="triple_8hpp_source.html#l00144">triple.hpp:144</a></div></div>
<div class="ttc" id="aclasspFlow_1_1cellMapper_html_a02b82d2826f594b9cc8048d7cbb404fe"><div class="ttname"><a href="classpFlow_1_1cellMapper.html#a02b82d2826f594b9cc8048d7cbb404fe">pFlow::cellMapper::checkAllocateNext</a></div><div class="ttdeci">void checkAllocateNext(rangeU32 nextRng)</div><div class="ttdef"><b>Definition:</b> <a href="cellMapper_8cpp_source.html#l00033">cellMapper.cpp:33</a></div></div>
<div class="ttc" id="acellMapper_8hpp_html"><div class="ttname"><a href="cellMapper_8hpp.html">cellMapper.hpp</a></div></div>
<div class="ttc" id="aclasspFlow_1_1cellMapper_html_aec74514ba0fe34658269c8f3f12a7ea5"><div class="ttname"><a href="classpFlow_1_1cellMapper.html#aec74514ba0fe34658269c8f3f12a7ea5">pFlow::cellMapper::domainCells_</a></div><div class="ttdeci">const rectangleMesh &amp; domainCells_</div><div class="ttdef"><b>Definition:</b> <a href="cellMapper_8hpp_source.html#l00081">cellMapper.hpp:81</a></div></div>
<div class="ttc" id="aclasspFlow_1_1rectangleMesh_html_a81faee268bfd6daa1c365f29a5424f38"><div class="ttname"><a href="classpFlow_1_1rectangleMesh.html#a81faee268bfd6daa1c365f29a5424f38">pFlow::rectangleMesh::nz</a></div><div class="ttdeci">int32 nz() const</div><div class="ttdef"><b>Definition:</b> <a href="rectangleMesh_8hpp_source.html#l00087">rectangleMesh.hpp:87</a></div></div>
<div class="ttc" id="aclasspFlow_1_1cellMapper_html_a178bd39dbf9cf7db2a4355d9d2038a6a"><div class="ttname"><a href="classpFlow_1_1cellMapper.html#a178bd39dbf9cf7db2a4355d9d2038a6a">pFlow::cellMapper::allocateArrays</a></div><div class="ttdeci">void allocateArrays(rangeU32 nextRng)</div><div class="ttdef"><b>Definition:</b> <a href="cellMapper_8cpp_source.html#l00026">cellMapper.cpp:26</a></div></div>
<div class="ttc" id="aclasspFlow_1_1pointFlag_html_a766f5bcd312f3e0ca10011181b05f318"><div class="ttname"><a href="classpFlow_1_1pointFlag.html#a766f5bcd312f3e0ca10011181b05f318">pFlow::pointFlag::activeRange</a></div><div class="ttdeci">const INLINE_FUNCTION_HD auto &amp; activeRange() const</div><div class="ttdef"><b>Definition:</b> <a href="pointFlag_8hpp_source.html#l00179">pointFlag.hpp:179</a></div></div>
<div class="ttc" id="astructpFlow_1_1Range_html"><div class="ttname"><a href="structpFlow_1_1Range.html">pFlow::Range&lt; uint32 &gt;</a></div></div>
<div class="ttc" id="aclasspFlow_1_1triple_html_a5c836d3919741edf1ba805c98dbd21b7"><div class="ttname"><a href="classpFlow_1_1triple.html#a5c836d3919741edf1ba805c98dbd21b7">pFlow::triple::z</a></div><div class="ttdeci">INLINE_FUNCTION_HD T &amp; z()</div><div class="ttdoc">access component</div><div class="ttdef"><b>Definition:</b> <a href="triple_8hpp_source.html#l00156">triple.hpp:156</a></div></div>
<div class="ttc" id="astreams_8hpp_html"><div class="ttname"><a href="streams_8hpp.html">streams.hpp</a></div></div>
<div class="ttc" id="anamespacepFlow_html_ad53198ba4452d5fdc966d861583fc70f"><div class="ttname"><a href="namespacepFlow.html#ad53198ba4452d5fdc966d861583fc70f">pFlow::hostViewType1D</a></div><div class="ttdeci">Kokkos::View&lt; T *, Kokkos::HostSpace &gt; hostViewType1D</div><div class="ttdoc">1D array (vector with host memeory space)</div><div class="ttdef"><b>Definition:</b> <a href="KokkosTypes_8hpp_source.html#l00136">KokkosTypes.hpp:136</a></div></div>
<div class="ttc" id="aclasspFlow_1_1cellMapper_html_a60249e57d6821a0ab67b8a263c4ef87a"><div class="ttname"><a href="classpFlow_1_1cellMapper.html#a60249e57d6821a0ab67b8a263c4ef87a">pFlow::cellMapper::build</a></div><div class="ttdeci">bool build(const hostViewType1D&lt; realx3 &gt; &amp;pointPos, const pFlagTypeHost &amp;flags)</div><div class="ttdef"><b>Definition:</b> <a href="cellMapper_8cpp_source.html#l00068">cellMapper.cpp:68</a></div></div>
<div class="ttc" id="aclasspFlow_1_1cellMapper_html_a40983a388b53d013256aeb8bde6b384b"><div class="ttname"><a href="classpFlow_1_1cellMapper.html#a40983a388b53d013256aeb8bde6b384b">pFlow::cellMapper::NoPos</a></div><div class="ttdeci">static constexpr uint32 NoPos</div><div class="ttdef"><b>Definition:</b> <a href="cellMapper_8hpp_source.html#l00042">cellMapper.hpp:42</a></div></div>
<div class="ttc" id="aclasspFlow_1_1triple_html_a2f365146ce767d3de7ae125abd193b33"><div class="ttname"><a href="classpFlow_1_1triple.html#a2f365146ce767d3de7ae125abd193b33">pFlow::triple::x</a></div><div class="ttdeci">INLINE_FUNCTION_HD T &amp; x()</div><div class="ttdoc">access component</div><div class="ttdef"><b>Definition:</b> <a href="triple_8hpp_source.html#l00132">triple.hpp:132</a></div></div>
<div class="ttc" id="aclasspFlow_1_1triple_html"><div class="ttname"><a href="classpFlow_1_1triple.html">pFlow::triple&lt; int32 &gt;</a></div></div>
<div class="ttc" id="aclasspFlow_1_1cellMapper_html_a9796e6cc392b31e33a3404917aa8e897"><div class="ttname"><a href="classpFlow_1_1cellMapper.html#a9796e6cc392b31e33a3404917aa8e897">pFlow::cellMapper::nullifyHead</a></div><div class="ttdeci">void nullifyHead()</div><div class="ttdef"><b>Definition:</b> <a href="cellMapper_8cpp_source.html#l00045">cellMapper.cpp:45</a></div></div>
<div class="ttc" id="aclasspFlow_1_1pointFlag_html"><div class="ttname"><a href="classpFlow_1_1pointFlag.html">pFlow::pointFlag&lt; DefaultHostExecutionSpace &gt;</a></div></div>
<div class="ttc" id="aclasspFlow_1_1cellMapper_html_a2b3f7b000b6c278accf433cfb26341e0"><div class="ttname"><a href="classpFlow_1_1cellMapper.html#a2b3f7b000b6c278accf433cfb26341e0">pFlow::cellMapper::cellMapper</a></div><div class="ttdeci">cellMapper(const rectangleMesh &amp;rectMesh, const hostViewType1D&lt; realx3 &gt; &amp;pointPos, const pFlagTypeHost &amp;flags)</div><div class="ttdef"><b>Definition:</b> <a href="cellMapper_8cpp_source.html#l00055">cellMapper.cpp:55</a></div></div>
<div class="ttc" id="aclasspFlow_1_1rectangleMesh_html_ae3ba6f0562a7ea0427b954a33ffc3e04"><div class="ttname"><a href="classpFlow_1_1rectangleMesh.html#ae3ba6f0562a7ea0427b954a33ffc3e04">pFlow::rectangleMesh::nx</a></div><div class="ttdeci">int32 nx() const</div><div class="ttdef"><b>Definition:</b> <a href="rectangleMesh_8hpp_source.html#l00077">rectangleMesh.hpp:77</a></div></div>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_df38b2a5d584e0f6066b4518b95c638b.html">utilities</a></li><li class="navelem"><a class="el" href="dir_3104238dba096c99a27b6bccac80df1f.html">postprocessPhasicFlow</a></li><li class="navelem"><a class="el" href="cellMapper_8cpp.html">cellMapper.cpp</a></li>
<li class="footer">Generated by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li>
</ul>
</div>
</body>
</html>