phasicFlow/doc/code-documentation/html/sphereShape_8hpp_source.html

330 lines
50 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"/>
<title>PhasicFlow: src/Particles/SphereParticles/sphereShape/sphereShape.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>
<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" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname"><a href="https://cemf.ir">PhasicFlow</a>
&#160;<span id="projectnumber"><a href="https://cemf.ir">v0.1</a></span>
</div>
<div id="projectbrief"><a href="www.github.com/PhasicFlow">www.cemf.ir</a></div>
</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>
</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('sphereShape_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">sphereShape.hpp</div> </div>
</div><!--header-->
<div class="contents">
<a href="sphereShape_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 __sphereShape_hpp__</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="preprocessor">#define __sphereShape_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="Vectors_8hpp.html">Vectors.hpp</a>&quot;</span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="hashMap_8hpp.html">hashMap.hpp</a>&quot;</span></div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160; </div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacepFlow.html">pFlow</a></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"> 29</span>&#160; </div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="keyword">class </span>dictionary;</div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; </div>
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="classpFlow_1_1sphereShape.html"> 32</a></span>&#160;<span class="keyword">class </span><a class="code" href="classpFlow_1_1sphereShape.html">sphereShape</a></div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;{</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; </div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; <span class="comment">// - diameter of spheres</span></div>
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="classpFlow_1_1sphereShape.html#ad3d10a8bc8ebc47c0d3f5c316e7930cd"> 37</a></span>&#160; <a class="code" href="classpFlow_1_1Vector.html">realVector</a> <a class="code" href="classpFlow_1_1sphereShape.html#ad3d10a8bc8ebc47c0d3f5c316e7930cd">diameters_</a>;</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; </div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; <span class="comment">// - property name of spheres</span></div>
<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="classpFlow_1_1sphereShape.html#a437403f7d71404549fdfc4fc1825cff2"> 40</a></span>&#160; <a class="code" href="classpFlow_1_1Vector.html">wordVector</a> <a class="code" href="classpFlow_1_1sphereShape.html#a437403f7d71404549fdfc4fc1825cff2">materials_</a>;</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; </div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; <span class="comment">// - hashed list of spheres names</span></div>
<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="classpFlow_1_1sphereShape.html#a670b90cfd83bd7b5a1e05d3205aca8e5"> 43</a></span>&#160; <a class="code" href="classpFlow_1_1hashMap.html">wordHashMap&lt;uint32&gt;</a> <a class="code" href="classpFlow_1_1sphereShape.html#a670b90cfd83bd7b5a1e05d3205aca8e5">names_</a>;</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"><a class="line" href="classpFlow_1_1sphereShape.html#a368736b45751f12dc2ad6263428d68b6"> 45</a></span>&#160; <span class="keywordtype">size_t</span> <a class="code" href="classpFlow_1_1sphereShape.html#a368736b45751f12dc2ad6263428d68b6">numShapes_</a>;</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; </div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classpFlow_1_1sphereShape.html#aa4bf56a0baa8e23b866f1e7e45b142b6">insertNames</a>(<span class="keyword">const</span> <a class="code" href="classpFlow_1_1Vector.html">wordVector</a>&amp; <a class="code" href="classpFlow_1_1sphereShape.html#a76f0ffb3989366237b161539fe34cf86">names</a>);</div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; </div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classpFlow_1_1sphereShape.html#a3ee94dd32f4df1490653290d2919dc52">readDictionary</a>(<span class="keyword">const</span> <a class="code" href="classpFlow_1_1dictionary.html">dictionary</a>&amp; dict);</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; <span class="keywordtype">bool</span> <a class="code" href="classpFlow_1_1sphereShape.html#ad55987c0647186d3e7acad9cc4166034">writeDictionary</a>(<a class="code" href="classpFlow_1_1dictionary.html">dictionary</a>&amp; dict)<span class="keyword">const</span>;</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; </div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; </div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; <span class="comment">// - type info</span></div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; <a class="code" href="classpFlow_1_1sphereShape.html#a52e240ee225fc89a5673c678fd942d9a">TypeInfoNV</a>(<span class="stringliteral">&quot;sphereShape&quot;</span>);</div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; </div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; </div>
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="classpFlow_1_1sphereShape.html#a5ff3b9c9e439388497056ffbc8fd27f5"> 60</a></span>&#160; <a class="code" href="classpFlow_1_1sphereShape.html#a5ff3b9c9e439388497056ffbc8fd27f5">sphereShape</a>(){}</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="classpFlow_1_1sphereShape.html#a5ff3b9c9e439388497056ffbc8fd27f5">sphereShape</a>(</div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; <span class="keyword">const</span> <a class="code" href="classpFlow_1_1Vector.html">realVector</a>&amp; <a class="code" href="classpFlow_1_1sphereShape.html#a641827da52ccdc9dafd4a095865bb3c2">diameter</a>,</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; <span class="keyword">const</span> <a class="code" href="classpFlow_1_1Vector.html">wordVector</a>&amp; <a class="code" href="classpFlow_1_1property.html">property</a>,</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; <span class="keyword">const</span> <a class="code" href="classpFlow_1_1Vector.html">wordVector</a>&amp; name</div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; );</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="classpFlow_1_1sphereShape.html#a5ff3b9c9e439388497056ffbc8fd27f5">sphereShape</a>(<span class="keyword">const</span> <a class="code" href="classpFlow_1_1sphereShape.html">sphereShape</a>&amp;) = <span class="keywordflow">default</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_1sphereShape.html#a5ff3b9c9e439388497056ffbc8fd27f5">sphereShape</a>(<a class="code" href="classpFlow_1_1sphereShape.html">sphereShape</a>&amp;&amp;) = <span class="keywordflow">default</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="classpFlow_1_1sphereShape.html">sphereShape</a>&amp; <a class="code" href="classpFlow_1_1sphereShape.html#a7a50eacde84380a040e225c5964be8d2">operator=</a>(<span class="keyword">const</span> <a class="code" href="classpFlow_1_1sphereShape.html">sphereShape</a>&amp;) = <span class="keywordflow">default</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_1sphereShape.html">sphereShape</a>&amp; <a class="code" href="classpFlow_1_1sphereShape.html#a7a50eacde84380a040e225c5964be8d2">operator=</a>(<a class="code" href="classpFlow_1_1sphereShape.html">sphereShape</a>&amp;&amp;) = <span class="keywordflow">default</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"><a class="line" href="classpFlow_1_1sphereShape.html#acc863d85d662202ba8b08e691372887b"> 76</a></span>&#160; <span class="keyword">auto</span> <a class="code" href="classpFlow_1_1sphereShape.html#acc863d85d662202ba8b08e691372887b">clone</a>()<span class="keyword">const</span></div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160;<span class="keyword"> </span>{</div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; <span class="keywordflow">return</span> makeUnique&lt;sphereShape&gt;(*<span class="keyword">this</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; </div>
<div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="classpFlow_1_1sphereShape.html#a3233d185c2c9fb4b8d1666ce492cc247"> 81</a></span>&#160; <a class="code" href="classpFlow_1_1sphereShape.html">sphereShape</a>* <a class="code" href="classpFlow_1_1sphereShape.html#a3233d185c2c9fb4b8d1666ce492cc247">clonePtr</a>()<span class="keyword">const</span></div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160;<span class="keyword"> </span>{</div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="classpFlow_1_1sphereShape.html#a5ff3b9c9e439388497056ffbc8fd27f5">sphereShape</a>(*<span class="keyword">this</span>);</div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; }</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_1sphereShape.html#a5453e20e113ca0574ed07a2cca754faf">~sphereShape</a>() = <span class="keywordflow">default</span>;</div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; </div>
<div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="classpFlow_1_1sphereShape.html#a76f0ffb3989366237b161539fe34cf86"> 89</a></span>&#160; <span class="keyword">const</span> <span class="keyword">auto</span>&amp; <a class="code" href="classpFlow_1_1sphereShape.html#a76f0ffb3989366237b161539fe34cf86">names</a>()<span class="keyword">const</span>{</div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classpFlow_1_1sphereShape.html#a670b90cfd83bd7b5a1e05d3205aca8e5">names_</a>;</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; </div>
<div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="classpFlow_1_1sphereShape.html#acbc910d82de36a5793389913110e3068"> 93</a></span>&#160; <span class="keyword">const</span> <span class="keyword">auto</span>&amp; <a class="code" href="classpFlow_1_1sphereShape.html#acbc910d82de36a5793389913110e3068">diameters</a>()<span class="keyword">const</span>{</div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classpFlow_1_1sphereShape.html#ad3d10a8bc8ebc47c0d3f5c316e7930cd">diameters_</a>;</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; </div>
<div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="classpFlow_1_1sphereShape.html#aaeda027258dc1f7b8d1af3a482a2367a"> 97</a></span>&#160; <span class="keyword">const</span> <span class="keyword">auto</span>&amp; <a class="code" href="classpFlow_1_1sphereShape.html#aaeda027258dc1f7b8d1af3a482a2367a">materials</a>()<span class="keyword">const</span>{</div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classpFlow_1_1sphereShape.html#a437403f7d71404549fdfc4fc1825cff2">materials_</a>;</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; </div>
<div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="classpFlow_1_1sphereShape.html#a641827da52ccdc9dafd4a095865bb3c2"> 101</a></span>&#160; <span class="keyword">const</span> <span class="keyword">auto</span> <a class="code" href="classpFlow_1_1sphereShape.html#a641827da52ccdc9dafd4a095865bb3c2">diameter</a>(<a class="code" href="namespacepFlow.html#a39f5f71474553bc78726494fa09dd0fb">label</a> i)<span class="keyword">const</span>{</div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classpFlow_1_1sphereShape.html#ad3d10a8bc8ebc47c0d3f5c316e7930cd">diameters_</a>[i];</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; </div>
<div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="classpFlow_1_1sphereShape.html#a645e9d84374fab3371d56fe9c92e5766"> 105</a></span>&#160; <span class="keyword">const</span> <span class="keyword">auto</span> <a class="code" href="classpFlow_1_1sphereShape.html#a645e9d84374fab3371d56fe9c92e5766">material</a>(<a class="code" href="namespacepFlow.html#a39f5f71474553bc78726494fa09dd0fb">label</a> i)<span class="keyword">const</span>{</div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classpFlow_1_1sphereShape.html#a437403f7d71404549fdfc4fc1825cff2">materials_</a>[i];</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; </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="comment">// name to index</span></div>
<div class="line"><a name="l00111"></a><span class="lineno"><a class="line" href="classpFlow_1_1sphereShape.html#a4885b8072705ea5a0238d7ba988c4df6"> 111</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classpFlow_1_1sphereShape.html#a4885b8072705ea5a0238d7ba988c4df6">nameToIndex</a>(<span class="keyword">const</span> <a class="code" href="namespacepFlow.html#a0ebe792a293e8c717bddf60070c0fe99">word</a>&amp; name, <a class="code" href="namespacepFlow.html#abd01e8e67e3d94cab04ecaaf4f85ac1b">uint32</a>&amp; index)<span class="keyword">const</span></div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160;<span class="keyword"> </span>{</div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160; <span class="keywordflow">if</span>(<span class="keyword">auto</span>[iter, found] = <a class="code" href="classpFlow_1_1sphereShape.html#a670b90cfd83bd7b5a1e05d3205aca8e5">names_</a>.findIf(name); found )</div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160; {</div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160; index = iter-&gt;second;</div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160; <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160; }</div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160; <span class="keywordflow">else</span></div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; {</div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160; index = 0;</div>
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160; <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160; }</div>
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160; }</div>
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160; </div>
<div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="classpFlow_1_1sphereShape.html#a54800ab11d17a4b23fba7c820e0b515c"> 125</a></span>&#160; <a class="code" href="namespacepFlow.html#abd01e8e67e3d94cab04ecaaf4f85ac1b">uint32</a> <a class="code" href="classpFlow_1_1sphereShape.html#a54800ab11d17a4b23fba7c820e0b515c">nameToIndex</a>(<span class="keyword">const</span> <a class="code" href="namespacepFlow.html#a0ebe792a293e8c717bddf60070c0fe99">word</a>&amp; name)<span class="keyword">const</span></div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160;<span class="keyword"> </span>{</div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classpFlow_1_1sphereShape.html#a670b90cfd83bd7b5a1e05d3205aca8e5">names_</a>.at(name);</div>
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160; }</div>
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160; </div>
<div class="line"><a name="l00130"></a><span class="lineno"><a class="line" href="classpFlow_1_1sphereShape.html#aa8049c4f0b79de75ab2c913482a8dd2c"> 130</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classpFlow_1_1sphereShape.html#aa8049c4f0b79de75ab2c913482a8dd2c">indexToName</a>(<a class="code" href="namespacepFlow.html#abd01e8e67e3d94cab04ecaaf4f85ac1b">uint32</a> i, <a class="code" href="namespacepFlow.html#a0ebe792a293e8c717bddf60070c0fe99">word</a>&amp; name)<span class="keyword">const</span></div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160;<span class="keyword"> </span>{</div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160; <span class="keywordflow">for</span>(<span class="keyword">auto</span>&amp; nm: <a class="code" href="classpFlow_1_1sphereShape.html#a670b90cfd83bd7b5a1e05d3205aca8e5">names_</a>)</div>
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160; {</div>
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160; <span class="keywordflow">if</span>(nm.second == i)</div>
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160; {</div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160; name = nm.first;</div>
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160; <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160; }</div>
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160; }</div>
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160; name = <span class="stringliteral">&quot;&quot;</span>;</div>
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160; <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160; }</div>
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160; </div>
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classpFlow_1_1sphereShape.html#ae330b6820e487264676fdbed7250c95e">shapeToDiameter</a>(<a class="code" href="classpFlow_1_1Vector.html">wordVector</a>&amp; <a class="code" href="classpFlow_1_1sphereShape.html#a76f0ffb3989366237b161539fe34cf86">names</a>, <a class="code" href="classpFlow_1_1Vector.html">realVector</a>&amp; diams)<span class="keyword">const</span>;</div>
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160; </div>
<div class="line"><a name="l00146"></a><span class="lineno"><a class="line" href="classpFlow_1_1sphereShape.html#abf3b8d0b7f068ba39f11805ea15194ca"> 146</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classpFlow_1_1sphereShape.html#abf3b8d0b7f068ba39f11805ea15194ca">diameterMinMax</a>(<a class="code" href="namespacepFlow.html#a6192191c0e9c178a44ee1ac350fde476">real</a>&amp; minD, <a class="code" href="namespacepFlow.html#a6192191c0e9c178a44ee1ac350fde476">real</a>&amp; maxD)<span class="keyword">const</span></div>
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160;<span class="keyword"> </span>{</div>
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160; minD = <a class="code" href="namespacepFlow.html#aba2f2ccdd3d4a6b403a2c2d379198396">min</a>(<a class="code" href="classpFlow_1_1sphereShape.html#ad3d10a8bc8ebc47c0d3f5c316e7930cd">diameters_</a>);</div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160; maxD = <a class="code" href="namespacepFlow.html#ae14bf16748b3144baa1112f08c2a83b1">max</a>(<a class="code" href="classpFlow_1_1sphereShape.html#ad3d10a8bc8ebc47c0d3f5c316e7930cd">diameters_</a>);</div>
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160; }</div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160; </div>
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160; </div>
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160; <span class="comment">// - read from stream/file</span></div>
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classpFlow_1_1sphereShape.html#aff8e92ab47032ae811d1271161cb9b22">read</a>(<a class="code" href="classpFlow_1_1iIstream.html">iIstream</a>&amp; is);</div>
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160; </div>
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160; <span class="comment">// - write to stream/file</span></div>
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classpFlow_1_1sphereShape.html#a6a40de4ceed55b2f78cf3027739dfd91">write</a>(<a class="code" href="classpFlow_1_1iOstream.html">iOstream</a>&amp; os)<span class="keyword">const</span>;</div>
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160; </div>
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160; <span class="comment">// - read from dictionary </span></div>
<div class="line"><a name="l00161"></a><span class="lineno"><a class="line" href="classpFlow_1_1sphereShape.html#a6ce0c64db98eb6144d363dbfc86104eb"> 161</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classpFlow_1_1sphereShape.html#a6ce0c64db98eb6144d363dbfc86104eb">read</a>(<span class="keyword">const</span> <a class="code" href="classpFlow_1_1dictionary.html">dictionary</a>&amp; dict)</div>
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160; {</div>
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classpFlow_1_1sphereShape.html#a3ee94dd32f4df1490653290d2919dc52">readDictionary</a>(dict);</div>
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160; }</div>
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160; </div>
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>&#160; <span class="comment">// - write to dictionary </span></div>
<div class="line"><a name="l00167"></a><span class="lineno"><a class="line" href="classpFlow_1_1sphereShape.html#a6964e9f1f100001543fdb044fa7fc896"> 167</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classpFlow_1_1sphereShape.html#a6964e9f1f100001543fdb044fa7fc896">write</a>(<a class="code" href="classpFlow_1_1dictionary.html">dictionary</a>&amp; dict)<span class="keyword">const</span></div>
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160;<span class="keyword"> </span>{</div>
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classpFlow_1_1sphereShape.html#ad55987c0647186d3e7acad9cc4166034">writeDictionary</a>(dict);</div>
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>&#160; }</div>
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160; </div>
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160; </div>
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>&#160;};</div>
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160; </div>
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160;} <span class="comment">// pFlow</span></div>
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160; </div>
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160;<span class="preprocessor">#endif //__sphereShape_hpp__</span></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="aclasspFlow_1_1sphereShape_html_a641827da52ccdc9dafd4a095865bb3c2"><div class="ttname"><a href="classpFlow_1_1sphereShape.html#a641827da52ccdc9dafd4a095865bb3c2">pFlow::sphereShape::diameter</a></div><div class="ttdeci">const auto diameter(label i) const</div><div class="ttdef"><b>Definition:</b> <a href="sphereShape_8hpp_source.html#l00101">sphereShape.hpp:101</a></div></div>
<div class="ttc" id="aclasspFlow_1_1sphereShape_html_a6964e9f1f100001543fdb044fa7fc896"><div class="ttname"><a href="classpFlow_1_1sphereShape.html#a6964e9f1f100001543fdb044fa7fc896">pFlow::sphereShape::write</a></div><div class="ttdeci">bool write(dictionary &amp;dict) const</div><div class="ttdef"><b>Definition:</b> <a href="sphereShape_8hpp_source.html#l00167">sphereShape.hpp:167</a></div></div>
<div class="ttc" id="ahashMap_8hpp_html"><div class="ttname"><a href="hashMap_8hpp.html">hashMap.hpp</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#l00046">builtinTypes.hpp:46</a></div></div>
<div class="ttc" id="aclasspFlow_1_1sphereShape_html"><div class="ttname"><a href="classpFlow_1_1sphereShape.html">pFlow::sphereShape</a></div><div class="ttdef"><b>Definition:</b> <a href="sphereShape_8hpp_source.html#l00032">sphereShape.hpp:32</a></div></div>
<div class="ttc" id="aclasspFlow_1_1sphereShape_html_acbc910d82de36a5793389913110e3068"><div class="ttname"><a href="classpFlow_1_1sphereShape.html#acbc910d82de36a5793389913110e3068">pFlow::sphereShape::diameters</a></div><div class="ttdeci">const auto &amp; diameters() const</div><div class="ttdef"><b>Definition:</b> <a href="sphereShape_8hpp_source.html#l00093">sphereShape.hpp:93</a></div></div>
<div class="ttc" id="aclasspFlow_1_1hashMap_html"><div class="ttname"><a href="classpFlow_1_1hashMap.html">pFlow::hashMap</a></div><div class="ttdef"><b>Definition:</b> <a href="hashMap_8hpp_source.html#l00036">hashMap.hpp:36</a></div></div>
<div class="ttc" id="aclasspFlow_1_1sphereShape_html_a6a40de4ceed55b2f78cf3027739dfd91"><div class="ttname"><a href="classpFlow_1_1sphereShape.html#a6a40de4ceed55b2f78cf3027739dfd91">pFlow::sphereShape::write</a></div><div class="ttdeci">bool write(iOstream &amp;os) const</div><div class="ttdef"><b>Definition:</b> <a href="sphereShape_8cpp_source.html#l00186">sphereShape.cpp:186</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#l00059">builtinTypes.hpp:59</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#l00063">builtinTypes.hpp:63</a></div></div>
<div class="ttc" id="aclasspFlow_1_1sphereShape_html_a368736b45751f12dc2ad6263428d68b6"><div class="ttname"><a href="classpFlow_1_1sphereShape.html#a368736b45751f12dc2ad6263428d68b6">pFlow::sphereShape::numShapes_</a></div><div class="ttdeci">size_t numShapes_</div><div class="ttdef"><b>Definition:</b> <a href="sphereShape_8hpp_source.html#l00045">sphereShape.hpp:45</a></div></div>
<div class="ttc" id="aclasspFlow_1_1sphereShape_html_a5453e20e113ca0574ed07a2cca754faf"><div class="ttname"><a href="classpFlow_1_1sphereShape.html#a5453e20e113ca0574ed07a2cca754faf">pFlow::sphereShape::~sphereShape</a></div><div class="ttdeci">~sphereShape()=default</div></div>
<div class="ttc" id="aVectors_8hpp_html"><div class="ttname"><a href="Vectors_8hpp.html">Vectors.hpp</a></div></div>
<div class="ttc" id="aclasspFlow_1_1sphereShape_html_acc863d85d662202ba8b08e691372887b"><div class="ttname"><a href="classpFlow_1_1sphereShape.html#acc863d85d662202ba8b08e691372887b">pFlow::sphereShape::clone</a></div><div class="ttdeci">auto clone() const</div><div class="ttdef"><b>Definition:</b> <a href="sphereShape_8hpp_source.html#l00076">sphereShape.hpp:76</a></div></div>
<div class="ttc" id="aclasspFlow_1_1sphereShape_html_aaeda027258dc1f7b8d1af3a482a2367a"><div class="ttname"><a href="classpFlow_1_1sphereShape.html#aaeda027258dc1f7b8d1af3a482a2367a">pFlow::sphereShape::materials</a></div><div class="ttdeci">const auto &amp; materials() const</div><div class="ttdef"><b>Definition:</b> <a href="sphereShape_8hpp_source.html#l00097">sphereShape.hpp:97</a></div></div>
<div class="ttc" id="aclasspFlow_1_1sphereShape_html_a670b90cfd83bd7b5a1e05d3205aca8e5"><div class="ttname"><a href="classpFlow_1_1sphereShape.html#a670b90cfd83bd7b5a1e05d3205aca8e5">pFlow::sphereShape::names_</a></div><div class="ttdeci">wordHashMap&lt; uint32 &gt; names_</div><div class="ttdef"><b>Definition:</b> <a href="sphereShape_8hpp_source.html#l00043">sphereShape.hpp:43</a></div></div>
<div class="ttc" id="aclasspFlow_1_1sphereShape_html_ad3d10a8bc8ebc47c0d3f5c316e7930cd"><div class="ttname"><a href="classpFlow_1_1sphereShape.html#ad3d10a8bc8ebc47c0d3f5c316e7930cd">pFlow::sphereShape::diameters_</a></div><div class="ttdeci">realVector diameters_</div><div class="ttdef"><b>Definition:</b> <a href="sphereShape_8hpp_source.html#l00037">sphereShape.hpp:37</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="demComponent_8hpp_source.html#l00028">demComponent.hpp:28</a></div></div>
<div class="ttc" id="aclasspFlow_1_1sphereShape_html_a54800ab11d17a4b23fba7c820e0b515c"><div class="ttname"><a href="classpFlow_1_1sphereShape.html#a54800ab11d17a4b23fba7c820e0b515c">pFlow::sphereShape::nameToIndex</a></div><div class="ttdeci">uint32 nameToIndex(const word &amp;name) const</div><div class="ttdef"><b>Definition:</b> <a href="sphereShape_8hpp_source.html#l00125">sphereShape.hpp:125</a></div></div>
<div class="ttc" id="aclasspFlow_1_1sphereShape_html_a6ce0c64db98eb6144d363dbfc86104eb"><div class="ttname"><a href="classpFlow_1_1sphereShape.html#a6ce0c64db98eb6144d363dbfc86104eb">pFlow::sphereShape::read</a></div><div class="ttdeci">bool read(const dictionary &amp;dict)</div><div class="ttdef"><b>Definition:</b> <a href="sphereShape_8hpp_source.html#l00161">sphereShape.hpp:161</a></div></div>
<div class="ttc" id="aclasspFlow_1_1sphereShape_html_aff8e92ab47032ae811d1271161cb9b22"><div class="ttname"><a href="classpFlow_1_1sphereShape.html#aff8e92ab47032ae811d1271161cb9b22">pFlow::sphereShape::read</a></div><div class="ttdeci">bool read(iIstream &amp;is)</div><div class="ttdef"><b>Definition:</b> <a href="sphereShape_8cpp_source.html#l00166">sphereShape.cpp:166</a></div></div>
<div class="ttc" id="aclasspFlow_1_1sphereShape_html_aa8049c4f0b79de75ab2c913482a8dd2c"><div class="ttname"><a href="classpFlow_1_1sphereShape.html#aa8049c4f0b79de75ab2c913482a8dd2c">pFlow::sphereShape::indexToName</a></div><div class="ttdeci">bool indexToName(uint32 i, word &amp;name) const</div><div class="ttdef"><b>Definition:</b> <a href="sphereShape_8hpp_source.html#l00130">sphereShape.hpp:130</a></div></div>
<div class="ttc" id="aclasspFlow_1_1sphereShape_html_a76f0ffb3989366237b161539fe34cf86"><div class="ttname"><a href="classpFlow_1_1sphereShape.html#a76f0ffb3989366237b161539fe34cf86">pFlow::sphereShape::names</a></div><div class="ttdeci">const auto &amp; names() const</div><div class="ttdef"><b>Definition:</b> <a href="sphereShape_8hpp_source.html#l00089">sphereShape.hpp:89</a></div></div>
<div class="ttc" id="aclasspFlow_1_1iIstream_html"><div class="ttname"><a href="classpFlow_1_1iIstream.html">pFlow::iIstream</a></div><div class="ttdef"><b>Definition:</b> <a href="iIstream_8hpp_source.html#l00033">iIstream.hpp:33</a></div></div>
<div class="ttc" id="aclasspFlow_1_1sphereShape_html_a3233d185c2c9fb4b8d1666ce492cc247"><div class="ttname"><a href="classpFlow_1_1sphereShape.html#a3233d185c2c9fb4b8d1666ce492cc247">pFlow::sphereShape::clonePtr</a></div><div class="ttdeci">sphereShape * clonePtr() const</div><div class="ttdef"><b>Definition:</b> <a href="sphereShape_8hpp_source.html#l00081">sphereShape.hpp:81</a></div></div>
<div class="ttc" id="aclasspFlow_1_1sphereShape_html_a5ff3b9c9e439388497056ffbc8fd27f5"><div class="ttname"><a href="classpFlow_1_1sphereShape.html#a5ff3b9c9e439388497056ffbc8fd27f5">pFlow::sphereShape::sphereShape</a></div><div class="ttdeci">sphereShape()</div><div class="ttdef"><b>Definition:</b> <a href="sphereShape_8hpp_source.html#l00060">sphereShape.hpp:60</a></div></div>
<div class="ttc" id="aclasspFlow_1_1sphereShape_html_ad55987c0647186d3e7acad9cc4166034"><div class="ttname"><a href="classpFlow_1_1sphereShape.html#ad55987c0647186d3e7acad9cc4166034">pFlow::sphereShape::writeDictionary</a></div><div class="ttdeci">bool writeDictionary(dictionary &amp;dict) const</div><div class="ttdef"><b>Definition:</b> <a href="sphereShape_8cpp_source.html#l00085">sphereShape.cpp:85</a></div></div>
<div class="ttc" id="aclasspFlow_1_1sphereShape_html_a7a50eacde84380a040e225c5964be8d2"><div class="ttname"><a href="classpFlow_1_1sphereShape.html#a7a50eacde84380a040e225c5964be8d2">pFlow::sphereShape::operator=</a></div><div class="ttdeci">sphereShape &amp; operator=(const sphereShape &amp;)=default</div></div>
<div class="ttc" id="aclasspFlow_1_1sphereShape_html_a4885b8072705ea5a0238d7ba988c4df6"><div class="ttname"><a href="classpFlow_1_1sphereShape.html#a4885b8072705ea5a0238d7ba988c4df6">pFlow::sphereShape::nameToIndex</a></div><div class="ttdeci">bool nameToIndex(const word &amp;name, uint32 &amp;index) const</div><div class="ttdef"><b>Definition:</b> <a href="sphereShape_8hpp_source.html#l00111">sphereShape.hpp:111</a></div></div>
<div class="ttc" id="anamespacepFlow_html_ae14bf16748b3144baa1112f08c2a83b1"><div class="ttname"><a href="namespacepFlow.html#ae14bf16748b3144baa1112f08c2a83b1">pFlow::max</a></div><div class="ttdeci">T max(const Vector&lt; T, Allocator &gt; &amp;v)</div><div class="ttdef"><b>Definition:</b> <a href="VectorMath_8hpp_source.html#l00164">VectorMath.hpp:164</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#l00040">property.hpp:40</a></div></div>
<div class="ttc" id="aclasspFlow_1_1sphereShape_html_a52e240ee225fc89a5673c678fd942d9a"><div class="ttname"><a href="classpFlow_1_1sphereShape.html#a52e240ee225fc89a5673c678fd942d9a">pFlow::sphereShape::TypeInfoNV</a></div><div class="ttdeci">TypeInfoNV(&quot;sphereShape&quot;)</div></div>
<div class="ttc" id="aclasspFlow_1_1sphereShape_html_aa4bf56a0baa8e23b866f1e7e45b142b6"><div class="ttname"><a href="classpFlow_1_1sphereShape.html#aa4bf56a0baa8e23b866f1e7e45b142b6">pFlow::sphereShape::insertNames</a></div><div class="ttdeci">bool insertNames(const wordVector &amp;names)</div><div class="ttdef"><b>Definition:</b> <a href="sphereShape_8cpp_source.html#l00028">sphereShape.cpp:28</a></div></div>
<div class="ttc" id="anamespacepFlow_html_a39f5f71474553bc78726494fa09dd0fb"><div class="ttname"><a href="namespacepFlow.html#a39f5f71474553bc78726494fa09dd0fb">pFlow::label</a></div><div class="ttdeci">std::size_t label</div><div class="ttdef"><b>Definition:</b> <a href="builtinTypes_8hpp_source.html#l00061">builtinTypes.hpp:61</a></div></div>
<div class="ttc" id="aclasspFlow_1_1sphereShape_html_a3ee94dd32f4df1490653290d2919dc52"><div class="ttname"><a href="classpFlow_1_1sphereShape.html#a3ee94dd32f4df1490653290d2919dc52">pFlow::sphereShape::readDictionary</a></div><div class="ttdeci">bool readDictionary(const dictionary &amp;dict)</div><div class="ttdef"><b>Definition:</b> <a href="sphereShape_8cpp_source.html#l00053">sphereShape.cpp:53</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="aclasspFlow_1_1iOstream_html"><div class="ttname"><a href="classpFlow_1_1iOstream.html">pFlow::iOstream</a></div><div class="ttdef"><b>Definition:</b> <a href="iOstream_8hpp_source.html#l00053">iOstream.hpp:53</a></div></div>
<div class="ttc" id="aclasspFlow_1_1sphereShape_html_ae330b6820e487264676fdbed7250c95e"><div class="ttname"><a href="classpFlow_1_1sphereShape.html#ae330b6820e487264676fdbed7250c95e">pFlow::sphereShape::shapeToDiameter</a></div><div class="ttdeci">bool shapeToDiameter(wordVector &amp;names, realVector &amp;diams) const</div><div class="ttdef"><b>Definition:</b> <a href="sphereShape_8cpp_source.html#l00144">sphereShape.cpp:144</a></div></div>
<div class="ttc" id="anamespacepFlow_html_aba2f2ccdd3d4a6b403a2c2d379198396"><div class="ttname"><a href="namespacepFlow.html#aba2f2ccdd3d4a6b403a2c2d379198396">pFlow::min</a></div><div class="ttdeci">T min(const Vector&lt; T, Allocator &gt; &amp;v)</div><div class="ttdef"><b>Definition:</b> <a href="VectorMath_8hpp_source.html#l00138">VectorMath.hpp:138</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="ttdef"><b>Definition:</b> <a href="dictionary_8hpp_source.html#l00038">dictionary.hpp:38</a></div></div>
<div class="ttc" id="aclasspFlow_1_1sphereShape_html_abf3b8d0b7f068ba39f11805ea15194ca"><div class="ttname"><a href="classpFlow_1_1sphereShape.html#abf3b8d0b7f068ba39f11805ea15194ca">pFlow::sphereShape::diameterMinMax</a></div><div class="ttdeci">void diameterMinMax(real &amp;minD, real &amp;maxD) const</div><div class="ttdef"><b>Definition:</b> <a href="sphereShape_8hpp_source.html#l00146">sphereShape.hpp:146</a></div></div>
<div class="ttc" id="aclasspFlow_1_1sphereShape_html_a437403f7d71404549fdfc4fc1825cff2"><div class="ttname"><a href="classpFlow_1_1sphereShape.html#a437403f7d71404549fdfc4fc1825cff2">pFlow::sphereShape::materials_</a></div><div class="ttdeci">wordVector materials_</div><div class="ttdef"><b>Definition:</b> <a href="sphereShape_8hpp_source.html#l00040">sphereShape.hpp:40</a></div></div>
<div class="ttc" id="aclasspFlow_1_1sphereShape_html_a645e9d84374fab3371d56fe9c92e5766"><div class="ttname"><a href="classpFlow_1_1sphereShape.html#a645e9d84374fab3371d56fe9c92e5766">pFlow::sphereShape::material</a></div><div class="ttdeci">const auto material(label i) const</div><div class="ttdef"><b>Definition:</b> <a href="sphereShape_8hpp_source.html#l00105">sphereShape.hpp:105</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_ae10a04c09150cad5fefedcb2d995fdc.html">SphereParticles</a></li><li class="navelem"><a class="el" href="dir_38b62c5fd09db3ff1ef8a0e7759c197b.html">sphereShape</a></li><li class="navelem"><a class="el" href="sphereShape_8hpp.html">sphereShape.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>