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." >
2025-01-10 13:02:07 +03:30
< title > PhasicFlow: src/phasicFlow/containers/pointField/boundaryField/periodicBoundaryField/periodicBoundaryField.cpp Source File< / title >
2023-03-27 10:16:23 -07:00
< 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 */
2025-01-10 13:02:07 +03:30
$(document).ready(function(){initNavTree('periodicBoundaryField_8cpp_source.html',''); initResizable(); });
2023-03-27 10:16:23 -07:00
/* @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 = "headertitle" >
2025-01-10 13:02:07 +03:30
< div class = "title" > periodicBoundaryField.cpp< / div > < / div >
2023-03-27 10:16:23 -07:00
< / div > <!-- header -->
< div class = "contents" >
2025-01-10 13:02:07 +03:30
< a href = "periodicBoundaryField_8cpp.html" > Go to the documentation of this file.< / a > < div class = "fragment" > < div class = "line" > < a name = "l00001" > < / a > < span class = "lineno" > 1< / span >   < span class = "comment" > /*------------------------------- phasicFlow ---------------------------------< / span > < / div >
2023-03-27 10:16:23 -07:00
< div class = "line" > < a name = "l00002" > < / a > < span class = "lineno" > 2< / span >   < span class = "comment" > O C enter of< / span > < / div >
< div class = "line" > < a name = "l00003" > < / a > < span class = "lineno" > 3< / span >   < span class = "comment" > O O E ngineering and< / span > < / div >
< div class = "line" > < a name = "l00004" > < / a > < span class = "lineno" > 4< / span >   < span class = "comment" > O O M ultiscale modeling of< / span > < / div >
< div class = "line" > < a name = "l00005" > < / a > < span class = "lineno" > 5< / span >   < span class = "comment" > OOOOOOO F luid flow < / span > < / div >
< div class = "line" > < a name = "l00006" > < / a > < span class = "lineno" > 6< / span >   < span class = "comment" > ------------------------------------------------------------------------------< / span > < / div >
< div class = "line" > < a name = "l00007" > < / a > < span class = "lineno" > 7< / span >   < span class = "comment" > Copyright (C): www.cemf.ir< / span > < / div >
< div class = "line" > < a name = "l00008" > < / a > < span class = "lineno" > 8< / span >   < span class = "comment" > email: hamid.r.norouzi AT gmail.com< / span > < / div >
< div class = "line" > < a name = "l00009" > < / a > < span class = "lineno" > 9< / span >   < span class = "comment" > ------------------------------------------------------------------------------ < / span > < / div >
< div class = "line" > < a name = "l00010" > < / a > < span class = "lineno" > 10< / span >   < span class = "comment" > Licence:< / span > < / div >
< div class = "line" > < a name = "l00011" > < / a > < span class = "lineno" > 11< / span >   < span class = "comment" > This file is part of phasicFlow code. It is a free software for simulating < / span > < / div >
< div class = "line" > < a name = "l00012" > < / a > < span class = "lineno" > 12< / span >   < span class = "comment" > granular and multiphase flows. You can redistribute it and/or modify it under< / span > < / div >
< div class = "line" > < a name = "l00013" > < / a > < span class = "lineno" > 13< / span >   < span class = "comment" > the terms of GNU General Public License v3 or any other later versions. < / span > < / div >
< div class = "line" > < a name = "l00014" > < / a > < span class = "lineno" > 14< / span >   < span class = "comment" > < / span > < / div >
< div class = "line" > < a name = "l00015" > < / a > < span class = "lineno" > 15< / span >   < span class = "comment" > phasicFlow is distributed to help others in their research in the field of < / span > < / div >
< div class = "line" > < a name = "l00016" > < / a > < span class = "lineno" > 16< / span >   < span class = "comment" > granular and multiphase flows, but WITHOUT ANY WARRANTY; without even the< / span > < / div >
< div class = "line" > < a name = "l00017" > < / a > < span class = "lineno" > 17< / span >   < span class = "comment" > implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.< / span > < / div >
2025-01-10 13:02:07 +03:30
< div class = "line" > < a name = "l00018" > < / a > < span class = "lineno" > 18< / span >   < span class = "comment" > -----------------------------------------------------------------------------*/< / span > < / div >
< div class = "line" > < a name = "l00019" > < / a > < span class = "lineno" > 19< / span >   < / div >
< div class = "line" > < a name = "l00020" > < / a > < span class = "lineno" > 20< / span >   < span class = "keyword" > template< / span > < < span class = "keyword" > class< / span > T, < span class = "keyword" > class< / span > MemorySpace> < / div >
< div class = "line" > < a name = "l00021" > < / a > < span class = "lineno" > 21< / span >   < a class = "code" href = "classpFlow_1_1periodicBoundaryField.html#afde80263177c8f6dd4c9c2a483c8ca91" > pFlow::periodicBoundaryField< T, MemorySpace> ::periodicBoundaryField< / a > < / div >
< div class = "line" > < a name = "l00022" > < / a > < span class = "lineno" > < a class = "line" href = "classpFlow_1_1periodicBoundaryField.html#afde80263177c8f6dd4c9c2a483c8ca91" > 22< / a > < / span >   (< / div >
< div class = "line" > < a name = "l00023" > < / a > < span class = "lineno" > 23< / span >   < span class = "keyword" > const< / span > < a class = "code" href = "classpFlow_1_1boundaryBase.html" > boundaryBase< / a > & boundary, < / div >
< div class = "line" > < a name = "l00024" > < / a > < span class = "lineno" > 24< / span >   < span class = "keyword" > const< / span > < a class = "code" href = "classpFlow_1_1pointStructure.html" > pointStructure< / a > & < a class = "code" href = "setPointStructure_8hpp.html#a385e32971df44b131e4498181a949a91" > pStruct< / a > ,< / div >
< div class = "line" > < a name = "l00025" > < / a > < span class = "lineno" > 25< / span >   < a class = "code" href = "classpFlow_1_1periodicBoundaryField.html#a472e74c8dde40abadf01daae36af09ac" > InternalFieldType< / a > & < span class = "keyword" > internal< / span > < / div >
< div class = "line" > < a name = "l00026" > < / a > < span class = "lineno" > 26< / 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 >   < a class = "code" href = "classpFlow_1_1boundaryField.html" > BoundaryFieldType< / a > (boundary, < a class = "code" href = "setPointStructure_8hpp.html#a385e32971df44b131e4498181a949a91" > pStruct< / a > , < span class = "keyword" > internal< / span > )< / div >
< div class = "line" > < a name = "l00029" > < / a > < span class = "lineno" > 29< / span >   {< / div >
< div class = "line" > < a name = "l00030" > < / a > < span class = "lineno" > 30< / span >   this-> addEvent(message::BNDR_APPEND)< / div >
< div class = "line" > < a name = "l00031" > < / a > < span class = "lineno" > 31< / span >   .< a class = "code" href = "classpFlow_1_1observer.html#a653c7226b70e6965bf6a79b5e33925ff" > addEvent< / a > (message::BNDR_TRANSFER);< / div >
< div class = "line" > < a name = "l00032" > < / a > < span class = "lineno" > 32< / span >   }< / div >
2023-03-27 10:16:23 -07:00
< / div > <!-- fragment --> < / div > <!-- contents -->
< / div > <!-- doc - content -->
2025-01-10 13:02:07 +03:30
< div class = "ttc" id = "aclasspFlow_1_1boundaryField_html" > < div class = "ttname" > < a href = "classpFlow_1_1boundaryField.html" > pFlow::boundaryField< / a > < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "boundaryField_8hpp_source.html#l00042" > boundaryField.hpp:42< / a > < / div > < / div >
< div class = "ttc" id = "aclasspFlow_1_1periodicBoundaryField_html_afde80263177c8f6dd4c9c2a483c8ca91" > < div class = "ttname" > < a href = "classpFlow_1_1periodicBoundaryField.html#afde80263177c8f6dd4c9c2a483c8ca91" > pFlow::periodicBoundaryField::periodicBoundaryField< / a > < / div > < div class = "ttdeci" > periodicBoundaryField(const boundaryBase & boundary, const pointStructure & pStruct, InternalFieldType & internal)< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "periodicBoundaryField_8cpp_source.html#l00022" > periodicBoundaryField.cpp:22< / a > < / div > < / div >
< div class = "ttc" id = "aclasspFlow_1_1observer_html_a653c7226b70e6965bf6a79b5e33925ff" > < div class = "ttname" > < a href = "classpFlow_1_1observer.html#a653c7226b70e6965bf6a79b5e33925ff" > pFlow::observer::addEvent< / a > < / div > < div class = "ttdeci" > observer & addEvent(message::EVENT event)< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "observer_8cpp_source.html#l00051" > observer.cpp:51< / a > < / div > < / div >
< div class = "ttc" id = "aclasspFlow_1_1pointStructure_html" > < div class = "ttname" > < a href = "classpFlow_1_1pointStructure.html" > pFlow::pointStructure< / a > < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "pointStructure_8hpp_source.html#l00034" > pointStructure.hpp:34< / a > < / div > < / div >
< div class = "ttc" id = "aclasspFlow_1_1boundaryBase_html" > < div class = "ttname" > < a href = "classpFlow_1_1boundaryBase.html" > pFlow::boundaryBase< / a > < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "boundaryBase_8hpp_source.html#l00042" > boundaryBase.hpp:42< / a > < / div > < / div >
< div class = "ttc" id = "asetPointStructure_8hpp_html_a385e32971df44b131e4498181a949a91" > < div class = "ttname" > < a href = "setPointStructure_8hpp.html#a385e32971df44b131e4498181a949a91" > pStruct< / a > < / div > < div class = "ttdeci" > auto & pStruct< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "setPointStructure_8hpp_source.html#l00024" > setPointStructure.hpp:24< / a > < / div > < / div >
< div class = "ttc" id = "aclasspFlow_1_1periodicBoundaryField_html_a472e74c8dde40abadf01daae36af09ac" > < div class = "ttname" > < a href = "classpFlow_1_1periodicBoundaryField.html#a472e74c8dde40abadf01daae36af09ac" > pFlow::periodicBoundaryField::InternalFieldType< / a > < / div > < div class = "ttdeci" > typename BoundaryFieldType::InternalFieldType InternalFieldType< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "periodicBoundaryField_8hpp_source.html#l00039" > periodicBoundaryField.hpp:39< / a > < / div > < / div >
2023-03-27 10:16:23 -07:00
< div id = "nav-path" class = "navpath" > <!-- id is needed for treeview function! -->
< ul >
2025-01-10 13:02:07 +03:30
< li class = "navelem" > < a class = "el" href = "dir_68267d1309a1af8e8297ef4c3efbcdba.html" > src< / a > < / li > < li class = "navelem" > < a class = "el" href = "dir_cd7a5046d028e114fc17b2ebc2bd02d2.html" > phasicFlow< / a > < / li > < li class = "navelem" > < a class = "el" href = "dir_74a3bd5d559eb2469f344a26dc365ad0.html" > containers< / a > < / li > < li class = "navelem" > < a class = "el" href = "dir_e9e787f783a8c65da3b050132fffe244.html" > pointField< / a > < / li > < li class = "navelem" > < a class = "el" href = "dir_a7b5b55055c0d0d8cb35dad4e9ea05cf.html" > boundaryField< / a > < / li > < li class = "navelem" > < a class = "el" href = "dir_444b33e767f70cd859309c12dd95be1c.html" > periodicBoundaryField< / a > < / li > < li class = "navelem" > < a class = "el" href = "periodicBoundaryField_8cpp.html" > periodicBoundaryField.cpp< / a > < / li >
2023-03-27 10:16:23 -07:00
< 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 >