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: src/MotionModel/entities/rotatingAxis/rotatingAxisFwd.hpp File 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('rotatingAxisFwd_8hpp.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" > rotatingAxisFwd.hpp File Reference< / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
2023-04-02 14:53:54 -07:00
< div class = "textblock" > < div id = "dynsection-0" onclick = "return toggleVisibility(this)" class = "dynheader closed" style = "cursor:pointer;" >
< img id = "dynsection-0-trigger" src = "closed.png" alt = "+" / > This graph shows which files directly or indirectly include this file:< / div >
< div id = "dynsection-0-summary" class = "dynsummary" style = "display:block;" >
< / div >
< div id = "dynsection-0-content" class = "dyncontent" style = "display:none;" >
2023-03-27 10:16:23 -07:00
< div class = "center" > < img src = "rotatingAxisFwd_8hpp__dep__incl.png" border = "0" usemap = "#src_2MotionModel_2entities_2rotatingAxis_2rotatingAxisFwd_8hppdep" alt = "" / > < / div >
< map name = "src_2MotionModel_2entities_2rotatingAxis_2rotatingAxisFwd_8hppdep" id = "src_2MotionModel_2entities_2rotatingAxis_2rotatingAxisFwd_8hppdep" >
< area shape = "rect" title = " " alt = "" coords = "5,5,248,47" / >
< area shape = "rect" href = "rotatingAxis_8hpp.html" title = " " alt = "" coords = "19,95,235,136" / >
< / map >
< / div >
< / div >
< p > < a href = "rotatingAxisFwd_8hpp_source.html" > Go to the source code of this file.< / a > < / p >
< table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "func-members" > < / a >
Functions< / h2 > < / td > < / tr >
< tr class = "memitem:a2a2904c6b466578f9847a75205e7c648" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "pFlowMacros_8hpp.html#a8e2f73fa5c113f21c9c9edb67a974f5e" > INLINE_FUNCTION_HD< / a > realx3  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "rotatingAxisFwd_8hpp.html#a2a2904c6b466578f9847a75205e7c648" > rotate< / a > (const realx3 & p, const line & ln, real theta)< / td > < / tr >
< tr class = "separator:a2a2904c6b466578f9847a75205e7c648" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a3b8a697154394dac01670585470ec6d4" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "pFlowMacros_8hpp.html#a8e2f73fa5c113f21c9c9edb67a974f5e" > INLINE_FUNCTION_HD< / a > realx3  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "rotatingAxisFwd_8hpp.html#a3b8a697154394dac01670585470ec6d4" > rotate< / a > (const realx3 & p, const rotatingAxis & ax, real dt)< / td > < / tr >
< tr class = "separator:a3b8a697154394dac01670585470ec6d4" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:adff6cfe6226fe601f06394a1814ff0ea" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "pFlowMacros_8hpp.html#a8e2f73fa5c113f21c9c9edb67a974f5e" > INLINE_FUNCTION_HD< / a > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "rotatingAxisFwd_8hpp.html#adff6cfe6226fe601f06394a1814ff0ea" > rotate< / a > (realx3 *p, size_t < a class = "el" href = "NBSLoop_8hpp.html#aad8b608072a1b6dcd9e91de38ee2925f" > n< / a > , const line & ln, real theta)< / td > < / tr >
< tr class = "separator:adff6cfe6226fe601f06394a1814ff0ea" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a532451420d5cfe743d8eba693265b7a7" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "pFlowMacros_8hpp.html#a8e2f73fa5c113f21c9c9edb67a974f5e" > INLINE_FUNCTION_HD< / a > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "rotatingAxisFwd_8hpp.html#a532451420d5cfe743d8eba693265b7a7" > rotate< / a > (realx3 *p, size_t < a class = "el" href = "NBSLoop_8hpp.html#aad8b608072a1b6dcd9e91de38ee2925f" > n< / a > , const rotatingAxis & ax, real dt)< / td > < / tr >
< tr class = "separator:a532451420d5cfe743d8eba693265b7a7" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table >
< h2 class = "groupheader" > Function Documentation< / h2 >
< a id = "a2a2904c6b466578f9847a75205e7c648" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a2a2904c6b466578f9847a75205e7c648" > ◆ < / a > < / span > rotate() < span class = "overload" > [1/4]< / span > < / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > < a class = "el" href = "pFlowMacros_8hpp.html#a8e2f73fa5c113f21c9c9edb67a974f5e" > INLINE_FUNCTION_HD< / a > realx3 rotate < / td >
< td > (< / td >
< td class = "paramtype" > const realx3 &   < / td >
< td class = "paramname" > < em > p< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > const line &   < / td >
< td class = "paramname" > < em > ln< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > real  < / td >
< td class = "paramname" > < em > theta< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2023-04-02 11:35:43 -07:00
< p class = "reference" > Referenced by < a class = "el" href = "rotatingAxisMotion_8hpp_source.html#l00108" > rotatingAxisMotion::Model::transferPoint()< / a > , and < a class = "el" href = "multiRotatingAxis_8hpp_source.html#l00135" > multiRotatingAxis::transferPoint()< / a > .< / p >
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;" >
2023-03-27 10:16:23 -07:00
< div class = "center" > < img src = "rotatingAxisFwd_8hpp_a2a2904c6b466578f9847a75205e7c648_icgraph.png" border = "0" usemap = "#rotatingAxisFwd_8hpp_a2a2904c6b466578f9847a75205e7c648_icgraph" alt = "" / > < / div >
< map name = "rotatingAxisFwd_8hpp_a2a2904c6b466578f9847a75205e7c648_icgraph" id = "rotatingAxisFwd_8hpp_a2a2904c6b466578f9847a75205e7c648_icgraph" >
< area shape = "rect" title = " " alt = "" coords = "245,46,307,73" / >
< area shape = "rect" href = "classpFlow_1_1rotatingAxisMotion_1_1Model.html#a116927621b80b5ed0a1ff95e376963a8" title = " " alt = "" coords = "5,5,197,47" / >
2023-04-02 11:35:43 -07:00
< area shape = "rect" href = "classpFlow_1_1multiRotatingAxis.html#a56d51bacf319278cac71727b57b95c36" title = "Translate point p for dt seconds based on the axis information." alt = "" coords = "9,71,194,112" / >
2023-03-27 10:16:23 -07:00
< / map >
< / div >
< / div >
< / div >
< a id = "a3b8a697154394dac01670585470ec6d4" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a3b8a697154394dac01670585470ec6d4" > ◆ < / a > < / span > rotate() < span class = "overload" > [2/4]< / span > < / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > < a class = "el" href = "pFlowMacros_8hpp.html#a8e2f73fa5c113f21c9c9edb67a974f5e" > INLINE_FUNCTION_HD< / a > realx3 rotate < / td >
< td > (< / td >
< td class = "paramtype" > const realx3 &   < / td >
< td class = "paramname" > < em > p< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > const rotatingAxis &   < / td >
< td class = "paramname" > < em > ax< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > real  < / td >
< td class = "paramname" > < em > dt< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
< a id = "adff6cfe6226fe601f06394a1814ff0ea" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#adff6cfe6226fe601f06394a1814ff0ea" > ◆ < / a > < / span > rotate() < span class = "overload" > [3/4]< / span > < / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > < a class = "el" href = "pFlowMacros_8hpp.html#a8e2f73fa5c113f21c9c9edb67a974f5e" > INLINE_FUNCTION_HD< / a > void rotate < / td >
< td > (< / td >
< td class = "paramtype" > realx3 *  < / td >
< td class = "paramname" > < em > p< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > size_t  < / td >
< td class = "paramname" > < em > n< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > const line &   < / td >
< td class = "paramname" > < em > ln< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > real  < / td >
< td class = "paramname" > < em > theta< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
< a id = "a532451420d5cfe743d8eba693265b7a7" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a532451420d5cfe743d8eba693265b7a7" > ◆ < / a > < / span > rotate() < span class = "overload" > [4/4]< / span > < / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > < a class = "el" href = "pFlowMacros_8hpp.html#a8e2f73fa5c113f21c9c9edb67a974f5e" > INLINE_FUNCTION_HD< / a > void rotate < / td >
< td > (< / td >
< td class = "paramtype" > realx3 *  < / td >
< td class = "paramname" > < em > p< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > size_t  < / td >
< td class = "paramname" > < em > n< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > const rotatingAxis &   < / td >
< td class = "paramname" > < em > ax< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > real  < / td >
< td class = "paramname" > < em > dt< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / 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 = "dir_68267d1309a1af8e8297ef4c3efbcdba.html" > src< / a > < / li > < li class = "navelem" > < a class = "el" href = "dir_47ec108d6cccce3c0382fd3240a6cec7.html" > MotionModel< / a > < / li > < li class = "navelem" > < a class = "el" href = "dir_dfffb364e858dce2ad53d04d398ac8d4.html" > entities< / a > < / li > < li class = "navelem" > < a class = "el" href = "dir_fda176289ce41868031c9232b51f0444.html" > rotatingAxis< / a > < / li > < li class = "navelem" > < a class = "el" href = "rotatingAxisFwd_8hpp.html" > rotatingAxisFwd.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 >
< / ul >
< / div >
< / body >
< / html >