mirror of
https://github.com/PhasicFlow/phasicFlow.git
synced 2025-06-22 16:28:30 +00:00
documentation for v1.0
This commit is contained in:
@ -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/Interaction/sphereInteraction/sphereTriSurfaceContact.hpp Source File</title>
|
||||
<title>PhasicFlow: src/Interaction/sphereInteraction/sphereInteraction/sphereTriSurfaceContact.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>
|
||||
@ -129,8 +129,8 @@ $(document).ready(function(){initNavTree('sphereTriSurfaceContact_8hpp_source.ht
|
||||
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#ifndef __sphereTriSurfaceContact_hpp__</span></div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#define __sphereTriSurfaceContact_hpp__</span></div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  </div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include "<a class="code" href="triWall_8hpp.html">triWall.hpp</a>"</span></div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include "<a class="code" href="pLine_8hpp.html">pLine.hpp</a>"</span></div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include "<a class="code" href="sphereInteraction_2sphereInteraction_2triWall_8hpp.html">triWall.hpp</a>"</span></div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include "<a class="code" href="sphereInteraction_2sphereInteraction_2pLine_8hpp.html">pLine.hpp</a>"</span></div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  </div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="keyword">namespace </span><a class="code" href="namespacepFlow_1_1sphTriInteraction.html">pFlow::sphTriInteraction</a></div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> {</div>
|
||||
@ -290,7 +290,7 @@ $(document).ready(function(){initNavTree('sphereTriSurfaceContact_8hpp_source.ht
|
||||
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  <a class="code" href="namespacepFlow.html#a6192191c0e9c178a44ee1ac350fde476">real</a> dist = wall.<a class="code" href="structpFlow_1_1sphTriInteraction_1_1triWall.html#ae81648f19b6bd4ffc0124388911a245e">normalDistFromWall</a>(cntr);</div>
|
||||
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  </div>
|
||||
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>  </div>
|
||||
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  ovrlp = Rad - <a class="code" href="namespacepFlow.html#a62ab5f54018a48f829abd2cca13d75b2">abs</a>(dist);</div>
|
||||
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  ovrlp = Rad - <a class="code" href="namespacepFlow.html#a11091cf542ebb711e64d680ee05b311c">abs</a>(dist);</div>
|
||||
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  </div>
|
||||
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  <span class="keywordflow">if</span> (ovrlp > 0)</div>
|
||||
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  {</div>
|
||||
@ -339,30 +339,30 @@ $(document).ready(function(){initNavTree('sphereTriSurfaceContact_8hpp_source.ht
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<div class="ttc" id="anamespacepFlow_1_1sphTriInteraction_html_aa017e2c7188a723fa2817ae90d37b877"><div class="ttname"><a href="namespacepFlow_1_1sphTriInteraction.html#aa017e2c7188a723fa2817ae90d37b877">pFlow::sphTriInteraction::isSphereInContactActiveSide</a></div><div class="ttdeci">INLINE_FUNCTION_HD bool isSphereInContactActiveSide(const realx3 &p1, const realx3 &p2, const realx3 &p3, const realx3 &cntr, real rad, real &ovrlp, realx3 &norm, realx3 &cp)</div><div class="ttdef"><b>Definition:</b> <a href="sphereTriSurfaceContact_8hpp_source.html#l00117">sphereTriSurfaceContact.hpp:117</a></div></div>
|
||||
<div class="ttc" id="anamespacepFlow_html_a6192191c0e9c178a44ee1ac350fde476"><div class="ttname"><a href="namespacepFlow.html#a6192191c0e9c178a44ee1ac350fde476">pFlow::real</a></div><div class="ttdeci">float real</div><div class="ttdef"><b>Definition:</b> <a href="builtinTypes_8hpp_source.html#l00046">builtinTypes.hpp:46</a></div></div>
|
||||
<div class="ttc" id="anamespacepFlow_html_a6192191c0e9c178a44ee1ac350fde476"><div class="ttname"><a href="namespacepFlow.html#a6192191c0e9c178a44ee1ac350fde476">pFlow::real</a></div><div class="ttdeci">float real</div><div class="ttdef"><b>Definition:</b> <a href="builtinTypes_8hpp_source.html#l00045">builtinTypes.hpp:45</a></div></div>
|
||||
<div class="ttc" id="anamespacepFlow_1_1sphTriInteraction_html_a43af14a1fd258bcf1b5e7e7ddb8d40bb"><div class="ttname"><a href="namespacepFlow_1_1sphTriInteraction.html#a43af14a1fd258bcf1b5e7e7ddb8d40bb">pFlow::sphTriInteraction::pointInPlane</a></div><div class="ttdeci">INLINE_FUNCTION_HD bool pointInPlane(const realx3 &p1, const realx3 &p2, const realx3 &p3, const realx3 &p)</div><div class="ttdef"><b>Definition:</b> <a href="sphereTriSurfaceContact_8hpp_source.html#l00032">sphereTriSurfaceContact.hpp:32</a></div></div>
|
||||
<div class="ttc" id="astructpFlow_1_1sphTriInteraction_1_1pLine_html"><div class="ttname"><a href="structpFlow_1_1sphTriInteraction_1_1pLine.html">pFlow::sphTriInteraction::pLine</a></div><div class="ttdef"><b>Definition:</b> <a href="pLine_8hpp_source.html#l00029">pLine.hpp:29</a></div></div>
|
||||
<div class="ttc" id="astructpFlow_1_1sphTriInteraction_1_1triWall_html"><div class="ttname"><a href="structpFlow_1_1sphTriInteraction_1_1triWall.html">pFlow::sphTriInteraction::triWall</a></div><div class="ttdef"><b>Definition:</b> <a href="triWall_8hpp_source.html#l00029">triWall.hpp:29</a></div></div>
|
||||
<div class="ttc" id="astructpFlow_1_1sphTriInteraction_1_1triWall_html_a5b71c203ea8685dfe48bf6502de7521d"><div class="ttname"><a href="structpFlow_1_1sphTriInteraction_1_1triWall.html#a5b71c203ea8685dfe48bf6502de7521d">pFlow::sphTriInteraction::triWall::n_</a></div><div class="ttdeci">realx3 n_</div><div class="ttdef"><b>Definition:</b> <a href="triWall_8hpp_source.html#l00032">triWall.hpp:32</a></div></div>
|
||||
<div class="ttc" id="astructpFlow_1_1sphTriInteraction_1_1pLine_html_aabd9c83babb8fd250cae2482ddea4f13"><div class="ttname"><a href="structpFlow_1_1sphTriInteraction_1_1pLine.html#aabd9c83babb8fd250cae2482ddea4f13">pFlow::sphTriInteraction::pLine::lineSphereCheck</a></div><div class="ttdeci">INLINE_FUNCTION_HD bool lineSphereCheck(const realx3 pos, real Rad, realx3 &nv, realx3 &cp, real &ovrlp) const</div><div class="ttdef"><b>Definition:</b> <a href="pLine_8hpp_source.html#l00071">pLine.hpp:71</a></div></div>
|
||||
<div class="ttc" id="astructpFlow_1_1sphTriInteraction_1_1pLine_html"><div class="ttname"><a href="structpFlow_1_1sphTriInteraction_1_1pLine.html">pFlow::sphTriInteraction::pLine</a></div><div class="ttdef"><b>Definition:</b> <a href="sphereInteraction_2sphereInteraction_2pLine_8hpp_source.html#l00029">pLine.hpp:29</a></div></div>
|
||||
<div class="ttc" id="astructpFlow_1_1sphTriInteraction_1_1triWall_html"><div class="ttname"><a href="structpFlow_1_1sphTriInteraction_1_1triWall.html">pFlow::sphTriInteraction::triWall</a></div><div class="ttdef"><b>Definition:</b> <a href="sphereInteraction_2sphereInteraction_2triWall_8hpp_source.html#l00029">triWall.hpp:29</a></div></div>
|
||||
<div class="ttc" id="astructpFlow_1_1sphTriInteraction_1_1triWall_html_a5b71c203ea8685dfe48bf6502de7521d"><div class="ttname"><a href="structpFlow_1_1sphTriInteraction_1_1triWall.html#a5b71c203ea8685dfe48bf6502de7521d">pFlow::sphTriInteraction::triWall::n_</a></div><div class="ttdeci">realx3 n_</div><div class="ttdef"><b>Definition:</b> <a href="sphereInteraction_2sphereInteraction_2triWall_8hpp_source.html#l00032">triWall.hpp:32</a></div></div>
|
||||
<div class="ttc" id="astructpFlow_1_1sphTriInteraction_1_1pLine_html_aabd9c83babb8fd250cae2482ddea4f13"><div class="ttname"><a href="structpFlow_1_1sphTriInteraction_1_1pLine.html#aabd9c83babb8fd250cae2482ddea4f13">pFlow::sphTriInteraction::pLine::lineSphereCheck</a></div><div class="ttdeci">INLINE_FUNCTION_HD bool lineSphereCheck(const realx3 pos, real Rad, realx3 &nv, realx3 &cp, real &ovrlp) const</div><div class="ttdef"><b>Definition:</b> <a href="sphereInteraction_2sphereInteraction_2pLine_8hpp_source.html#l00071">pLine.hpp:71</a></div></div>
|
||||
<div class="ttc" id="asphereInteraction_2sphereInteraction_2triWall_8hpp_html"><div class="ttname"><a href="sphereInteraction_2sphereInteraction_2triWall_8hpp.html">triWall.hpp</a></div></div>
|
||||
<div class="ttc" id="aquadrupleFwd_8hpp_html_a6b8bdd44e6ac0d39b65ebd0eef5d4600"><div class="ttname"><a href="quadrupleFwd_8hpp.html#a6b8bdd44e6ac0d39b65ebd0eef5d4600">dot</a></div><div class="ttdeci">INLINE_FUNCTION_HD T dot(const quadruple< T > &oprnd1, const quadruple< T > &oprnd2)</div></div>
|
||||
<div class="ttc" id="atriWall_8hpp_html"><div class="ttname"><a href="triWall_8hpp.html">triWall.hpp</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_a62ab5f54018a48f829abd2cca13d75b2"><div class="ttname"><a href="namespacepFlow.html#a62ab5f54018a48f829abd2cca13d75b2">pFlow::abs</a></div><div class="ttdeci">INLINE_FUNCTION_HD real abs(real x)</div><div class="ttdef"><b>Definition:</b> <a href="math_8hpp_source.html#l00043">math.hpp:43</a></div></div>
|
||||
<div class="ttc" id="aclasspFlow_1_1triple_html_ae40d4cb269d0be9c0d20a9efe0462757"><div class="ttname"><a href="classpFlow_1_1triple.html#ae40d4cb269d0be9c0d20a9efe0462757">pFlow::triple::x_</a></div><div class="ttdeci">T x_</div><div class="ttdef"><b>Definition:</b> <a href="triple_8hpp_source.html#l00049">triple.hpp:49</a></div></div>
|
||||
<div class="ttc" id="astructpFlow_1_1sphTriInteraction_1_1triWall_html_ae81648f19b6bd4ffc0124388911a245e"><div class="ttname"><a href="structpFlow_1_1sphTriInteraction_1_1triWall.html#ae81648f19b6bd4ffc0124388911a245e">pFlow::sphTriInteraction::triWall::normalDistFromWall</a></div><div class="ttdeci">INLINE_FUNCTION_HD real normalDistFromWall(const realx3 &p) const</div><div class="ttdef"><b>Definition:</b> <a href="triWall_8hpp_source.html#l00075">triWall.hpp:75</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="aclasspFlow_1_1triple_html_ae40d4cb269d0be9c0d20a9efe0462757"><div class="ttname"><a href="classpFlow_1_1triple.html#ae40d4cb269d0be9c0d20a9efe0462757">pFlow::triple::x_</a></div><div class="ttdeci">T x_</div><div class="ttdoc">data members</div><div class="ttdef"><b>Definition:</b> <a href="triple_8hpp_source.html#l00049">triple.hpp:49</a></div></div>
|
||||
<div class="ttc" id="anamespacepFlow_html_a11091cf542ebb711e64d680ee05b311c"><div class="ttname"><a href="namespacepFlow.html#a11091cf542ebb711e64d680ee05b311c">pFlow::abs</a></div><div class="ttdeci">Vector< T, Allocator > abs(const Vector< T, Allocator > &v)</div><div class="ttdef"><b>Definition:</b> <a href="VectorMath_8hpp_source.html#l00084">VectorMath.hpp:84</a></div></div>
|
||||
<div class="ttc" id="astructpFlow_1_1sphTriInteraction_1_1triWall_html_ae81648f19b6bd4ffc0124388911a245e"><div class="ttname"><a href="structpFlow_1_1sphTriInteraction_1_1triWall.html#ae81648f19b6bd4ffc0124388911a245e">pFlow::sphTriInteraction::triWall::normalDistFromWall</a></div><div class="ttdeci">INLINE_FUNCTION_HD real normalDistFromWall(const realx3 &p) const</div><div class="ttdef"><b>Definition:</b> <a href="sphereInteraction_2sphereInteraction_2triWall_8hpp_source.html#l00075">triWall.hpp:75</a></div></div>
|
||||
<div class="ttc" id="anamespacepFlow_1_1sphTriInteraction_html_af6a1d7789278c682e1fb1fd02d87ceab"><div class="ttname"><a href="namespacepFlow_1_1sphTriInteraction.html#af6a1d7789278c682e1fb1fd02d87ceab">pFlow::sphTriInteraction::cramerRule2</a></div><div class="ttdeci">INLINE_FUNCTION_HD void cramerRule2(real A[2][2], real B[2], real &x1, real &x2)</div><div class="ttdef"><b>Definition:</b> <a href="sphereTriSurfaceContact_8hpp_source.html#l00062">sphereTriSurfaceContact.hpp:62</a></div></div>
|
||||
<div class="ttc" id="aclasspFlow_1_1triple_html_a644d1b6657ad3f073d95487bdd5d08a9"><div class="ttname"><a href="classpFlow_1_1triple.html#a644d1b6657ad3f073d95487bdd5d08a9">pFlow::triple::y_</a></div><div class="ttdeci">T y_</div><div class="ttdef"><b>Definition:</b> <a href="triple_8hpp_source.html#l00050">triple.hpp:50</a></div></div>
|
||||
<div class="ttc" id="aclasspFlow_1_1triple_html_abdc5fb2fe39f8f2e806479466fbf4141"><div class="ttname"><a href="classpFlow_1_1triple.html#abdc5fb2fe39f8f2e806479466fbf4141">pFlow::triple::z_</a></div><div class="ttdeci">T z_</div><div class="ttdef"><b>Definition:</b> <a href="triple_8hpp_source.html#l00051">triple.hpp:51</a></div></div>
|
||||
<div class="ttc" id="anamespacepFlow_1_1sphTriInteraction_html_ab49a80e55a2a390f7dd57b87b1543074"><div class="ttname"><a href="namespacepFlow_1_1sphTriInteraction.html#ab49a80e55a2a390f7dd57b87b1543074">pFlow::sphTriInteraction::isSphereInContactBothSides</a></div><div class="ttdeci">INLINE_FUNCTION_HD bool isSphereInContactBothSides(const realx3x3 &tri, const realx3 &cntr, real Rad, real &ovrlp, realx3 &norm, realx3 &cp)</div><div class="ttdef"><b>Definition:</b> <a href="sphereTriSurfaceContact_8hpp_source.html#l00172">sphereTriSurfaceContact.hpp:172</a></div></div>
|
||||
<div class="ttc" id="astructpFlow_1_1sphTriInteraction_1_1triWall_html_a9290a304540b21d58d6368b4a486d331"><div class="ttname"><a href="structpFlow_1_1sphTriInteraction_1_1triWall.html#a9290a304540b21d58d6368b4a486d331">pFlow::sphTriInteraction::triWall::nearestPointOnWall</a></div><div class="ttdeci">INLINE_FUNCTION_HD realx3 nearestPointOnWall(const realx3 &p) const</div><div class="ttdef"><b>Definition:</b> <a href="triWall_8hpp_source.html#l00081">triWall.hpp:81</a></div></div>
|
||||
<div class="ttc" id="apFlowMacros_8hpp_html_a8e2f73fa5c113f21c9c9edb67a974f5e"><div class="ttname"><a href="pFlowMacros_8hpp.html#a8e2f73fa5c113f21c9c9edb67a974f5e">INLINE_FUNCTION_HD</a></div><div class="ttdeci">#define INLINE_FUNCTION_HD</div><div class="ttdef"><b>Definition:</b> <a href="pFlowMacros_8hpp_source.html#l00051">pFlowMacros.hpp:51</a></div></div>
|
||||
<div class="ttc" id="astructpFlow_1_1sphTriInteraction_1_1triWall_html_a9290a304540b21d58d6368b4a486d331"><div class="ttname"><a href="structpFlow_1_1sphTriInteraction_1_1triWall.html#a9290a304540b21d58d6368b4a486d331">pFlow::sphTriInteraction::triWall::nearestPointOnWall</a></div><div class="ttdeci">INLINE_FUNCTION_HD realx3 nearestPointOnWall(const realx3 &p) const</div><div class="ttdef"><b>Definition:</b> <a href="sphereInteraction_2sphereInteraction_2triWall_8hpp_source.html#l00081">triWall.hpp:81</a></div></div>
|
||||
<div class="ttc" id="asphereInteraction_2sphereInteraction_2pLine_8hpp_html"><div class="ttname"><a href="sphereInteraction_2sphereInteraction_2pLine_8hpp.html">pLine.hpp</a></div></div>
|
||||
<div class="ttc" id="apFlowMacros_8hpp_html_a8e2f73fa5c113f21c9c9edb67a974f5e"><div class="ttname"><a href="pFlowMacros_8hpp.html#a8e2f73fa5c113f21c9c9edb67a974f5e">INLINE_FUNCTION_HD</a></div><div class="ttdeci">#define INLINE_FUNCTION_HD</div><div class="ttdef"><b>Definition:</b> <a href="pFlowMacros_8hpp_source.html#l00055">pFlowMacros.hpp:55</a></div></div>
|
||||
<div class="ttc" id="aclasspFlow_1_1triple_html"><div class="ttname"><a href="classpFlow_1_1triple.html">pFlow::triple< real ></a></div></div>
|
||||
<div class="ttc" id="apLine_8hpp_html"><div class="ttname"><a href="pLine_8hpp.html">pLine.hpp</a></div></div>
|
||||
<div class="ttc" id="anamespacepFlow_1_1sphTriInteraction_html"><div class="ttname"><a href="namespacepFlow_1_1sphTriInteraction.html">pFlow::sphTriInteraction</a></div><div class="ttdef"><b>Definition:</b> <a href="pLine_8hpp_source.html#l00026">pLine.hpp:26</a></div></div>
|
||||
<div class="ttc" id="anamespacepFlow_1_1sphTriInteraction_html"><div class="ttname"><a href="namespacepFlow_1_1sphTriInteraction.html">pFlow::sphTriInteraction</a></div><div class="ttdef"><b>Definition:</b> <a href="sphereInteraction_2sphereInteraction_2pLine_8hpp_source.html#l00026">pLine.hpp:26</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_7845a75b893e9912b1a2d3b9d9476e0b.html">sphereInteraction</a></li><li class="navelem"><a class="el" href="sphereTriSurfaceContact_8hpp.html">sphereTriSurfaceContact.hpp</a></li>
|
||||
<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_7845a75b893e9912b1a2d3b9d9476e0b.html">sphereInteraction</a></li><li class="navelem"><a class="el" href="dir_090ca80eae8f904be22f875cecc0c880.html">sphereInteraction</a></li><li class="navelem"><a class="el" href="sphereTriSurfaceContact_8hpp.html">sphereTriSurfaceContact.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>
|
||||
|
Reference in New Issue
Block a user