documentation for v1.0

This commit is contained in:
HRN
2025-01-10 13:02:07 +03:30
parent 53c7b23728
commit 0acd52f1b1
16893 changed files with 448346 additions and 285977 deletions

View File

@ -5,7 +5,7 @@
<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: src/phasicFlow/structuredData/pointStructure/pointStructureKernels.hpp Source File</title>
<title>PhasicFlow: src/phasicFlow/structuredData/pointStructure/pointStructure/pointStructureKernels.hpp 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>
@ -137,13 +137,13 @@ $(document).ready(function(){initNavTree('pointStructureKernels_8hpp_source.html
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160; </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"><a class="line" href="namespacepFlow_1_1pointStructureKernels.html#a440c2b7765806a499f4248b4adb1f8ee"> 32</a></span>&#160;<a class="code" href="namespacepFlow.html#aae6ad039f09c0676db11bd114136a3fa">int32</a> <a class="code" href="namespacepFlow_1_1pointStructureKernels.html#a440c2b7765806a499f4248b4adb1f8ee">markDeleteOutOfBox</a>(</div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; <a class="code" href="classpFlow_1_1box.html">box</a> domain,</div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; <a class="code" href="classpFlow_1_1box.html">box</a> <a class="code" href="classpFlow_1_1domain.html">domain</a>,</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160; <a class="code" href="namespacepFlow.html#aae6ad039f09c0676db11bd114136a3fa">int32</a> start,</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; <a class="code" href="namespacepFlow.html#aae6ad039f09c0676db11bd114136a3fa">int32</a> end,</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; <a class="code" href="namespacepFlow.html#a07fb256c1077eea7a7726e948cc8ff0e">int8</a> deleteFlag,</div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; <a class="code" href="namespacepFlow.html#aa5276597d4016d6696f1f265a13d2164">deviceViewType1D&lt;realx3&gt;</a> points,</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; <a class="code" href="namespacepFlow.html#aa5276597d4016d6696f1f265a13d2164">deviceViewType1D&lt;int8&gt;</a> flags,</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; <a class="code" href="classpFlow_1_1pointStructure_1_1activePointsDevice.html">pointStructure::activePointsDevice</a> activePoint,</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; pointStructure::activePointsDevice activePoint,</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; <a class="code" href="namespacepFlow.html#aae6ad039f09c0676db11bd114136a3fa">int32</a> &amp; minRange,</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; <a class="code" href="namespacepFlow.html#aae6ad039f09c0676db11bd114136a3fa">int32</a> &amp; maxRange</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; )</div>
@ -164,7 +164,7 @@ $(document).ready(function(){initNavTree('pointStructureKernels_8hpp_source.html
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; <a class="code" href="pFlowMacros_8hpp.html#aa7d4742cdf24a3792276e669531d145c">LAMBDA_HD</a>(<a class="code" href="namespacepFlow.html#aae6ad039f09c0676db11bd114136a3fa">int32</a> i, <a class="code" href="namespacepFlow.html#aae6ad039f09c0676db11bd114136a3fa">int32</a>&amp; minUpdate, <a class="code" href="namespacepFlow.html#aae6ad039f09c0676db11bd114136a3fa">int32</a>&amp; maxUpdate, <a class="code" href="namespacepFlow.html#aae6ad039f09c0676db11bd114136a3fa">int32</a>&amp; valToUpdate){</div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; <span class="keywordflow">if</span>(activePoint(i))</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; <span class="keywordflow">if</span>( !domain.<a class="code" href="classpFlow_1_1box.html#a898603c1e4e433d2f304d86f1a22c53c">isInside</a>(points[i]) )</div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; <span class="keywordflow">if</span>( !<a class="code" href="classpFlow_1_1domain.html">domain</a>.isInside(points[i]) )</div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; {</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; flags[i] = deleteFlag;</div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; valToUpdate++;</div>
@ -223,8 +223,8 @@ $(document).ready(function(){initNavTree('pointStructureKernels_8hpp_source.html
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160; <span class="keywordflow">if</span>(flags[i] == activeFlag)</div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160; {</div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160; sumToUpdate++;</div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; minUpdate = <a class="code" href="namespacepFlow.html#aba2f2ccdd3d4a6b403a2c2d379198396">min</a>(minUpdate,i);</div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160; maxUpdate = <a class="code" href="namespacepFlow.html#ae14bf16748b3144baa1112f08c2a83b1">max</a>(maxUpdate,i);</div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; minUpdate = <a class="code" href="namespacepFlow.html#a8714e8dd092c46b15a6e804b6c90db47">min</a>(minUpdate,i);</div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160; maxUpdate = <a class="code" href="namespacepFlow.html#a92e15c22d8a3e36e134f9bcc66bd8652">max</a>(maxUpdate,i);</div>
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160; }</div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160; },</div>
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160; Kokkos::Min&lt;int32&gt;(minRange), </div>
@ -253,21 +253,20 @@ $(document).ready(function(){initNavTree('pointStructureKernels_8hpp_source.html
</div><!-- doc-content -->
<div class="ttc" id="anamespacepFlow_1_1pointStructureKernels_html"><div class="ttname"><a href="namespacepFlow_1_1pointStructureKernels.html">pFlow::pointStructureKernels</a></div><div class="ttdef"><b>Definition:</b> <a href="pointStructureKernels_8hpp_source.html#l00028">pointStructureKernels.hpp:28</a></div></div>
<div class="ttc" id="abox_8hpp_html"><div class="ttname"><a href="box_8hpp.html">box.hpp</a></div></div>
<div class="ttc" id="anamespacepFlow_html_a92e15c22d8a3e36e134f9bcc66bd8652"><div class="ttname"><a href="namespacepFlow.html#a92e15c22d8a3e36e134f9bcc66bd8652">pFlow::max</a></div><div class="ttdeci">T max(const internalField&lt; T, MemorySpace &gt; &amp;iField)</div><div class="ttdef"><b>Definition:</b> <a href="internalFieldAlgorithms_8hpp_source.html#l00079">internalFieldAlgorithms.hpp:79</a></div></div>
<div class="ttc" id="anamespacepFlow_1_1pointStructureKernels_html_a36162ed116ea012f1507b41b7da0060f"><div class="ttname"><a href="namespacepFlow_1_1pointStructureKernels.html#a36162ed116ea012f1507b41b7da0060f">pFlow::pointStructureKernels::scanPointFlag</a></div><div class="ttdeci">int32 scanPointFlag(int32 start, int32 end, int8 activeFlag, deviceViewType1D&lt; int8 &gt; flags, int32 &amp;minRange, int32 &amp;maxRange)</div><div class="ttdef"><b>Definition:</b> <a href="pointStructureKernels_8hpp_source.html#l00092">pointStructureKernels.hpp:92</a></div></div>
<div class="ttc" id="aclasspFlow_1_1pointStructure_1_1activePointsDevice_html"><div class="ttname"><a href="classpFlow_1_1pointStructure_1_1activePointsDevice.html">pFlow::pointStructure::activePointsDevice</a></div><div class="ttdef"><b>Definition:</b> <a href="pointStructure_8hpp_source.html#l00059">pointStructure.hpp:59</a></div></div>
<div class="ttc" id="anamespacepFlow_html_aa5276597d4016d6696f1f265a13d2164"><div class="ttname"><a href="namespacepFlow.html#aa5276597d4016d6696f1f265a13d2164">pFlow::deviceViewType1D</a></div><div class="ttdeci">Kokkos::View&lt; T * &gt; deviceViewType1D</div><div class="ttdef"><b>Definition:</b> <a href="KokkosTypes_8hpp_source.html#l00098">KokkosTypes.hpp:98</a></div></div>
<div class="ttc" id="anamespacepFlow_html_aae6ad039f09c0676db11bd114136a3fa"><div class="ttname"><a href="namespacepFlow.html#aae6ad039f09c0676db11bd114136a3fa">pFlow::int32</a></div><div class="ttdeci">int int32</div><div class="ttdef"><b>Definition:</b> <a href="builtinTypes_8hpp_source.html#l00053">builtinTypes.hpp:53</a></div></div>
<div class="ttc" id="anamespacepFlow_html_aa5276597d4016d6696f1f265a13d2164"><div class="ttname"><a href="namespacepFlow.html#aa5276597d4016d6696f1f265a13d2164">pFlow::deviceViewType1D</a></div><div class="ttdeci">Kokkos::View&lt; T * &gt; deviceViewType1D</div><div class="ttdoc">1D array (vector) with default device (memory space and execution space)</div><div class="ttdef"><b>Definition:</b> <a href="KokkosTypes_8hpp_source.html#l00121">KokkosTypes.hpp:121</a></div></div>
<div class="ttc" id="anamespacepFlow_html_aae6ad039f09c0676db11bd114136a3fa"><div class="ttname"><a href="namespacepFlow.html#aae6ad039f09c0676db11bd114136a3fa">pFlow::int32</a></div><div class="ttdeci">int int32</div><div class="ttdef"><b>Definition:</b> <a href="builtinTypes_8hpp_source.html#l00050">builtinTypes.hpp:50</a></div></div>
<div class="ttc" id="anamespacepFlow_1_1pointStructureKernels_html_a440c2b7765806a499f4248b4adb1f8ee"><div class="ttname"><a href="namespacepFlow_1_1pointStructureKernels.html#a440c2b7765806a499f4248b4adb1f8ee">pFlow::pointStructureKernels::markDeleteOutOfBox</a></div><div class="ttdeci">int32 markDeleteOutOfBox(box domain, int32 start, int32 end, int8 deleteFlag, deviceViewType1D&lt; realx3 &gt; points, deviceViewType1D&lt; int8 &gt; flags, pointStructure::activePointsDevice activePoint, int32 &amp;minRange, int32 &amp;maxRange)</div><div class="ttdef"><b>Definition:</b> <a href="pointStructureKernels_8hpp_source.html#l00032">pointStructureKernels.hpp:32</a></div></div>
<div class="ttc" id="anamespacepFlow_html_ae14bf16748b3144baa1112f08c2a83b1"><div class="ttname"><a href="namespacepFlow.html#ae14bf16748b3144baa1112f08c2a83b1">pFlow::max</a></div><div class="ttdeci">T max(const Vector&lt; T, Allocator &gt; &amp;v)</div><div class="ttdef"><b>Definition:</b> <a href="VectorMath_8hpp_source.html#l00164">VectorMath.hpp:164</a></div></div>
<div class="ttc" id="anamespacepFlow_html_a8714e8dd092c46b15a6e804b6c90db47"><div class="ttname"><a href="namespacepFlow.html#a8714e8dd092c46b15a6e804b6c90db47">pFlow::min</a></div><div class="ttdeci">T min(const internalField&lt; T, MemorySpace &gt; &amp;iField)</div><div class="ttdef"><b>Definition:</b> <a href="internalFieldAlgorithms_8hpp_source.html#l00028">internalFieldAlgorithms.hpp:28</a></div></div>
<div class="ttc" id="aclasspFlow_1_1box_html"><div class="ttname"><a href="classpFlow_1_1box.html">pFlow::box</a></div><div class="ttdef"><b>Definition:</b> <a href="box_8hpp_source.html#l00032">box.hpp:32</a></div></div>
<div class="ttc" id="apFlowMacros_8hpp_html_aa7d4742cdf24a3792276e669531d145c"><div class="ttname"><a href="pFlowMacros_8hpp.html#aa7d4742cdf24a3792276e669531d145c">LAMBDA_HD</a></div><div class="ttdeci">#define LAMBDA_HD</div><div class="ttdef"><b>Definition:</b> <a href="pFlowMacros_8hpp_source.html#l00054">pFlowMacros.hpp:54</a></div></div>
<div class="ttc" id="anamespacepFlow_html_a07fb256c1077eea7a7726e948cc8ff0e"><div class="ttname"><a href="namespacepFlow.html#a07fb256c1077eea7a7726e948cc8ff0e">pFlow::int8</a></div><div class="ttdeci">signed char int8</div><div class="ttdef"><b>Definition:</b> <a href="builtinTypes_8hpp_source.html#l00049">builtinTypes.hpp:49</a></div></div>
<div class="ttc" id="aclasspFlow_1_1box_html_a898603c1e4e433d2f304d86f1a22c53c"><div class="ttname"><a href="classpFlow_1_1box.html#a898603c1e4e433d2f304d86f1a22c53c">pFlow::box::isInside</a></div><div class="ttdeci">INLINE_FUNCTION_HD bool isInside(const realx3 &amp;point) const</div><div class="ttdef"><b>Definition:</b> <a href="box_8hpp_source.html#l00082">box.hpp:82</a></div></div>
<div class="ttc" id="apFlowMacros_8hpp_html_aa7d4742cdf24a3792276e669531d145c"><div class="ttname"><a href="pFlowMacros_8hpp.html#aa7d4742cdf24a3792276e669531d145c">LAMBDA_HD</a></div><div class="ttdeci">#define LAMBDA_HD</div><div class="ttdef"><b>Definition:</b> <a href="pFlowMacros_8hpp_source.html#l00058">pFlowMacros.hpp:58</a></div></div>
<div class="ttc" id="anamespacepFlow_html_a07fb256c1077eea7a7726e948cc8ff0e"><div class="ttname"><a href="namespacepFlow.html#a07fb256c1077eea7a7726e948cc8ff0e">pFlow::int8</a></div><div class="ttdeci">signed char int8</div><div class="ttdef"><b>Definition:</b> <a href="builtinTypes_8hpp_source.html#l00048">builtinTypes.hpp:48</a></div></div>
<div class="ttc" id="aclasspFlow_1_1domain_html"><div class="ttname"><a href="classpFlow_1_1domain.html">pFlow::domain</a></div><div class="ttdef"><b>Definition:</b> <a href="domain_8hpp_source.html#l00031">domain.hpp:31</a></div></div>
<div class="ttc" id="apointStructure_8hpp_html"><div class="ttname"><a href="pointStructure_8hpp.html">pointStructure.hpp</a></div></div>
<div class="ttc" id="anamespacepFlow_html_aba2f2ccdd3d4a6b403a2c2d379198396"><div class="ttname"><a href="namespacepFlow.html#aba2f2ccdd3d4a6b403a2c2d379198396">pFlow::min</a></div><div class="ttdeci">T min(const Vector&lt; T, Allocator &gt; &amp;v)</div><div class="ttdef"><b>Definition:</b> <a href="VectorMath_8hpp_source.html#l00138">VectorMath.hpp:138</a></div></div>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_cd7a5046d028e114fc17b2ebc2bd02d2.html">phasicFlow</a></li><li class="navelem"><a class="el" href="dir_0b265ec0eb5bc5fbad75b6fd7b5b024b.html">structuredData</a></li><li class="navelem"><a class="el" href="dir_40d089f5b6543888409b0c9c3858ee92.html">pointStructure</a></li><li class="navelem"><a class="el" href="pointStructureKernels_8hpp.html">pointStructureKernels.hpp</a></li>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_cd7a5046d028e114fc17b2ebc2bd02d2.html">phasicFlow</a></li><li class="navelem"><a class="el" href="dir_0b265ec0eb5bc5fbad75b6fd7b5b024b.html">structuredData</a></li><li class="navelem"><a class="el" href="dir_40d089f5b6543888409b0c9c3858ee92.html">pointStructure</a></li><li class="navelem"><a class="el" href="dir_ab1bedec1dabb2ed23fd7ef97be7faaf.html">pointStructure</a></li><li class="navelem"><a class="el" href="pointStructureKernels_8hpp.html">pointStructureKernels.hpp</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>