<!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"/> <title>PhasicFlow: pFlow::triSurfaceKernels Namespace 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&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&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&dn=gpl-2.0.txt GPL-v2 */ $(document).ready(function(){initNavTree('namespacepFlow_1_1triSurfaceKernels.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="#func-members">Functions</a> </div> <div class="headertitle"> <div class="title">pFlow::triSurfaceKernels Namespace Reference</div> </div> </div><!--header--> <div class="contents"> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> Functions</h2></td></tr> <tr class="memitem:a6d317544a368345e8af9269185795797"><td class="memItemLeft" align="right" valign="top"><a class="el" href="pFlowMacros_8hpp.html#a542d326bc30e30d52e9deb402759b872">INLINE_FUNCTION_H</a> bool </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacepFlow_1_1triSurfaceKernels.html#a6d317544a368345e8af9269185795797">calculateArea</a> (const <a class="el" href="namespacepFlow.html#aee8ae24174111b9caf1bc31c32fa0744">realx3Field_D</a> &points, const <a class="el" href="namespacepFlow.html#aa75659d80bbbeefc05cfb02480e23907">int32x3Field_D</a> &vertices, <a class="el" href="namespacepFlow.html#af835cf0cfb1ce12cd4ee4a6bcd42b7e9">realField_D</a> &area)</td></tr> <tr class="separator:a6d317544a368345e8af9269185795797"><td class="memSeparator" colspan="2"> </td></tr> </table> <h2 class="groupheader">Function Documentation</h2> <a id="a6d317544a368345e8af9269185795797"></a> <h2 class="memtitle"><span class="permalink"><a href="#a6d317544a368345e8af9269185795797">◆ </a></span>calculateArea()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="pFlowMacros_8hpp.html#a542d326bc30e30d52e9deb402759b872">INLINE_FUNCTION_H</a> bool pFlow::triSurfaceKernels::calculateArea </td> <td>(</td> <td class="paramtype">const <a class="el" href="namespacepFlow.html#aee8ae24174111b9caf1bc31c32fa0744">realx3Field_D</a> & </td> <td class="paramname"><em>points</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="namespacepFlow.html#aa75659d80bbbeefc05cfb02480e23907">int32x3Field_D</a> & </td> <td class="paramname"><em>vertices</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="namespacepFlow.html#af835cf0cfb1ce12cd4ee4a6bcd42b7e9">realField_D</a> & </td> <td class="paramname"><em>area</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="triSurfaceKernels_8hpp_source.html#l00032">32</a> of file <a class="el" href="triSurfaceKernels_8hpp_source.html">triSurfaceKernels.hpp</a>.</p> <p class="reference">References <a class="el" href="VectorSingle_8hpp_source.html#l00297">VectorSingle< T, MemorySpace >::deviceVectorAll()</a>, <a class="el" href="pFlowMacros_8hpp_source.html#l00054">LAMBDA_HD</a>, <a class="el" href="VectorSingle_8hpp_source.html#l00362">VectorSingle< T, MemorySpace >::size()</a>, and <a class="el" href="triangleFunctions_8hpp_source.html#l00030">pFlow::triangleFunctions::triangleSurface()</a>.</p> <p class="reference">Referenced by <a class="el" href="triSurface_8cpp_source.html#l00191">triSurface::readTriSurface()</a>, and <a class="el" href="triSurface_8cpp_source.html#l00123">triSurface::triSurface()</a>.</p> <div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Here is the call graph for this function:</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="namespacepFlow_1_1triSurfaceKernels_a6d317544a368345e8af9269185795797_cgraph.png" border="0" usemap="#namespacepFlow_1_1triSurfaceKernels_a6d317544a368345e8af9269185795797_cgraph" alt=""/></div> <map name="namespacepFlow_1_1triSurfaceKernels_a6d317544a368345e8af9269185795797_cgraph" id="namespacepFlow_1_1triSurfaceKernels_a6d317544a368345e8af9269185795797_cgraph"> <area shape="rect" title=" " alt="" coords="5,78,116,105"/> <area shape="rect" href="classpFlow_1_1VectorSingle.html#a18052bc1ad8ea07ea5b6205321cba10e" title=" " alt="" coords="179,5,329,47"/> <area shape="rect" href="classpFlow_1_1VectorSingle.html#a334c2560412a3bc4fc1c215a77a48337" title=" " alt="" coords="179,71,329,112"/> <area shape="rect" href="namespacepFlow_1_1triangleFunctions.html#a2074ab5b90f47b0ec593414c80923362" title=" " alt="" coords="164,136,344,177"/> </map> </div> <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 caller 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="namespacepFlow_1_1triSurfaceKernels_a6d317544a368345e8af9269185795797_icgraph.png" border="0" usemap="#namespacepFlow_1_1triSurfaceKernels_a6d317544a368345e8af9269185795797_icgraph" alt=""/></div> <map name="namespacepFlow_1_1triSurfaceKernels_a6d317544a368345e8af9269185795797_icgraph" id="namespacepFlow_1_1triSurfaceKernels_a6d317544a368345e8af9269185795797_icgraph"> <area shape="rect" title=" " alt="" coords="192,46,303,73"/> <area shape="rect" href="classpFlow_1_1triSurface.html#a2109c84ebb41bc6ed8945221e833c40d" title=" " alt="" coords="5,5,144,47"/> <area shape="rect" href="classpFlow_1_1triSurface.html#a81b8a340e36296e5d3613bd745a4ec66" title=" " alt="" coords="5,71,144,112"/> </map> </div> </div> </div> </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="namespacepFlow_1_1triSurfaceKernels.html">triSurfaceKernels</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>