<!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/Particles/GrainParticles/grainShape/grainShape.hpp 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&amp;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&amp;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&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('grainShape_8hpp_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">grainShape.hpp</div>  </div>
</div><!--header-->
<div class="contents">
<a href="grainShape_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*------------------------------- phasicFlow ---------------------------------</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">      O        C enter of</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">     O O       E ngineering and</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">    O   O      M ultiscale modeling of</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">   OOOOOOO     F luid flow       </span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">------------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">  Copyright (C): www.cemf.ir</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">  email: hamid.r.norouzi AT gmail.com</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment">------------------------------------------------------------------------------  </span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">Licence:</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<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>&#160;<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>&#160;<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>&#160;<span class="comment"> </span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<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>&#160;<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>&#160;<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>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment">-----------------------------------------------------------------------------*/</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160; </div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="preprocessor">#ifndef __grainShape_hpp__</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor">#define __grainShape_hpp__</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160; </div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="shape_8hpp.html">shape.hpp</a>&quot;</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160; </div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacepFlow.html">pFlow</a></div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;{</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160; </div>
<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="classpFlow_1_1grainShape.html">   29</a></span>&#160;<span class="keyword">class </span><a class="code" href="classpFlow_1_1grainShape.html">grainShape</a></div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;:</div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;    <span class="keyword">public</span> <a class="code" href="classpFlow_1_1shape.html">shape</a></div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;{</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;    </div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;    <span class="comment">// - diameter of spheres</span></div>
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="classpFlow_1_1grainShape.html#a47fd178b4a31f258fd77a889298e841a">   36</a></span>&#160;    <a class="code" href="classpFlow_1_1Vector.html">realVector</a>          <a class="code" href="classpFlow_1_1grainShape.html#a47fd178b4a31f258fd77a889298e841a">grainDiameters_</a>;</div>
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="classpFlow_1_1grainShape.html#a9de49ff841aab44e5ce8578993e0901f">   37</a></span>&#160;    <a class="code" href="classpFlow_1_1Vector.html">realVector</a>          <a class="code" href="classpFlow_1_1grainShape.html#a9de49ff841aab44e5ce8578993e0901f">sphereDiameters_</a>;</div>
<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="classpFlow_1_1grainShape.html#a09b6256a140d9c3adf757533c73160ce">   38</a></span>&#160;    <a class="code" href="classpFlow_1_1Vector.html">realVector</a>          <a class="code" href="classpFlow_1_1grainShape.html#a09b6256a140d9c3adf757533c73160ce">coarseGrainFactor_</a>;</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160; </div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;    </div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classpFlow_1_1grainShape.html#a50332f1d249adc1de440fce2d0ccc7a9">readFromDictionary3</a>();</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160; </div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160; </div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classpFlow_1_1grainShape.html#a702b7453c51ceb2aa998d3a90565e576">writeToDict</a>(<a class="code" href="classpFlow_1_1dictionary.html">dictionary</a>&amp; <a class="code" href="classpFlow_1_1dictionary.html#a3c48fdd67832443dbef24c124f7512d2">dict</a>)<span class="keyword">const override</span>;</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160; </div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160; </div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;    <span class="comment">// - type info</span></div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;    <a class="code" href="classpFlow_1_1grainShape.html#a0fa7160747e6b6fd06409108fd5b4a8a">TypeInfo</a>(<span class="stringliteral">&quot;shape&lt;grain&gt;&quot;</span>);</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160; </div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;    <a class="code" href="classpFlow_1_1grainShape.html#a2539f68842adb6aa98f464018110274c">grainShape</a>(</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;        <span class="keyword">const</span> <a class="code" href="namespacepFlow.html#a0ebe792a293e8c717bddf60070c0fe99">word</a>&amp; fileName,</div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;        <a class="code" href="classpFlow_1_1repository.html">repository</a>* <a class="code" href="classpFlow_1_1IOobject.html#a09a559f42cef65f7e9b3ce24cfb42905">owner</a>,</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;        <span class="keyword">const</span> <a class="code" href="classpFlow_1_1property.html">property</a>&amp; prop);</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160; </div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;    </div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;    <a class="code" href="classpFlow_1_1grainShape.html#a912061da6f0bdbbb6060d8fe1bc7a3e1">~grainShape</a>() <span class="keyword">override</span> = <span class="keywordflow">default</span>;</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160; </div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160; </div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;    <a class="code" href="namespacepFlow.html#a6192191c0e9c178a44ee1ac350fde476">real</a> <a class="code" href="classpFlow_1_1grainShape.html#abd8ad0f31b56a0e7af8f977ec12dfb26">maxBoundingSphere</a>()<span class="keyword">const override</span>;</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160; </div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;    <a class="code" href="namespacepFlow.html#a6192191c0e9c178a44ee1ac350fde476">real</a> <a class="code" href="classpFlow_1_1grainShape.html#a9ba4486cfd5ecfb38d94c42958994414">minBoundingSphere</a>()<span class="keyword">const override</span>;</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160; </div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classpFlow_1_1grainShape.html#a3f93b616640db9fa3eac6cacac5e92f8">boundingDiameter</a>(<a class="code" href="namespacepFlow.html#abd01e8e67e3d94cab04ecaaf4f85ac1b">uint32</a> index, <a class="code" href="namespacepFlow.html#a6192191c0e9c178a44ee1ac350fde476">real</a>&amp; bDiam)<span class="keyword">const override</span>;</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160; </div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;    <a class="code" href="namespacepFlow.html#a6192191c0e9c178a44ee1ac350fde476">real</a> <a class="code" href="classpFlow_1_1grainShape.html#a3f93b616640db9fa3eac6cacac5e92f8">boundingDiameter</a>(<a class="code" href="namespacepFlow.html#abd01e8e67e3d94cab04ecaaf4f85ac1b">uint32</a> index)<span class="keyword">const override</span>;</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160; </div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;    <a class="code" href="classpFlow_1_1Vector.html">realVector</a> <a class="code" href="classpFlow_1_1grainShape.html#a3f93b616640db9fa3eac6cacac5e92f8">boundingDiameter</a>()<span class="keyword">const override</span>;</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160; </div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;        <a class="code" href="namespacepFlow.html#a6192191c0e9c178a44ee1ac350fde476">real</a> <a class="code" href="classpFlow_1_1grainShape.html#ae4a24fcb67b5bc025ef6d73779441089">coarseGrainFactor</a>(<a class="code" href="namespacepFlow.html#abd01e8e67e3d94cab04ecaaf4f85ac1b">uint32</a> index)<span class="keyword">const</span> ;</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160; </div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;    <a class="code" href="classpFlow_1_1Vector.html">realVector</a> <a class="code" href="classpFlow_1_1grainShape.html#ae4a24fcb67b5bc025ef6d73779441089">coarseGrainFactor</a>()<span class="keyword">const</span> ;</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160; </div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;    <a class="code" href="namespacepFlow.html#a6192191c0e9c178a44ee1ac350fde476">real</a> <a class="code" href="classpFlow_1_1grainShape.html#a7b13facc1df2cf5021294e1d17f2a20f">orginalDiameter</a>(<a class="code" href="namespacepFlow.html#abd01e8e67e3d94cab04ecaaf4f85ac1b">uint32</a> index)<span class="keyword">const</span> ;</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160; </div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;    <a class="code" href="classpFlow_1_1Vector.html">realVector</a> <a class="code" href="classpFlow_1_1grainShape.html#a7b13facc1df2cf5021294e1d17f2a20f">orginalDiameter</a>()<span class="keyword">const</span> ;</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160; </div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classpFlow_1_1grainShape.html#a6c1a7dee6d3a8798e4b205a764e63144">mass</a>(<a class="code" href="namespacepFlow.html#abd01e8e67e3d94cab04ecaaf4f85ac1b">uint32</a> index, <a class="code" href="namespacepFlow.html#a6192191c0e9c178a44ee1ac350fde476">real</a>&amp; <a class="code" href="NBSLoop_8hpp.html#a0ece545b36c74171628b3bd219848edc">m</a>)<span class="keyword">const override</span>;</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160; </div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;    <a class="code" href="namespacepFlow.html#a6192191c0e9c178a44ee1ac350fde476">real</a> <a class="code" href="classpFlow_1_1grainShape.html#a6c1a7dee6d3a8798e4b205a764e63144">mass</a>(<a class="code" href="namespacepFlow.html#abd01e8e67e3d94cab04ecaaf4f85ac1b">uint32</a> index) <span class="keyword">const override</span>;</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160; </div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;    <a class="code" href="classpFlow_1_1Vector.html">realVector</a> <a class="code" href="classpFlow_1_1grainShape.html#a6c1a7dee6d3a8798e4b205a764e63144">mass</a>()<span class="keyword">const override</span>;</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160; </div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;    <a class="code" href="classpFlow_1_1Vector.html">realVector</a> <a class="code" href="classpFlow_1_1grainShape.html#a9d839dbe6684ee7b07900d3995e17eee">density</a>() <span class="keyword">const override</span>;</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160; </div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classpFlow_1_1grainShape.html#aa579f163f2b9d44ef00a2ded590c7dff">Inertia</a>(<a class="code" href="namespacepFlow.html#abd01e8e67e3d94cab04ecaaf4f85ac1b">uint32</a> index, <a class="code" href="namespacepFlow.html#a6192191c0e9c178a44ee1ac350fde476">real</a>&amp; I)<span class="keyword">const override</span>;</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160; </div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;    <a class="code" href="namespacepFlow.html#a6192191c0e9c178a44ee1ac350fde476">real</a> <a class="code" href="classpFlow_1_1grainShape.html#aa579f163f2b9d44ef00a2ded590c7dff">Inertia</a>(<a class="code" href="namespacepFlow.html#abd01e8e67e3d94cab04ecaaf4f85ac1b">uint32</a> index)<span class="keyword">const override</span>;</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160; </div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;    <a class="code" href="classpFlow_1_1Vector.html">realVector</a> <a class="code" href="classpFlow_1_1grainShape.html#aa579f163f2b9d44ef00a2ded590c7dff">Inertia</a>()<span class="keyword">const override</span>;</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;     </div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classpFlow_1_1grainShape.html#ad8e9dba858cb8c300bae08846155ab19">Inertia_xx</a>(<a class="code" href="namespacepFlow.html#abd01e8e67e3d94cab04ecaaf4f85ac1b">uint32</a> index, <a class="code" href="namespacepFlow.html#a6192191c0e9c178a44ee1ac350fde476">real</a>&amp; Ixx)<span class="keyword">const override</span>;</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160; </div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;    <a class="code" href="namespacepFlow.html#a6192191c0e9c178a44ee1ac350fde476">real</a> <a class="code" href="classpFlow_1_1grainShape.html#af054500204cca448a64c8210d0461f92">Inertial_xx</a>(<a class="code" href="namespacepFlow.html#abd01e8e67e3d94cab04ecaaf4f85ac1b">uint32</a> index)<span class="keyword">const override</span>;</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;    </div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classpFlow_1_1grainShape.html#aa66fdfecb2e68df458738156f48bf229">Inertia_yy</a>(<a class="code" href="namespacepFlow.html#abd01e8e67e3d94cab04ecaaf4f85ac1b">uint32</a> index, <a class="code" href="namespacepFlow.html#a6192191c0e9c178a44ee1ac350fde476">real</a>&amp; Iyy)<span class="keyword">const override</span>;</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160; </div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;    <a class="code" href="namespacepFlow.html#a6192191c0e9c178a44ee1ac350fde476">real</a> <a class="code" href="classpFlow_1_1grainShape.html#ab608bda77cadc248472311c8cd845940">Inertial_yy</a>(<a class="code" href="namespacepFlow.html#abd01e8e67e3d94cab04ecaaf4f85ac1b">uint32</a> index)<span class="keyword">const override</span>;</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160; </div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classpFlow_1_1grainShape.html#a15639b647a868e831593324c25a94bec">Inertia_zz</a>(<a class="code" href="namespacepFlow.html#abd01e8e67e3d94cab04ecaaf4f85ac1b">uint32</a> index, <a class="code" href="namespacepFlow.html#a6192191c0e9c178a44ee1ac350fde476">real</a>&amp; Izz)<span class="keyword">const override</span>;</div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160; </div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;    <a class="code" href="namespacepFlow.html#a6192191c0e9c178a44ee1ac350fde476">real</a> <a class="code" href="classpFlow_1_1grainShape.html#adb28135b0954d5d83255c6eb28aeb646">Inertial_zz</a>(<a class="code" href="namespacepFlow.html#abd01e8e67e3d94cab04ecaaf4f85ac1b">uint32</a> index)<span class="keyword">const override</span>;</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160; </div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;};</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160; </div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;} <span class="comment">// pFlow</span></div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160; </div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;<span class="preprocessor">#endif //__grainShape_hpp__</span></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="aclasspFlow_1_1grainShape_html_a702b7453c51ceb2aa998d3a90565e576"><div class="ttname"><a href="classpFlow_1_1grainShape.html#a702b7453c51ceb2aa998d3a90565e576">pFlow::grainShape::writeToDict</a></div><div class="ttdeci">bool writeToDict(dictionary &amp;dict) const override</div><div class="ttdef"><b>Definition:</b> <a href="grainShape_8cpp_source.html#l00051">grainShape.cpp:51</a></div></div>
<div class="ttc" id="anamespacepFlow_html_a6192191c0e9c178a44ee1ac350fde476"><div class="ttname"><a href="namespacepFlow.html#a6192191c0e9c178a44ee1ac350fde476">pFlow::real</a></div><div class="ttdeci">float real</div><div class="ttdef"><b>Definition:</b> <a href="builtinTypes_8hpp_source.html#l00045">builtinTypes.hpp:45</a></div></div>
<div class="ttc" id="ashape_8hpp_html"><div class="ttname"><a href="shape_8hpp.html">shape.hpp</a></div></div>
<div class="ttc" id="aclasspFlow_1_1grainShape_html_a6c1a7dee6d3a8798e4b205a764e63144"><div class="ttname"><a href="classpFlow_1_1grainShape.html#a6c1a7dee6d3a8798e4b205a764e63144">pFlow::grainShape::mass</a></div><div class="ttdeci">realVector mass() const override</div><div class="ttdef"><b>Definition:</b> <a href="grainShape_8cpp_source.html#l00173">grainShape.cpp:173</a></div></div>
<div class="ttc" id="aclasspFlow_1_1grainShape_html_adb28135b0954d5d83255c6eb28aeb646"><div class="ttname"><a href="classpFlow_1_1grainShape.html#adb28135b0954d5d83255c6eb28aeb646">pFlow::grainShape::Inertial_zz</a></div><div class="ttdeci">real Inertial_zz(uint32 index) const override</div><div class="ttdef"><b>Definition:</b> <a href="grainShape_8cpp_source.html#l00239">grainShape.cpp:239</a></div></div>
<div class="ttc" id="anamespacepFlow_html_abd01e8e67e3d94cab04ecaaf4f85ac1b"><div class="ttname"><a href="namespacepFlow.html#abd01e8e67e3d94cab04ecaaf4f85ac1b">pFlow::uint32</a></div><div class="ttdeci">unsigned int uint32</div><div class="ttdef"><b>Definition:</b> <a href="builtinTypes_8hpp_source.html#l00056">builtinTypes.hpp:56</a></div></div>
<div class="ttc" id="aclasspFlow_1_1grainShape_html_ab608bda77cadc248472311c8cd845940"><div class="ttname"><a href="classpFlow_1_1grainShape.html#ab608bda77cadc248472311c8cd845940">pFlow::grainShape::Inertial_yy</a></div><div class="ttdeci">real Inertial_yy(uint32 index) const override</div><div class="ttdef"><b>Definition:</b> <a href="grainShape_8cpp_source.html#l00229">grainShape.cpp:229</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_1grainShape_html_ae4a24fcb67b5bc025ef6d73779441089"><div class="ttname"><a href="classpFlow_1_1grainShape.html#ae4a24fcb67b5bc025ef6d73779441089">pFlow::grainShape::coarseGrainFactor</a></div><div class="ttdeci">realVector coarseGrainFactor() const</div><div class="ttdef"><b>Definition:</b> <a href="grainShape_8cpp_source.html#l00126">grainShape.cpp:126</a></div></div>
<div class="ttc" id="aclasspFlow_1_1grainShape_html_ad8e9dba858cb8c300bae08846155ab19"><div class="ttname"><a href="classpFlow_1_1grainShape.html#ad8e9dba858cb8c300bae08846155ab19">pFlow::grainShape::Inertia_xx</a></div><div class="ttdeci">bool Inertia_xx(uint32 index, real &amp;Ixx) const override</div><div class="ttdef"><b>Definition:</b> <a href="grainShape_8cpp_source.html#l00214">grainShape.cpp:214</a></div></div>
<div class="ttc" id="aclasspFlow_1_1grainShape_html_a7b13facc1df2cf5021294e1d17f2a20f"><div class="ttname"><a href="classpFlow_1_1grainShape.html#a7b13facc1df2cf5021294e1d17f2a20f">pFlow::grainShape::orginalDiameter</a></div><div class="ttdeci">realVector orginalDiameter() const</div><div class="ttdef"><b>Definition:</b> <a href="grainShape_8cpp_source.html#l00145">grainShape.cpp:145</a></div></div>
<div class="ttc" id="anamespacepFlow_html"><div class="ttname"><a href="namespacepFlow.html">pFlow</a></div><div class="ttdef"><b>Definition:</b> <a href="demGeometry_8hpp_source.html#l00027">demGeometry.hpp:27</a></div></div>
<div class="ttc" id="aclasspFlow_1_1grainShape_html_a2539f68842adb6aa98f464018110274c"><div class="ttname"><a href="classpFlow_1_1grainShape.html#a2539f68842adb6aa98f464018110274c">pFlow::grainShape::grainShape</a></div><div class="ttdeci">grainShape(const word &amp;fileName, repository *owner, const property &amp;prop)</div><div class="ttdef"><b>Definition:</b> <a href="grainShape_8cpp_source.html#l00060">grainShape.cpp:60</a></div></div>
<div class="ttc" id="aclasspFlow_1_1grainShape_html_a9d839dbe6684ee7b07900d3995e17eee"><div class="ttname"><a href="classpFlow_1_1grainShape.html#a9d839dbe6684ee7b07900d3995e17eee">pFlow::grainShape::density</a></div><div class="ttdeci">realVector density() const override</div><div class="ttdef"><b>Definition:</b> <a href="grainShape_8cpp_source.html#l00178">grainShape.cpp:178</a></div></div>
<div class="ttc" id="aclasspFlow_1_1grainShape_html_a9de49ff841aab44e5ce8578993e0901f"><div class="ttname"><a href="classpFlow_1_1grainShape.html#a9de49ff841aab44e5ce8578993e0901f">pFlow::grainShape::sphereDiameters_</a></div><div class="ttdeci">realVector sphereDiameters_</div><div class="ttdef"><b>Definition:</b> <a href="grainShape_8hpp_source.html#l00037">grainShape.hpp:37</a></div></div>
<div class="ttc" id="aclasspFlow_1_1grainShape_html_a50332f1d249adc1de440fce2d0ccc7a9"><div class="ttname"><a href="classpFlow_1_1grainShape.html#a50332f1d249adc1de440fce2d0ccc7a9">pFlow::grainShape::readFromDictionary3</a></div><div class="ttdeci">bool readFromDictionary3()</div><div class="ttdef"><b>Definition:</b> <a href="grainShape_8cpp_source.html#l00024">grainShape.cpp:24</a></div></div>
<div class="ttc" id="aclasspFlow_1_1grainShape_html_af054500204cca448a64c8210d0461f92"><div class="ttname"><a href="classpFlow_1_1grainShape.html#af054500204cca448a64c8210d0461f92">pFlow::grainShape::Inertial_xx</a></div><div class="ttdeci">real Inertial_xx(uint32 index) const override</div><div class="ttdef"><b>Definition:</b> <a href="grainShape_8cpp_source.html#l00219">grainShape.cpp:219</a></div></div>
<div class="ttc" id="aclasspFlow_1_1shape_html"><div class="ttname"><a href="classpFlow_1_1shape.html">pFlow::shape</a></div><div class="ttdef"><b>Definition:</b> <a href="shape_8hpp_source.html#l00030">shape.hpp:30</a></div></div>
<div class="ttc" id="aclasspFlow_1_1grainShape_html_a47fd178b4a31f258fd77a889298e841a"><div class="ttname"><a href="classpFlow_1_1grainShape.html#a47fd178b4a31f258fd77a889298e841a">pFlow::grainShape::grainDiameters_</a></div><div class="ttdeci">realVector grainDiameters_</div><div class="ttdef"><b>Definition:</b> <a href="grainShape_8hpp_source.html#l00036">grainShape.hpp:36</a></div></div>
<div class="ttc" id="aclasspFlow_1_1dictionary_html_a3c48fdd67832443dbef24c124f7512d2"><div class="ttname"><a href="classpFlow_1_1dictionary.html#a3c48fdd67832443dbef24c124f7512d2">pFlow::dictionary::dict</a></div><div class="ttdeci">virtual dictionary &amp; dict()</div><div class="ttdoc">ref to this dictionary, if it is a dictionary</div><div class="ttdef"><b>Definition:</b> <a href="dictionary_8cpp_source.html#l00369">dictionary.cpp:369</a></div></div>
<div class="ttc" id="aclasspFlow_1_1grainShape_html_a9ba4486cfd5ecfb38d94c42958994414"><div class="ttname"><a href="classpFlow_1_1grainShape.html#a9ba4486cfd5ecfb38d94c42958994414">pFlow::grainShape::minBoundingSphere</a></div><div class="ttdeci">real minBoundingSphere() const override</div><div class="ttdef"><b>Definition:</b> <a href="grainShape_8cpp_source.html#l00081">grainShape.cpp:81</a></div></div>
<div class="ttc" id="aclasspFlow_1_1grainShape_html_a15639b647a868e831593324c25a94bec"><div class="ttname"><a href="classpFlow_1_1grainShape.html#a15639b647a868e831593324c25a94bec">pFlow::grainShape::Inertia_zz</a></div><div class="ttdeci">bool Inertia_zz(uint32 index, real &amp;Izz) const override</div><div class="ttdef"><b>Definition:</b> <a href="grainShape_8cpp_source.html#l00234">grainShape.cpp:234</a></div></div>
<div class="ttc" id="aclasspFlow_1_1grainShape_html_a912061da6f0bdbbb6060d8fe1bc7a3e1"><div class="ttname"><a href="classpFlow_1_1grainShape.html#a912061da6f0bdbbb6060d8fe1bc7a3e1">pFlow::grainShape::~grainShape</a></div><div class="ttdeci">~grainShape() override=default</div></div>
<div class="ttc" id="aclasspFlow_1_1IOobject_html_a09a559f42cef65f7e9b3ce24cfb42905"><div class="ttname"><a href="classpFlow_1_1IOobject.html#a09a559f42cef65f7e9b3ce24cfb42905">pFlow::IOobject::owner</a></div><div class="ttdeci">const repository * owner() const override</div><div class="ttdef"><b>Definition:</b> <a href="IOobject_8hpp_source.html#l00076">IOobject.hpp:76</a></div></div>
<div class="ttc" id="aclasspFlow_1_1property_html"><div class="ttname"><a href="classpFlow_1_1property.html">pFlow::property</a></div><div class="ttdoc">property holds the pure properties of materials.</div><div class="ttdef"><b>Definition:</b> <a href="property_8hpp_source.html#l00037">property.hpp:37</a></div></div>
<div class="ttc" id="aclasspFlow_1_1grainShape_html_a3f93b616640db9fa3eac6cacac5e92f8"><div class="ttname"><a href="classpFlow_1_1grainShape.html#a3f93b616640db9fa3eac6cacac5e92f8">pFlow::grainShape::boundingDiameter</a></div><div class="ttdeci">realVector boundingDiameter() const override</div><div class="ttdef"><b>Definition:</b> <a href="grainShape_8cpp_source.html#l00108">grainShape.cpp:108</a></div></div>
<div class="ttc" id="aclasspFlow_1_1grainShape_html_aa579f163f2b9d44ef00a2ded590c7dff"><div class="ttname"><a href="classpFlow_1_1grainShape.html#aa579f163f2b9d44ef00a2ded590c7dff">pFlow::grainShape::Inertia</a></div><div class="ttdeci">realVector Inertia() const override</div><div class="ttdef"><b>Definition:</b> <a href="grainShape_8cpp_source.html#l00209">grainShape.cpp:209</a></div></div>
<div class="ttc" id="aclasspFlow_1_1grainShape_html_a0fa7160747e6b6fd06409108fd5b4a8a"><div class="ttname"><a href="classpFlow_1_1grainShape.html#a0fa7160747e6b6fd06409108fd5b4a8a">pFlow::grainShape::TypeInfo</a></div><div class="ttdeci">TypeInfo(&quot;shape&lt;grain&gt;&quot;)</div></div>
<div class="ttc" id="aclasspFlow_1_1grainShape_html_abd8ad0f31b56a0e7af8f977ec12dfb26"><div class="ttname"><a href="classpFlow_1_1grainShape.html#abd8ad0f31b56a0e7af8f977ec12dfb26">pFlow::grainShape::maxBoundingSphere</a></div><div class="ttdeci">real maxBoundingSphere() const override</div><div class="ttdef"><b>Definition:</b> <a href="grainShape_8cpp_source.html#l00076">grainShape.cpp:76</a></div></div>
<div class="ttc" id="aclasspFlow_1_1grainShape_html"><div class="ttname"><a href="classpFlow_1_1grainShape.html">pFlow::grainShape</a></div><div class="ttdef"><b>Definition:</b> <a href="grainShape_8hpp_source.html#l00029">grainShape.hpp:29</a></div></div>
<div class="ttc" id="aclasspFlow_1_1repository_html"><div class="ttname"><a href="classpFlow_1_1repository.html">pFlow::repository</a></div><div class="ttdef"><b>Definition:</b> <a href="repository_8hpp_source.html#l00034">repository.hpp:34</a></div></div>
<div class="ttc" id="aclasspFlow_1_1grainShape_html_aa66fdfecb2e68df458738156f48bf229"><div class="ttname"><a href="classpFlow_1_1grainShape.html#aa66fdfecb2e68df458738156f48bf229">pFlow::grainShape::Inertia_yy</a></div><div class="ttdeci">bool Inertia_yy(uint32 index, real &amp;Iyy) const override</div><div class="ttdef"><b>Definition:</b> <a href="grainShape_8cpp_source.html#l00224">grainShape.cpp:224</a></div></div>
<div class="ttc" id="aclasspFlow_1_1Vector_html"><div class="ttname"><a href="classpFlow_1_1Vector.html">pFlow::Vector&lt; real &gt;</a></div></div>
<div class="ttc" id="aNBSLoop_8hpp_html_a0ece545b36c74171628b3bd219848edc"><div class="ttname"><a href="NBSLoop_8hpp.html#a0ece545b36c74171628b3bd219848edc">m</a></div><div class="ttdeci">uint32 m</div><div class="ttdef"><b>Definition:</b> <a href="NBSLoop_8hpp_source.html#l00022">NBSLoop.hpp:22</a></div></div>
<div class="ttc" id="aclasspFlow_1_1grainShape_html_a09b6256a140d9c3adf757533c73160ce"><div class="ttname"><a href="classpFlow_1_1grainShape.html#a09b6256a140d9c3adf757533c73160ce">pFlow::grainShape::coarseGrainFactor_</a></div><div class="ttdeci">realVector coarseGrainFactor_</div><div class="ttdef"><b>Definition:</b> <a href="grainShape_8hpp_source.html#l00038">grainShape.hpp:38</a></div></div>
<div class="ttc" id="aclasspFlow_1_1dictionary_html"><div class="ttname"><a href="classpFlow_1_1dictionary.html">pFlow::dictionary</a></div><div class="ttdoc">Dictionary holds a set of data entries or sub-dictionaries that are enclosed in a curely braces or ar...</div><div class="ttdef"><b>Definition:</b> <a href="dictionary_8hpp_source.html#l00067">dictionary.hpp:67</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_9e72493e858003bd3d74a55a2aedd075.html">Particles</a></li><li class="navelem"><a class="el" href="dir_235fea78dcb80d617f7ea9245e30dcf9.html">GrainParticles</a></li><li class="navelem"><a class="el" href="dir_a8846d28eecd75790586c0a45a85af0b.html">grainShape</a></li><li class="navelem"><a class="el" href="grainShape_8hpp.html">grainShape.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>