<!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: src/Interaction/grainInteraction/boundaries/boundaryGrainInteractionList.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('boundaryGrainInteractionList_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">boundaryGrainInteractionList.cpp</div>  </div>
</div><!--header-->
<div class="contents">
<a href="boundaryGrainInteractionList_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; </div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160; </div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> CFModel, <span class="keyword">typename</span> gMModel&gt;</div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<a class="code" href="classpFlow_1_1boundaryGrainInteractionList.html#a72049b3d0be2917d1a3d2daf73aee8e0">pFlow::boundaryGrainInteractionList&lt;CFModel, gMModel&gt;::boundaryGrainInteractionList</a></div>
<div class="line"><a name="l00005"></a><span class="lineno"><a class="line" href="classpFlow_1_1boundaryGrainInteractionList.html#a72049b3d0be2917d1a3d2daf73aee8e0">    5</a></span>&#160;(</div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;    <span class="keyword">const</span> <a class="code" href="classpFlow_1_1grainParticles.html">grainParticles</a> &amp;grnPrtcls, </div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;    <span class="keyword">const</span> gMModel &amp;geomMotion</div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;)</div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;:</div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;    <a class="code" href="classpFlow_1_1ListPtr.html">ListPtr&lt;boundaryGrainInteraction&lt;CFModel,gMModel&gt;</a>&gt;(6),</div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;    boundaries_(grnPrtcls.<a class="code" href="classpFlow_1_1particles.html#af594ba73474d415474d32afc783799b1">pStruct</a>().<a class="code" href="classpFlow_1_1pointStructure.html#a137901d5930c5fb8adeb41633d125445">boundaries</a>())</div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;{</div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;    <span class="comment">//gSettings::sleepMiliSeconds(1000*pFlowProcessors().localRank());</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;    <span class="keywordflow">for</span>(<a class="code" href="namespacepFlow.html#abd01e8e67e3d94cab04ecaaf4f85ac1b">uint32</a> i=0; i&lt;6; i++)</div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;    {</div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;        this-&gt;set(</div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;            i,</div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;            <a class="code" href="classpFlow_1_1boundaryGrainInteraction.html">boundaryGrainInteraction&lt;CFModel, gMModel&gt;::create</a>(</div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;                boundaries_[i],</div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;                grnPrtcls, </div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;                geomMotion));</div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;    }   </div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;}</div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="aclasspFlow_1_1ListPtr_html"><div class="ttname"><a href="classpFlow_1_1ListPtr.html">pFlow::ListPtr</a></div><div class="ttdef"><b>Definition:</b> <a href="ListPtr_8hpp_source.html#l00037">ListPtr.hpp:37</a></div></div>
<div class="ttc" id="aclasspFlow_1_1boundaryGrainInteraction_html"><div class="ttname"><a href="classpFlow_1_1boundaryGrainInteraction.html">pFlow::boundaryGrainInteraction</a></div><div class="ttdef"><b>Definition:</b> <a href="boundaryGrainInteraction_8hpp_source.html#l00032">boundaryGrainInteraction.hpp:32</a></div></div>
<div class="ttc" id="aclasspFlow_1_1boundaryGrainInteractionList_html_a72049b3d0be2917d1a3d2daf73aee8e0"><div class="ttname"><a href="classpFlow_1_1boundaryGrainInteractionList.html#a72049b3d0be2917d1a3d2daf73aee8e0">pFlow::boundaryGrainInteractionList::boundaryGrainInteractionList</a></div><div class="ttdeci">boundaryGrainInteractionList(const grainParticles &amp;grnPrtcls, const geometryMotionModel &amp;geomMotion)</div><div class="ttdef"><b>Definition:</b> <a href="boundaryGrainInteractionList_8cpp_source.html#l00005">boundaryGrainInteractionList.cpp:5</a></div></div>
<div class="ttc" id="aclasspFlow_1_1grainParticles_html"><div class="ttname"><a href="classpFlow_1_1grainParticles.html">pFlow::grainParticles</a></div><div class="ttdef"><b>Definition:</b> <a href="grainParticles_8hpp_source.html#l00042">grainParticles.hpp:42</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="aclasspFlow_1_1pointStructure_html_a137901d5930c5fb8adeb41633d125445"><div class="ttname"><a href="classpFlow_1_1pointStructure.html#a137901d5930c5fb8adeb41633d125445">pFlow::pointStructure::boundaries</a></div><div class="ttdeci">auto &amp; boundaries()</div><div class="ttdef"><b>Definition:</b> <a href="pointStructure_8hpp_source.html#l00118">pointStructure.hpp:118</a></div></div>
<div class="ttc" id="aclasspFlow_1_1particles_html_af594ba73474d415474d32afc783799b1"><div class="ttname"><a href="classpFlow_1_1particles.html#af594ba73474d415474d32afc783799b1">pFlow::particles::pStruct</a></div><div class="ttdeci">const pointStructure &amp; pStruct() const</div><div class="ttdef"><b>Definition:</b> <a href="particles_8hpp_source.html#l00106">particles.hpp:106</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_521648a0ab4242664e9ecc37593f7519.html">Interaction</a></li><li class="navelem"><a class="el" href="dir_df5f4053b4d1b4521befd225c0b9e8d5.html">grainInteraction</a></li><li class="navelem"><a class="el" href="dir_0c9c27ba3440783510b698affb2e2d63.html">boundaries</a></li><li class="navelem"><a class="el" href="boundaryGrainInteractionList_8cpp.html">boundaryGrainInteractionList.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>