2023-03-27 10:16:23 -07:00
<!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" / >
2023-04-23 12:52:57 -07:00
< 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." >
2023-03-27 10:16:23 -07:00
< 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 >
2023-04-02 11:35:43 -07:00
< 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 >
2023-03-27 10:16:23 -07:00
< 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" >
2023-04-14 10:28:41 -07:00
< table cellspacing = "0" >
2023-03-27 10:16:23 -07:00
< tbody >
2023-04-14 10:28:41 -07:00
< tr >
< td id = "projectlogo" > < a href = "https://github.com/PhasicFlow" > < img alt = "Logo" src = "phasicFlow_logo.png" > < / a > < / td >
2023-03-27 10:16:23 -07:00
< 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 >
2023-04-14 10:28:41 -07:00
< tr >
< td id = "projectbrief" >
< a href = "https://https://cemf.ir" > www.cemf.ir< / a >
< / td >
< / tr >
2023-03-27 10:16:23 -07:00
< / 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 >
2025-01-10 13:02:07 +03:30
< tr class = "memitem:a595d3fa281acdc5f6a352b43cc732716" > < 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#a595d3fa281acdc5f6a352b43cc732716" > calculateArea< / a > (const < a class = "el" href = "namespacepFlow.html#a7c910c47fac98a967d343e8994298262" > realx3Field_D< / a > & points, const < a class = "el" href = "namespacepFlow.html#ab5362914a273aa8ff03f209288b636ba" > uint32x3Field_D< / a > & vertices, < a class = "el" href = "namespacepFlow.html#a07696cb4534f44f0531c68c39904d4cf" > realField_D< / a > & area)< / td > < / tr >
< tr class = "separator:a595d3fa281acdc5f6a352b43cc732716" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:aa3910ffec09789599f4e15d186a944cb" > < 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#aa3910ffec09789599f4e15d186a944cb" > calculateNormals< / a > (const < a class = "el" href = "namespacepFlow.html#a7c910c47fac98a967d343e8994298262" > realx3Field_D< / a > & points, const < a class = "el" href = "namespacepFlow.html#ab5362914a273aa8ff03f209288b636ba" > uint32x3Field_D< / a > & vertices, < a class = "el" href = "namespacepFlow.html#a7c910c47fac98a967d343e8994298262" > realx3Field_D< / a > & normals)< / td > < / tr >
< tr class = "separator:aa3910ffec09789599f4e15d186a944cb" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2023-03-27 10:16:23 -07:00
< / table >
< h2 class = "groupheader" > Function Documentation< / h2 >
2025-01-10 13:02:07 +03:30
< a id = "a595d3fa281acdc5f6a352b43cc732716" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a595d3fa281acdc5f6a352b43cc732716" > ◆ < / a > < / span > calculateArea()< / h2 >
2023-03-27 10:16:23 -07:00
< 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 >
2025-01-10 13:02:07 +03:30
< td class = "paramtype" > const < a class = "el" href = "namespacepFlow.html#a7c910c47fac98a967d343e8994298262" > realx3Field_D< / a > &   < / td >
2023-03-27 10:16:23 -07:00
< td class = "paramname" > < em > points< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2025-01-10 13:02:07 +03:30
< td class = "paramtype" > const < a class = "el" href = "namespacepFlow.html#ab5362914a273aa8ff03f209288b636ba" > uint32x3Field_D< / a > &   < / td >
2023-03-27 10:16:23 -07:00
< td class = "paramname" > < em > vertices< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2025-01-10 13:02:07 +03:30
< td class = "paramtype" > < a class = "el" href = "namespacepFlow.html#a07696cb4534f44f0531c68c39904d4cf" > realField_D< / a > &   < / td >
2023-03-27 10:16:23 -07:00
< 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 >
2025-01-10 13:02:07 +03:30
< p class = "reference" > References < a class = "el" href = "VectorSingle_8cpp_source.html#l00249" > VectorSingle< T, MemorySpace > ::deviceViewAll()< / a > , < a class = "el" href = "pFlowMacros_8hpp_source.html#l00058" > LAMBDA_HD< / a > , < a class = "el" href = "VectorSingle_8cpp_source.html#l00297" > VectorSingle< T, MemorySpace > ::size()< / a > , and < a class = "el" href = "triangleFunctions_8hpp_source.html#l00030" > pFlow::triangle::surface()< / a > .< / p >
2023-03-27 10:16:23 -07:00
2025-01-10 13:02:07 +03:30
< p class = "reference" > Referenced by < a class = "el" href = "triSurface_8cpp_source.html#l00115" > triSurface::calculateArea()< / a > , and < a class = "el" href = "triSurface_8cpp_source.html#l00257" > triSurface::read()< / a > .< / p >
2023-04-02 14:53:54 -07:00
< 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;" >
2025-01-10 13:02:07 +03:30
< div class = "center" > < img src = "namespacepFlow_1_1triSurfaceKernels_a595d3fa281acdc5f6a352b43cc732716_cgraph.png" border = "0" usemap = "#namespacepFlow_1_1triSurfaceKernels_a595d3fa281acdc5f6a352b43cc732716_cgraph" alt = "" / > < / div >
2023-03-27 10:16:23 -07:00
< / div >
2023-04-02 14:53:54 -07:00
< 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;" >
2025-01-10 13:02:07 +03:30
< div class = "center" > < img src = "namespacepFlow_1_1triSurfaceKernels_a595d3fa281acdc5f6a352b43cc732716_icgraph.png" border = "0" usemap = "#namespacepFlow_1_1triSurfaceKernels_a595d3fa281acdc5f6a352b43cc732716_icgraph" alt = "" / > < / div >
< / div >
< / div >
< / div >
< a id = "aa3910ffec09789599f4e15d186a944cb" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#aa3910ffec09789599f4e15d186a944cb" > ◆ < / a > < / span > calculateNormals()< / 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::calculateNormals < / td >
< td > (< / td >
< td class = "paramtype" > const < a class = "el" href = "namespacepFlow.html#a7c910c47fac98a967d343e8994298262" > 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#ab5362914a273aa8ff03f209288b636ba" > uint32x3Field_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#a7c910c47fac98a967d343e8994298262" > realx3Field_D< / a > &   < / td >
< td class = "paramname" > < em > normals< / 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#l00057" > 57< / a > of file < a class = "el" href = "triSurfaceKernels_8hpp_source.html" > triSurfaceKernels.hpp< / a > .< / p >
< p class = "reference" > References < a class = "el" href = "VectorSingle_8cpp_source.html#l00249" > VectorSingle< T, MemorySpace > ::deviceViewAll()< / a > , < a class = "el" href = "pFlowMacros_8hpp_source.html#l00058" > LAMBDA_HD< / a > , < a class = "el" href = "triangleFunctions_8hpp_source.html#l00038" > pFlow::triangle::normal()< / a > , and < a class = "el" href = "VectorSingle_8cpp_source.html#l00297" > VectorSingle< T, MemorySpace > ::size()< / a > .< / p >
< p class = "reference" > Referenced by < a class = "el" href = "triSurface_8cpp_source.html#l00107" > triSurface::calculateNormals()< / a > , < a class = "el" href = "geometryMotion_8cpp_source.html#l00204" > geometryMotion< MotionModelType > ::iterate()< / a > , and < a class = "el" href = "triSurface_8cpp_source.html#l00257" > triSurface::read()< / 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 = "namespacepFlow_1_1triSurfaceKernels_aa3910ffec09789599f4e15d186a944cb_cgraph.png" border = "0" usemap = "#namespacepFlow_1_1triSurfaceKernels_aa3910ffec09789599f4e15d186a944cb_cgraph" alt = "" / > < / div >
< / div >
< div id = "dynsection-3" onclick = "return toggleVisibility(this)" class = "dynheader closed" style = "cursor:pointer;" >
< img id = "dynsection-3-trigger" src = "closed.png" alt = "+" / > Here is the caller graph for this function:< / div >
< div id = "dynsection-3-summary" class = "dynsummary" style = "display:block;" >
< / div >
< div id = "dynsection-3-content" class = "dyncontent" style = "display:none;" >
< div class = "center" > < img src = "namespacepFlow_1_1triSurfaceKernels_aa3910ffec09789599f4e15d186a944cb_icgraph.png" border = "0" usemap = "#namespacepFlow_1_1triSurfaceKernels_aa3910ffec09789599f4e15d186a944cb_icgraph" alt = "" / > < / div >
2023-03-27 10:16:23 -07:00
< / 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 >