<metaname="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.">
<!-- iframe showing the search results (closed by default) -->
<divid="MSearchResultsWindow">
<iframesrc="javascript:void(0)"frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<divclass="header">
<divclass="headertitle">
<divclass="title">interaction.cpp</div></div>
</div><!--header-->
<divclass="contents">
<ahref="interaction_8cpp.html">Go to the documentation of this file.</a><divclass="fragment"><divclass="line"><aname="l00001"></a><spanclass="lineno"> 1</span> <spanclass="comment">/*------------------------------- phasicFlow ---------------------------------</span></div>
<divclass="line"><aname="l00002"></a><spanclass="lineno"> 2</span> <spanclass="comment"> O C enter of</span></div>
<divclass="line"><aname="l00003"></a><spanclass="lineno"> 3</span> <spanclass="comment"> O O E ngineering and</span></div>
<divclass="line"><aname="l00004"></a><spanclass="lineno"> 4</span> <spanclass="comment"> O O M ultiscale modeling of</span></div>
<divclass="line"><aname="l00005"></a><spanclass="lineno"> 5</span> <spanclass="comment"> OOOOOOO F luid flow </span></div>
<divclass="line"><aname="l00011"></a><spanclass="lineno"> 11</span> <spanclass="comment"> This file is part of phasicFlow code. It is a free software for simulating </span></div>
<divclass="line"><aname="l00012"></a><spanclass="lineno"> 12</span> <spanclass="comment"> granular and multiphase flows. You can redistribute it and/or modify it under</span></div>
<divclass="line"><aname="l00013"></a><spanclass="lineno"> 13</span> <spanclass="comment"> the terms of GNU General Public License v3 or any other later versions. </span></div>
<divclass="line"><aname="l00015"></a><spanclass="lineno"> 15</span> <spanclass="comment"> phasicFlow is distributed to help others in their research in the field of </span></div>
<divclass="line"><aname="l00016"></a><spanclass="lineno"> 16</span> <spanclass="comment"> granular and multiphase flows, but WITHOUT ANY WARRANTY; without even the</span></div>
<divclass="line"><aname="l00017"></a><spanclass="lineno"> 17</span> <spanclass="comment"> implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.</span></div>
<divclass="ttc"id="anamespacepFlow_html_a5604622b0a1df3bcc1b8b872c0b9d5fa"><divclass="ttname"><ahref="namespacepFlow.html#a5604622b0a1df3bcc1b8b872c0b9d5fa">pFlow::angleBracketsNames3</a></div><divclass="ttdeci">word angleBracketsNames3(const word &base, const word &w1, const word &w2, const word &w3)</div><divclass="ttdoc">Output base<w1,sw2,w3></div><divclass="ttdef"><b>Definition:</b><ahref="bTypesFunctions_8cpp_source.html#l00168">bTypesFunctions.cpp:168</a></div></div>
<divclass="ttc"id="aclasspFlow_1_1particles_html_af1ef13dca34d5f3770edd71a42582560"><divclass="ttname"><ahref="classpFlow_1_1particles.html#af1ef13dca34d5f3770edd71a42582560">pFlow::particles::shapeTypeName</a></div><divclass="ttdeci">virtual word shapeTypeName() const =0</div></div>
<divclass="ttc"id="aclasspFlow_1_1geometry_html_aca4d470de05b9b43b7a27da45c6d7ec0"><divclass="ttname"><ahref="classpFlow_1_1geometry.html#aca4d470de05b9b43b7a27da45c6d7ec0">pFlow::geometry::motionModelTypeName</a></div><divclass="ttdeci">virtual word motionModelTypeName() const =0</div><divclass="ttdoc">The name of motion model.</div></div>
<divclass="ttc"id="anamespacepFlow_html_a9c4454c5f18c8245eaaebf2b4832eab0"><divclass="ttname"><ahref="namespacepFlow.html#a9c4454c5f18c8245eaaebf2b4832eab0">pFlow::printKeys</a></div><divclass="ttdeci">iOstream & printKeys(iOstream &os, const wordHashMap< T >&m)</div></div>
<divclass="ttc"id="aclasspFlow_1_1systemControl_html_ad68c5aa4b85c41f2c4d0e70f6f7fc6f2"><divclass="ttname"><ahref="classpFlow_1_1systemControl.html#ad68c5aa4b85c41f2c4d0e70f6f7fc6f2">pFlow::systemControl::caseSetup</a></div><divclass="ttdeci">const repository & caseSetup() const</div><divclass="ttdef"><b>Definition:</b><ahref="systemControl_8hpp_source.html#l00113">systemControl.hpp:113</a></div></div>
<divclass="ttc"id="aclasspFlow_1_1fileSystem_html"><divclass="ttname"><ahref="classpFlow_1_1fileSystem.html">pFlow::fileSystem</a></div><divclass="ttdoc">Manages file pathes, manupulate and combines them.</div><divclass="ttdef"><b>Definition:</b><ahref="fileSystem_8hpp_source.html#l00071">fileSystem.hpp:71</a></div></div>
<divclass="ttc"id="anamespacepFlow_html_af4e1df8908797640749fa02e2f5db7a7"><divclass="ttname"><ahref="namespacepFlow.html#af4e1df8908797640749fa02e2f5db7a7">pFlow::angleBracketsNames</a></div><divclass="ttdeci">word angleBracketsNames(const word &w1, const word &w2)</div><divclass="ttdoc">Output <w1,w2></div><divclass="ttdef"><b>Definition:</b><ahref="bTypesFunctions_8cpp_source.html#l00156">bTypesFunctions.cpp:156</a></div></div>
<divclass="ttc"id="aclasspFlow_1_1demComponent_html"><divclass="ttname"><ahref="classpFlow_1_1demComponent.html">pFlow::demComponent</a></div><divclass="ttdoc">A base class for every main component of DEM system.</div><divclass="ttdef"><b>Definition:</b><ahref="demComponent_8hpp_source.html#l00042">demComponent.hpp:42</a></div></div>
<divclass="ttc"id="aerror_8hpp_html_adfe9ae1313e6913aca3f96d3eb67906e"><divclass="ttname"><ahref="error_8hpp.html#adfe9ae1313e6913aca3f96d3eb67906e">fatalError</a></div><divclass="ttdeci">#define fatalError</div><divclass="ttdoc">Report a fatal error and exit the applicaiton.</div><divclass="ttdef"><b>Definition:</b><ahref="error_8hpp_source.html#l00070">error.hpp:70</a></div></div>
<divclass="ttc"id="aclasspFlow_1_1dictionary_html_a630c840647a3ebefe33336cc25a8b15d"><divclass="ttname"><ahref="classpFlow_1_1dictionary.html#a630c840647a3ebefe33336cc25a8b15d">pFlow::dictionary::subDict</a></div><divclass="ttdeci">dictionary & subDict(const word &keyword)</div><divclass="ttdoc">ref to a subdictioanry fatalExit if not found</div><divclass="ttdef"><b>Definition:</b><ahref="dictionary_8cpp_source.html#l00560">dictionary.cpp:560</a></div></div>
<divclass="ttc"id="aclasspFlow_1_1dictionary_html_a523bcff98ab38f3c5961e56eeb0b1d47"><divclass="ttname"><ahref="classpFlow_1_1dictionary.html#a523bcff98ab38f3c5961e56eeb0b1d47">pFlow::dictionary::getVal</a></div><divclass="ttdeci">T getVal(const word &keyword) const</div><divclass="ttdoc">get the value of data entry</div><divclass="ttdef"><b>Definition:</b><ahref="dictionary_8hpp_source.html#l00379">dictionary.hpp:379</a></div></div>
<divclass="ttc"id="aclasspFlow_1_1property_html"><divclass="ttname"><ahref="classpFlow_1_1property.html">pFlow::property</a></div><divclass="ttdoc">property holds the pure properties of materials.</div><divclass="ttdef"><b>Definition:</b><ahref="property_8hpp_source.html#l00037">property.hpp:37</a></div></div>
<divclass="ttc"id="anamespacepFlow_html_a73a9289af0708a96f32013982a1a2967"><divclass="ttname"><ahref="namespacepFlow.html#a73a9289af0708a96f32013982a1a2967">pFlow::pFlowProcessors</a></div><divclass="ttdeci">localProcessors & pFlowProcessors()</div><divclass="ttdef"><b>Definition:</b><ahref="pFlowProcessors_8cpp_source.html#l00005">pFlowProcessors.cpp:5</a></div></div>
<divclass="ttc"id="aclasspFlow_1_1geometry_html"><divclass="ttname"><ahref="classpFlow_1_1geometry.html">pFlow::geometry</a></div><divclass="ttdoc">Base class for geometry for managing tri-surfaces, geometry motion, and surface physical properties.</div><divclass="ttdef"><b>Definition:</b><ahref="geometry_8hpp_source.html#l00044">geometry.hpp:44</a></div></div>
<divclass="ttc"id="aclasspFlow_1_1particles_html_a1898e0b780e6dcca30fb4549130bcb82"><divclass="ttname"><ahref="classpFlow_1_1particles.html#a1898e0b780e6dcca30fb4549130bcb82">pFlow::particles::dynPointStruct</a></div><divclass="ttdeci">auto & dynPointStruct()</div><divclass="ttdef"><b>Definition:</b><ahref="particles_8hpp_source.html#l00074">particles.hpp:74</a></div></div>
<divclass="ttc"id="aclasspFlow_1_1iOstream_html_adab69c3b447db5491b3b7e2a6e1c39a7"><divclass="ttname"><ahref="classpFlow_1_1iOstream.html#adab69c3b447db5491b3b7e2a6e1c39a7">pFlow::iOstream::space</a></div><divclass="ttdeci">virtual iOstream & space(int32 n=1)</div><divclass="ttdoc">Write space to stream.</div><divclass="ttdef"><b>Definition:</b><ahref="iOstream_8cpp_source.html#l00119">iOstream.cpp:119</a></div></div>
<divclass="ttc"id="aclasspFlow_1_1dictionary_html"><divclass="ttname"><ahref="classpFlow_1_1dictionary.html">pFlow::dictionary</a></div><divclass="ttdoc">Dictionary holds a set of data entries or sub-dictionaries that are enclosed in a curely braces or ar...</div><divclass="ttdef"><b>Definition:</b><ahref="dictionary_8hpp_source.html#l00067">dictionary.hpp:67</a></div></div>