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

395 lines
21 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: pointSorting Class Reference</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('classpFlow_1_1pointSorting.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="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="classpFlow_1_1pointSorting-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">pointSorting Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
<img id="dynsection-0-trigger" src="closed.png" alt="+"/> Collaboration diagram for pointSorting:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="classpFlow_1_1pointSorting__coll__graph.png" border="0" usemap="#pointSorting_coll__map" alt="Collaboration graph"/></div>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a7222f52f0620fff8a78cfd821d449e8e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpFlow_1_1pointSorting.html#a7222f52f0620fff8a78cfd821d449e8e">pointSorting</a> (const <a class="el" href="classpFlow_1_1dictionary.html">dictionary</a> &amp;dict)</td></tr>
<tr class="separator:a7222f52f0620fff8a78cfd821d449e8e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adb288362e2e57101fc3ac358705e9797"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpFlow_1_1pointSorting.html#adb288362e2e57101fc3ac358705e9797">performSorting</a> () const</td></tr>
<tr class="separator:adb288362e2e57101fc3ac358705e9797"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a97edfd004f04f656debb9c832e301077"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpFlow_1_1pointSorting.html#a97edfd004f04f656debb9c832e301077">sortTime</a> (<a class="el" href="namespacepFlow.html#abd01e8e67e3d94cab04ecaaf4f85ac1b">uint32</a> iter, <a class="el" href="namespacepFlow.html#a6192191c0e9c178a44ee1ac350fde476">real</a> t, <a class="el" href="namespacepFlow.html#a6192191c0e9c178a44ee1ac350fde476">real</a> dt) const</td></tr>
<tr class="separator:a97edfd004f04f656debb9c832e301077"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1f68b3a46a2ce61845c7e10859549235"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacepFlow.html#ace91b5b09f95f3d8409247898e688e9b">uint32IndexContainer</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpFlow_1_1pointSorting.html#a1f68b3a46a2ce61845c7e10859549235">getSortedIndices</a> (const <a class="el" href="classpFlow_1_1box.html">box</a> &amp;boundingBox, const <a class="el" href="namespacepFlow.html#aeac3efd0f623f0010ce6daa6499d8ebe">ViewType1D</a>&lt; <a class="el" href="namespacepFlow.html#a5164661f6974ad24fa90bf19433e6116">realx3</a> &gt; &amp;pos, const <a class="el" href="namespacepFlow.html#a9a87272f235780fa7725c23a9da79011">pFlagTypeDevice</a> &amp;flag) const</td></tr>
<tr class="separator:a1f68b3a46a2ce61845c7e10859549235"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:a214198cb23e2284c47d1a939d2249f96"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classpFlow_1_1Logical.html">Logical</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpFlow_1_1pointSorting.html#a214198cb23e2284c47d1a939d2249f96">performSorting_</a></td></tr>
<tr class="separator:a214198cb23e2284c47d1a939d2249f96"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf691a3ed54f3b6bf19ee56209169da5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classpFlow_1_1baseTimeControl.html">baseTimeControl</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpFlow_1_1pointSorting.html#acf691a3ed54f3b6bf19ee56209169da5">timeControl_</a></td></tr>
<tr class="separator:acf691a3ed54f3b6bf19ee56209169da5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a29460003ee8af18d49dc41627985b4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacepFlow.html#a6192191c0e9c178a44ee1ac350fde476">real</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpFlow_1_1pointSorting.html#a3a29460003ee8af18d49dc41627985b4">dx_</a></td></tr>
<tr class="separator:a3a29460003ee8af18d49dc41627985b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock">
<p class="definition">Definition at line <a class="el" href="pointSorting_8hpp_source.html#l00034">34</a> of file <a class="el" href="pointSorting_8hpp_source.html">pointSorting.hpp</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a7222f52f0620fff8a78cfd821d449e8e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7222f52f0620fff8a78cfd821d449e8e">&#9670;&nbsp;</a></span>pointSorting()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classpFlow_1_1pointSorting.html">pointSorting</a> </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classpFlow_1_1dictionary.html">dictionary</a> &amp;&#160;</td>
<td class="paramname"><em>dict</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="pointSorting_8cpp_source.html#l00024">24</a> of file <a class="el" href="pointSorting_8cpp_source.html">pointSorting.cpp</a>.</p>
<p class="reference">References <a class="el" href="streams_8hpp_source.html#l00040">END_REPORT</a>, <a class="el" href="pointSorting_8hpp_source.html#l00038">pointSorting::performSorting_</a>, <a class="el" href="streams_8hpp_source.html#l00039">REPORT</a>, and <a class="el" href="iOstream_8hpp_source.html#l00040">Yellow_Text</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="adb288362e2e57101fc3ac358705e9797"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adb288362e2e57101fc3ac358705e9797">&#9670;&nbsp;</a></span>performSorting()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool performSorting </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="pointSorting_8hpp_source.html#l00048">48</a> of file <a class="el" href="pointSorting_8hpp_source.html">pointSorting.hpp</a>.</p>
<p class="reference">References <a class="el" href="pointSorting_8hpp_source.html#l00038">pointSorting::performSorting_</a>.</p>
</div>
</div>
<a id="a97edfd004f04f656debb9c832e301077"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a97edfd004f04f656debb9c832e301077">&#9670;&nbsp;</a></span>sortTime()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool sortTime </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespacepFlow.html#abd01e8e67e3d94cab04ecaaf4f85ac1b">uint32</a>&#160;</td>
<td class="paramname"><em>iter</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="namespacepFlow.html#a6192191c0e9c178a44ee1ac350fde476">real</a>&#160;</td>
<td class="paramname"><em>t</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="namespacepFlow.html#a6192191c0e9c178a44ee1ac350fde476">real</a>&#160;</td>
<td class="paramname"><em>dt</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="pointSorting_8hpp_source.html#l00053">53</a> of file <a class="el" href="pointSorting_8hpp_source.html">pointSorting.hpp</a>.</p>
<p class="reference">References <a class="el" href="pointSorting_8hpp_source.html#l00038">pointSorting::performSorting_</a>, <a class="el" href="pointSorting_8hpp_source.html#l00040">pointSorting::timeControl_</a>, and <a class="el" href="baseTimeControl_8cpp_source.html#l00078">baseTimeControl::timeEvent()</a>.</p>
<div id="dynsection-1" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
<img id="dynsection-1-trigger" src="closed.png" alt="+"/> Here is the call graph for this function:</div>
<div id="dynsection-1-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-1-content" class="dyncontent" style="display:none;">
<div class="center"><img src="classpFlow_1_1pointSorting_a97edfd004f04f656debb9c832e301077_cgraph.png" border="0" usemap="#classpFlow_1_1pointSorting_a97edfd004f04f656debb9c832e301077_cgraph" alt=""/></div>
</div>
</div>
</div>
<a id="a1f68b3a46a2ce61845c7e10859549235"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1f68b3a46a2ce61845c7e10859549235">&#9670;&nbsp;</a></span>getSortedIndices()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespacepFlow.html#ace91b5b09f95f3d8409247898e688e9b">pFlow::uint32IndexContainer</a> getSortedIndices </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classpFlow_1_1box.html">box</a> &amp;&#160;</td>
<td class="paramname"><em>boundingBox</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="namespacepFlow.html#aeac3efd0f623f0010ce6daa6499d8ebe">ViewType1D</a>&lt; <a class="el" href="namespacepFlow.html#a5164661f6974ad24fa90bf19433e6116">realx3</a> &gt; &amp;&#160;</td>
<td class="paramname"><em>pos</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="namespacepFlow.html#a9a87272f235780fa7725c23a9da79011">pFlagTypeDevice</a> &amp;&#160;</td>
<td class="paramname"><em>flag</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="pointSorting_8cpp_source.html#l00045">45</a> of file <a class="el" href="pointSorting_8cpp_source.html">pointSorting.cpp</a>.</p>
<p class="reference">References <a class="el" href="mortonIndexing_8cpp_source.html#l00024">pFlow::getSortedIndices()</a>.</p>
<div id="dynsection-2" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
<img id="dynsection-2-trigger" src="closed.png" alt="+"/> Here is the call graph for this function:</div>
<div id="dynsection-2-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-2-content" class="dyncontent" style="display:none;">
<div class="center"><img src="classpFlow_1_1pointSorting_a1f68b3a46a2ce61845c7e10859549235_cgraph.png" border="0" usemap="#classpFlow_1_1pointSorting_a1f68b3a46a2ce61845c7e10859549235_cgraph" alt=""/></div>
</div>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a214198cb23e2284c47d1a939d2249f96"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a214198cb23e2284c47d1a939d2249f96">&#9670;&nbsp;</a></span>performSorting_</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classpFlow_1_1Logical.html">Logical</a> performSorting_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="pointSorting_8hpp_source.html#l00038">38</a> of file <a class="el" href="pointSorting_8hpp_source.html">pointSorting.hpp</a>.</p>
<p class="reference">Referenced by <a class="el" href="pointSorting_8hpp_source.html#l00048">pointSorting::performSorting()</a>, <a class="el" href="pointSorting_8cpp_source.html#l00024">pointSorting::pointSorting()</a>, and <a class="el" href="pointSorting_8hpp_source.html#l00053">pointSorting::sortTime()</a>.</p>
</div>
</div>
<a id="acf691a3ed54f3b6bf19ee56209169da5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acf691a3ed54f3b6bf19ee56209169da5">&#9670;&nbsp;</a></span>timeControl_</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classpFlow_1_1baseTimeControl.html">baseTimeControl</a> timeControl_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="pointSorting_8hpp_source.html#l00040">40</a> of file <a class="el" href="pointSorting_8hpp_source.html">pointSorting.hpp</a>.</p>
<p class="reference">Referenced by <a class="el" href="pointSorting_8hpp_source.html#l00053">pointSorting::sortTime()</a>.</p>
</div>
</div>
<a id="a3a29460003ee8af18d49dc41627985b4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3a29460003ee8af18d49dc41627985b4">&#9670;&nbsp;</a></span>dx_</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespacepFlow.html#a6192191c0e9c178a44ee1ac350fde476">real</a> dx_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="pointSorting_8hpp_source.html#l00042">42</a> of file <a class="el" href="pointSorting_8hpp_source.html">pointSorting.hpp</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>src/phasicFlow/structuredData/pointStructure/pointStructure/pointSorting/<a class="el" href="pointSorting_8hpp_source.html">pointSorting.hpp</a></li>
<li>src/phasicFlow/structuredData/pointStructure/pointStructure/pointSorting/<a class="el" href="pointSorting_8cpp_source.html">pointSorting.cpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="namespacepFlow.html">pFlow</a></li><li class="navelem"><a class="el" href="classpFlow_1_1pointSorting.html">pointSorting</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>