175 lines
17 KiB
HTML
175 lines
17 KiB
HTML
<!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"/>
|
|
<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/phasicFlow/containers/pointField/boundaryField/generalBoundary/generalBoundary.cpp 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>
|
|
<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('generalBoundary_8cpp_source.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="headertitle">
|
|
<div class="title">generalBoundary.cpp</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<a href="generalBoundary_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>
|
|
<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>
|
|
<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> <span class="comment">-----------------------------------------------------------------------------*/</span></div>
|
|
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  </div>
|
|
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#include "<a class="code" href="generalBoundary_8hpp.html">generalBoundary.hpp</a>"</span></div>
|
|
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#include "<a class="code" href="pointStructure_8hpp.html">pointStructure.hpp</a>"</span></div>
|
|
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  </div>
|
|
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <a class="code" href="classpFlow_1_1generalBoundary.html#aea1e620b5faeaefc30234a91d77912f9">pFlow::generalBoundary::generalBoundary</a></div>
|
|
<div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="classpFlow_1_1generalBoundary.html#aea1e620b5faeaefc30234a91d77912f9"> 25</a></span> (</div>
|
|
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  <span class="keyword">const</span> <a class="code" href="classpFlow_1_1boundaryBase.html">boundaryBase</a>& boundary,</div>
|
|
<div class="line"><a name="l00027"></a><span class="lineno"> 27</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="l00028"></a><span class="lineno"> 28</span>  <span class="keyword">const</span> <a class="code" href="namespacepFlow.html#a0ebe792a293e8c717bddf60070c0fe99">word</a>& dataType,</div>
|
|
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  <span class="keyword">const</span> <a class="code" href="namespacepFlow.html#a0ebe792a293e8c717bddf60070c0fe99">word</a>& option</div>
|
|
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> )</div>
|
|
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> :</div>
|
|
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  <a class="code" href="classpFlow_1_1observer.html">observer</a>(&boundary, defaultMessage_),</div>
|
|
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  boundary_(boundary),</div>
|
|
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  pStruct_(<a class="code" href="setPointStructure_8hpp.html#a385e32971df44b131e4498181a949a91">pStruct</a>),</div>
|
|
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  isBoundaryMaster_(boundary.<a class="code" href="classpFlow_1_1boundaryBase.html#a9843c92404fb6e1b937fed4284594444">isBoundaryMaster</a>())</div>
|
|
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> {}</div>
|
|
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  </div>
|
|
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  </div>
|
|
<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="classpFlow_1_1generalBoundary.html#a81de2f7ea60c45819e4c682744c720f6"> 39</a></span> <a class="code" href="classpFlow_1_1Time.html">pFlow::Time</a> <span class="keyword">const</span>& <a class="code" href="classpFlow_1_1generalBoundary.html#a81de2f7ea60c45819e4c682744c720f6">pFlow::generalBoundary::time</a>()<span class="keyword"> const</span></div>
|
|
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="keyword"></span>{</div>
|
|
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <span class="keywordflow">return</span> <a class="code" href="classpFlow_1_1generalBoundary.html#a5c62d7bde0e3c333317fabe4b8806bef">pStruct_</a>.<a class="code" href="classpFlow_1_1pointStructure.html#ac469007fdaaadba509bda15a90e450d5">time</a>();</div>
|
|
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> }</div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
</div><!-- doc-content -->
|
|
<div class="ttc" id="aclasspFlow_1_1observer_html"><div class="ttname"><a href="classpFlow_1_1observer.html">pFlow::observer</a></div><div class="ttdef"><b>Definition:</b> <a href="observer_8hpp_source.html#l00033">observer.hpp:33</a></div></div>
|
|
<div class="ttc" id="aclasspFlow_1_1generalBoundary_html_aea1e620b5faeaefc30234a91d77912f9"><div class="ttname"><a href="classpFlow_1_1generalBoundary.html#aea1e620b5faeaefc30234a91d77912f9">pFlow::generalBoundary::generalBoundary</a></div><div class="ttdeci">generalBoundary(const boundaryBase &boundary, const pointStructure &pStruct, const word &dataType, const word &option)</div><div class="ttdef"><b>Definition:</b> <a href="generalBoundary_8cpp_source.html#l00025">generalBoundary.cpp:25</a></div></div>
|
|
<div class="ttc" id="aclasspFlow_1_1pointStructure_html_ac469007fdaaadba509bda15a90e450d5"><div class="ttname"><a href="classpFlow_1_1pointStructure.html#ac469007fdaaadba509bda15a90e450d5">pFlow::pointStructure::time</a></div><div class="ttdeci">Time & time() override</div><div class="ttdef"><b>Definition:</b> <a href="pointStructure_8hpp_source.html#l00128">pointStructure.hpp:128</a></div></div>
|
|
<div class="ttc" id="anamespacepFlow_html_a0ebe792a293e8c717bddf60070c0fe99"><div class="ttname"><a href="namespacepFlow.html#a0ebe792a293e8c717bddf60070c0fe99">pFlow::word</a></div><div class="ttdeci">std::string word</div><div class="ttdef"><b>Definition:</b> <a href="builtinTypes_8hpp_source.html#l00064">builtinTypes.hpp:64</a></div></div>
|
|
<div class="ttc" id="aclasspFlow_1_1generalBoundary_html_a5c62d7bde0e3c333317fabe4b8806bef"><div class="ttname"><a href="classpFlow_1_1generalBoundary.html#a5c62d7bde0e3c333317fabe4b8806bef">pFlow::generalBoundary::pStruct_</a></div><div class="ttdeci">const pointStructure & pStruct_</div><div class="ttdef"><b>Definition:</b> <a href="generalBoundary_8hpp_source.html#l00046">generalBoundary.hpp:46</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_1generalBoundary_html_a81de2f7ea60c45819e4c682744c720f6"><div class="ttname"><a href="classpFlow_1_1generalBoundary.html#a81de2f7ea60c45819e4c682744c720f6">pFlow::generalBoundary::time</a></div><div class="ttdeci">const Time & time() const</div><div class="ttdef"><b>Definition:</b> <a href="generalBoundary_8cpp_source.html#l00039">generalBoundary.cpp:39</a></div></div>
|
|
<div class="ttc" id="aclasspFlow_1_1boundaryBase_html_a9843c92404fb6e1b937fed4284594444"><div class="ttname"><a href="classpFlow_1_1boundaryBase.html#a9843c92404fb6e1b937fed4284594444">pFlow::boundaryBase::isBoundaryMaster</a></div><div class="ttdeci">bool isBoundaryMaster() const</div><div class="ttdef"><b>Definition:</b> <a href="boundaryBase_8hpp_source.html#l00294">boundaryBase.hpp:294</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="ageneralBoundary_8hpp_html"><div class="ttname"><a href="generalBoundary_8hpp.html">generalBoundary.hpp</a></div></div>
|
|
<div class="ttc" id="apointStructure_8hpp_html"><div class="ttname"><a href="pointStructure_8hpp.html">pointStructure.hpp</a></div></div>
|
|
<div class="ttc" id="aclasspFlow_1_1Time_html"><div class="ttname"><a href="classpFlow_1_1Time.html">pFlow::Time</a></div><div class="ttdef"><b>Definition:</b> <a href="Time_8hpp_source.html#l00037">Time.hpp:37</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_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_f4450da4fa4010959311f8968f680ebb.html">generalBoundary</a></li><li class="navelem"><a class="el" href="generalBoundary_8cpp.html">generalBoundary.cpp</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>
|