<!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.12"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>DFNgen: clusterGroups.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>
<script type="text/javascript">
  $(document).ready(initResizable);
</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>
<link href="doxygen.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">DFNgen
   &#160;<span id="projectnumber">2.0</span>
   </div>
   <div id="projectbrief">DFN Model Generator</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.12 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</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">
$(document).ready(function(){initNavTree('cluster_groups_8cpp_source.html','');});
</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">clusterGroups.cpp</div>  </div>
</div><!--header-->
<div class="contents">
<a href="cluster_groups_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>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#include &lt;iostream&gt;</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="cluster_groups_8h.html">clusterGroups.h</a>&quot;</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="structures_8h.html">structures.h</a>&quot;</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="input_8h.html">input.h</a>&quot;</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="math_functions_8h.html">mathFunctions.h</a>&quot;</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;</div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">/*  This code goes through all the polygons accepted into the domain and returns the indexes to those polygons</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment">    which match the users boundary faces option. </span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">    Isoloated fractures and Polygons with no intersections are removed</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment">groupData structure:</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment">***********************</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment">    groupData keeps information as to how many polygons are in the group or cluster. It also keeps</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment">    track of the boundary faces which the cluster is in contact with. There is also a valid variable (0 or 1).</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment">    If a polygon connects two different groups, one of the groups is merged together with the other. The one which</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment">    nolonger exists has it&#39;s valid variable set to 0. </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">    The groupData structure array, or vector, is aligned with the group numbers. If you want to know about group 3 for</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment">    example, you will look at groupData[ (3-1) ], minus 1 because the array starts at 0 while groups start at 1. </span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment">    If valid = 1 in the structure, that group still exists and has not been merged</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="comment">fractGroups structure:</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="comment">*************************</span></div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="comment">    fractGroups[] holds the actual pointers/index numbers to the polygon array along with the group number. Unlike</span></div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="comment">    groupData[] described above, fractGroups does not stay aligned to group numbers. To keep from copying, deleteing, and </span></div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="comment">    re-allocating memory when groups merge together, we simply change the variable groupNum to the new group number. </span></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="comment">    Because of this, there will be multiples of the same group numbers, but with differnt polygons listed. To get all the </span></div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="comment">    polygons from a group we must search the fractGroups array for all matching groups</span></div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="comment">*/</span></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="comment">/***********************************************************************************/</span></div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="comment">/*********************  Get Matching Fracture Clusters  ****************************/</span></div><div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="cluster_groups_8h.html#aa3f6bef1533919464df1f55a65fcbad3">   45</a></span>&#160;std::vector&lt;unsigned int&gt; <a class="code" href="cluster_groups_8cpp.html#aa3f6bef1533919464df1f55a65fcbad3">getCluster</a>(<a class="code" href="struct_stats.html">Stats</a> &amp;pstats){</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;    <span class="comment">// The max number of groups is pstats.nextGroupNum - 1</span></div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;    std::vector&lt;unsigned int&gt; matchingGroups;</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;    std::vector&lt;unsigned int&gt; finalPolyList;</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;    </div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;<span class="comment">// NOTE: (groupNumber-1) = corresponding groupData structures&#39; index of the arary</span></div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;<span class="comment">//       similarly, the index of groupData + 1 = groupNumber (due to groupNumber starting at 1, array starting at 0)</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="comment">// Find all matching groups:</span></div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;        <span class="comment">// Get matching groups from pstats.groupData[]</span></div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;        <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i &lt; pstats.<a class="code" href="struct_stats.html#ae4c56b074f1d02cc1ce798790fc9dcab">groupData</a>.size(); i++) {</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;            <span class="comment">// If the data is valid, meaning that group still exists (hasn&#39;t been merged to a new group) and</span></div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;            <span class="comment">// if the group has more than 1 fracture meaning there are intersections and</span></div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;            <span class="comment">// the cluster matches the reqirements of the user&#39;s boundaryFaces option</span></div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;            <span class="keywordflow">if</span> (<a class="code" href="input_8h.html#ada6852d4da13aa222e5b959bf71e89d4">ignoreBoundaryFaces</a> == 0) {</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;                <span class="keywordflow">if</span> (pstats.<a class="code" href="struct_stats.html#ae4c56b074f1d02cc1ce798790fc9dcab">groupData</a>[i].valid == 1 &amp;&amp; pstats.<a class="code" href="struct_stats.html#ae4c56b074f1d02cc1ce798790fc9dcab">groupData</a>[i].size &gt; 1  &amp;&amp; <a class="code" href="cluster_groups_8cpp.html#aec8105442589e759b8b36e3f927440b3">facesMatch</a>(<a class="code" href="input_8h.html#a51aaedc2ddf86e5f1dba79003decadb2">boundaryFaces</a>, pstats.<a class="code" href="struct_stats.html#ae4c56b074f1d02cc1ce798790fc9dcab">groupData</a>[i].faces)) {</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;                    matchingGroups.push_back(i+1);<span class="comment">//save matching group number</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;            }</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;            <span class="keywordflow">else</span> { <span class="comment">// Get all cluster groups</span></div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;                <span class="keywordflow">if</span> (pstats.<a class="code" href="struct_stats.html#ae4c56b074f1d02cc1ce798790fc9dcab">groupData</a>[i].valid == 1 &amp;&amp; pstats.<a class="code" href="struct_stats.html#ae4c56b074f1d02cc1ce798790fc9dcab">groupData</a>[i].size &gt; 1) {</div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;                    matchingGroups.push_back(i+1); <span class="comment">// Save matching group number</span></div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;                }</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;        }</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;        <span class="keywordflow">if</span> (<a class="code" href="input_8h.html#aea02ddd6024599612f00034e17d4e66a">keepOnlyLargestCluster</a> == 1 &amp;&amp; matchingGroups.size() &gt; 1) { </div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;            <span class="comment">// If only keeping the largest cluster, find group with largest size</span></div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;            </div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;            <span class="comment">// Initialize largestGroup</span></div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;            <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> largestGroup = matchingGroups[0];</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;            <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i &lt; matchingGroups.size(); i++) {</div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;                <span class="comment">// If largest group &lt; current group, the current group is the new largest group </span></div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;                <span class="keywordflow">if</span> (largestGroup &lt; pstats.<a class="code" href="struct_stats.html#ae4c56b074f1d02cc1ce798790fc9dcab">groupData</a>[matchingGroups[i]-1].size){</div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;                    largestGroup = matchingGroups[i];</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;            }</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;            matchingGroups.clear(); <span class="comment">// Clear group numbers</span></div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;            matchingGroups.push_back(largestGroup); <span class="comment">// Save only the largest group </span></div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;        }</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="comment">// Gather the final polygon numbers/indecies.</span></div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;        <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i &lt; matchingGroups.size(); i++){</div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;            <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> k = 0; k &lt; pstats.<a class="code" href="struct_stats.html#a15b646bf15b9fa5aad461bf8fb9d27ff">fractGroup</a>.size(); k++){</div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;                <span class="keywordflow">if</span> (matchingGroups[i] == pstats.<a class="code" href="struct_stats.html#a15b646bf15b9fa5aad461bf8fb9d27ff">fractGroup</a>[k].groupNum) { </div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;                    <span class="comment">// If the groupNumbers match</span></div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;                    <span class="comment">// copy all poly indecies of matching group</span></div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;                    <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> j = 0; j &lt; pstats.<a class="code" href="struct_stats.html#a15b646bf15b9fa5aad461bf8fb9d27ff">fractGroup</a>[k].polyList.size(); j++){</div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;                        finalPolyList.push_back(pstats.<a class="code" href="struct_stats.html#a15b646bf15b9fa5aad461bf8fb9d27ff">fractGroup</a>[k].polyList[j]);</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">   97</span>&#160;                }</div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;            }</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;    <span class="keywordflow">return</span> finalPolyList;</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;</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;<span class="comment">/***********************************************************************************/</span></div><div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;<span class="comment">/*******  Test if Boundary Faces Option Match User&#39;s Desired Boundary Faces ********/</span></div><div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="cluster_groups_8h.html#aec8105442589e759b8b36e3f927440b3">  115</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="cluster_groups_8cpp.html#aec8105442589e759b8b36e3f927440b3">facesMatch</a>(<span class="keywordtype">bool</span> *facesOption, <span class="keywordtype">bool</span> *faces){</div><div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;    <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; 6; i++) {</div><div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;        <span class="comment">// If the user specified the face, check if faces match</span></div><div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;        <span class="keywordflow">if</span> (facesOption[i] == 1){</div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;            <span class="keywordflow">if</span> ((facesOption[i] &amp; faces[i]) == 0) {</div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;                <span class="keywordflow">return</span> 0;</div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;            }</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;    <span class="keywordflow">return</span> 1;</div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;}</div><div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;</div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;</div><div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;<span class="comment">/********************  Assign New Polygon to a Cluster  ****************************/</span></div><div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;<span class="comment">/***********************************************************************************/</span></div><div class="line"><a name="l00137"></a><span class="lineno"><a class="line" href="cluster_groups_8h.html#a379930b3782e888c9ccdf5a8106b3434">  137</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="cluster_groups_8cpp.html#a379930b3782e888c9ccdf5a8106b3434">assignGroup</a>(<a class="code" href="struct_poly.html">Poly</a> &amp;newPoly, <a class="code" href="struct_stats.html">Stats</a> &amp;pstats, <span class="keywordtype">int</span> newPolyIndex) {  </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;    newPoly.<a class="code" href="struct_poly.html#add8e39b7f48274757f46c80014aaeb6b">groupNum</a> = pstats.<a class="code" href="struct_stats.html#ac4e4a2e4e084716a6dbd3ce08461282f">nextGroupNum</a>;</div><div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;    <a class="code" href="struct_group_data.html">GroupData</a> newGroupData; <span class="comment">// Keeps fracture cluster data</span></div><div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;    <span class="comment">// Copy newPoly faces info to groupData</span></div><div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;    <a class="code" href="math_functions_8h.html#aaf4979ac027751a7358291353a23b387">OR</a>(newGroupData.<a class="code" href="struct_group_data.html#a63e67341cecbebf3e23770cedae3dd64">faces</a>, newPoly.<a class="code" href="struct_poly.html#ae110548a9a60aacab55ecce02d759d8d">faces</a>);</div><div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;    <span class="comment">// Incriment groupData&#39;s poly count</span></div><div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;    newGroupData.<a class="code" href="struct_group_data.html#aa24a1818e0886f7099e6f08bd1ed1dcd">size</a>++;</div><div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;    pstats.<a class="code" href="struct_stats.html#ae4c56b074f1d02cc1ce798790fc9dcab">groupData</a>.push_back(newGroupData); <span class="comment">// Save boundary face information to permanent location</span></div><div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;    <a class="code" href="struct_fracture_groups.html">FractureGroups</a> newGroup; <span class="comment">// &#39;newPoly&#39; had no intersections, put it in a new group</span></div><div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;    newGroup.<a class="code" href="struct_fracture_groups.html#acce15a51eb9dc55d1711469ef35460ae">groupNum</a> = pstats.<a class="code" href="struct_stats.html#ac4e4a2e4e084716a6dbd3ce08461282f">nextGroupNum</a>; <span class="comment">// Assign new group # to newGroup</span></div><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;    pstats.<a class="code" href="struct_stats.html#ac4e4a2e4e084716a6dbd3ce08461282f">nextGroupNum</a>++;</div><div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;    newGroup.<a class="code" href="struct_fracture_groups.html#ab4d3e200eeeec2e52cd419a6555644c7">polyList</a>.push_back(newPolyIndex); <span class="comment">// Save index (number) of newPoly</span></div><div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;    pstats.<a class="code" href="struct_stats.html#a15b646bf15b9fa5aad461bf8fb9d27ff">fractGroup</a>.push_back(newGroup);</div><div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;</div><div class="line"><a name="l00152"></a><span class="lineno">  152</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;</div><div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;</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;</div><div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;<span class="comment">/**************************  Update Cluster Groups  ********************************/</span></div><div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;<span class="comment">/***********************************************************************************/</span></div><div class="line"><a name="l00192"></a><span class="lineno"><a class="line" href="cluster_groups_8h.html#aa67c48c94718510ec7bd5590f09d090c">  192</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="cluster_groups_8cpp.html#aa67c48c94718510ec7bd5590f09d090c">updateGroups</a>(<a class="code" href="struct_poly.html">Poly</a> &amp;newPoly, std::vector&lt;Poly&gt; &amp;acceptedPoly, std::vector&lt;unsigned int&gt; &amp;encounteredGroups, <a class="code" href="struct_stats.html">Stats</a> &amp;pstats, <span class="keywordtype">int</span> newPolyIndex) { </div><div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;</div><div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;    <span class="keywordflow">if</span> (encounteredGroups.size() == 0) {</div><div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;        <span class="comment">// &#39;newPoly&#39; didn&#39;t encounter more than 1 other group of fractures </span></div><div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;        <span class="comment">// Save newPoly to the group structure</span></div><div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;</div><div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;        <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0;</div><div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;        <span class="comment">// Update boundary face info</span></div><div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;</div><div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;        <a class="code" href="math_functions_8h.html#aaf4979ac027751a7358291353a23b387">OR</a>(pstats.<a class="code" href="struct_stats.html#ae4c56b074f1d02cc1ce798790fc9dcab">groupData</a>[newPoly.<a class="code" href="struct_poly.html#add8e39b7f48274757f46c80014aaeb6b">groupNum</a>-1].faces, newPoly.<a class="code" href="struct_poly.html#ae110548a9a60aacab55ecce02d759d8d">faces</a>);</div><div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;        <span class="comment">// NOTE: Groups start at 1, but array starts at zero hence the groupNum-1 for index</span></div><div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;</div><div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;        <span class="comment">// Incriment the groups size for the new polygon</span></div><div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;        pstats.<a class="code" href="struct_stats.html#ae4c56b074f1d02cc1ce798790fc9dcab">groupData</a>[newPoly.<a class="code" href="struct_poly.html#add8e39b7f48274757f46c80014aaeb6b">groupNum</a>-1].size++;</div><div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;</div><div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;        <span class="comment">// Search for group newPoly belongs to and add newPoly to it&#39;s list, add to first matching group found</span></div><div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;        <span class="keywordflow">while</span> (pstats.<a class="code" href="struct_stats.html#a15b646bf15b9fa5aad461bf8fb9d27ff">fractGroup</a>[i].groupNum != newPoly.<a class="code" href="struct_poly.html#add8e39b7f48274757f46c80014aaeb6b">groupNum</a> &amp;&amp; i != pstats.<a class="code" href="struct_stats.html#a15b646bf15b9fa5aad461bf8fb9d27ff">fractGroup</a>.size()) {</div><div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;        i++;</div><div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;        }</div><div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;        <span class="comment">// Error check</span></div><div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;        <span class="keywordflow">if</span> (i == pstats.<a class="code" href="struct_stats.html#a15b646bf15b9fa5aad461bf8fb9d27ff">fractGroup</a>.size() &amp;&amp; pstats.<a class="code" href="struct_stats.html#a15b646bf15b9fa5aad461bf8fb9d27ff">fractGroup</a>[i].groupNum != newPoly.<a class="code" href="struct_poly.html#add8e39b7f48274757f46c80014aaeb6b">groupNum</a> ) {</div><div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;            std::cout&lt;&lt;<span class="stringliteral">&quot;ERROR: Group not found (computationalGeometry.cpp)\n&quot;</span>;</div><div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;        }</div><div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;</div><div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;        <span class="comment">// Add newPoly to fracture/cluster group</span></div><div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;        pstats.<a class="code" href="struct_stats.html#a15b646bf15b9fa5aad461bf8fb9d27ff">fractGroup</a>[i].polyList.push_back(newPolyIndex);</div><div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;    }</div><div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;    <span class="keywordflow">else</span>{</div><div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;        <span class="comment">// Multiple cluter groups were encountered. </span></div><div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;        <span class="comment">// Merge the groups (change/update the group numbers)</span></div><div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;        <span class="comment">// Search for encountered groups and make them all have the same group numbers</span></div><div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;        <span class="comment">// First, add newpoly to correct group</span></div><div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;</div><div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;        <span class="keywordtype">int</span> k = 0;</div><div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;        <span class="keywordflow">while</span> (newPoly.<a class="code" href="struct_poly.html#add8e39b7f48274757f46c80014aaeb6b">groupNum</a> != pstats.<a class="code" href="struct_stats.html#a15b646bf15b9fa5aad461bf8fb9d27ff">fractGroup</a>[k].groupNum) {</div><div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;            k++;</div><div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;        }</div><div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;</div><div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;        <span class="comment">// Add new poly to the group</span></div><div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;        pstats.<a class="code" href="struct_stats.html#a15b646bf15b9fa5aad461bf8fb9d27ff">fractGroup</a>[k].polyList.push_back(newPolyIndex);</div><div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;        <span class="comment">// Incriment size of group by one for newPoly</span></div><div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;        pstats.<a class="code" href="struct_stats.html#ae4c56b074f1d02cc1ce798790fc9dcab">groupData</a>[newPoly.<a class="code" href="struct_poly.html#add8e39b7f48274757f46c80014aaeb6b">groupNum</a>-1].size++;</div><div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160;        <span class="comment">// Add any boundary face data to group fro newPoly</span></div><div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;        <a class="code" href="math_functions_8h.html#aaf4979ac027751a7358291353a23b387">OR</a>(pstats.<a class="code" href="struct_stats.html#ae4c56b074f1d02cc1ce798790fc9dcab">groupData</a>[newPoly.<a class="code" href="struct_poly.html#add8e39b7f48274757f46c80014aaeb6b">groupNum</a>-1].faces, newPoly.<a class="code" href="struct_poly.html#ae110548a9a60aacab55ecce02d759d8d">faces</a>);</div><div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;</div><div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;        <span class="comment">// Need merge groups in encounteredGroups list to newPoly.groupNum</span></div><div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;        <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i = 0; i &lt; encounteredGroups.size(); i++) {</div><div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;            <span class="comment">// Add merging groups size to new group&#39;s size</span></div><div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;            <span class="keywordflow">if</span> (pstats.<a class="code" href="struct_stats.html#ae4c56b074f1d02cc1ce798790fc9dcab">groupData</a>[encounteredGroups[i]-1].valid == 1) {</div><div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;                pstats.<a class="code" href="struct_stats.html#ae4c56b074f1d02cc1ce798790fc9dcab">groupData</a>[newPoly.<a class="code" href="struct_poly.html#add8e39b7f48274757f46c80014aaeb6b">groupNum</a>-1].size += pstats.<a class="code" href="struct_stats.html#ae4c56b074f1d02cc1ce798790fc9dcab">groupData</a>[encounteredGroups[i]-1].size;</div><div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;                <span class="comment">// Merge any boundary faces data</span></div><div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;                <a class="code" href="math_functions_8h.html#aaf4979ac027751a7358291353a23b387">OR</a>(pstats.<a class="code" href="struct_stats.html#ae4c56b074f1d02cc1ce798790fc9dcab">groupData</a>[newPoly.<a class="code" href="struct_poly.html#add8e39b7f48274757f46c80014aaeb6b">groupNum</a>-1].faces, pstats.<a class="code" href="struct_stats.html#ae4c56b074f1d02cc1ce798790fc9dcab">groupData</a>[encounteredGroups[i]-1].faces);</div><div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;                <span class="comment">// Mark merged groups group data as invalid</span></div><div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;                pstats.<a class="code" href="struct_stats.html#ae4c56b074f1d02cc1ce798790fc9dcab">groupData</a>[encounteredGroups[i]-1].valid = 0;</div><div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;            }</div><div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;</div><div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;            <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> jj = 0; jj &lt; pstats.<a class="code" href="struct_stats.html#a15b646bf15b9fa5aad461bf8fb9d27ff">fractGroup</a>.size(); jj++) {</div><div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;                <span class="keywordflow">if</span> (pstats.<a class="code" href="struct_stats.html#a15b646bf15b9fa5aad461bf8fb9d27ff">fractGroup</a>[jj].groupNum == encounteredGroups[i]) {</div><div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;                    <span class="comment">// Change group number to the new group number</span></div><div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;                    pstats.<a class="code" href="struct_stats.html#a15b646bf15b9fa5aad461bf8fb9d27ff">fractGroup</a>[jj].groupNum = newPoly.<a class="code" href="struct_poly.html#add8e39b7f48274757f46c80014aaeb6b">groupNum</a>;</div><div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;                    <span class="comment">// Change polys group number inside the group to the new group num</span></div><div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;                    <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> z = 0; z &lt; pstats.<a class="code" href="struct_stats.html#a15b646bf15b9fa5aad461bf8fb9d27ff">fractGroup</a>[jj].polyList.size(); z++) {</div><div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;                        acceptedPoly[pstats.<a class="code" href="struct_stats.html#a15b646bf15b9fa5aad461bf8fb9d27ff">fractGroup</a>[jj].polyList[z]].groupNum = newPoly.<a class="code" href="struct_poly.html#add8e39b7f48274757f46c80014aaeb6b">groupNum</a>;</div><div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;                    }</div><div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;                }</div><div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;            }</div><div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;        }</div><div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;    }</div><div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;}</div><div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;</div><div class="ttc" id="struct_group_data_html_a63e67341cecbebf3e23770cedae3dd64"><div class="ttname"><a href="struct_group_data.html#a63e67341cecbebf3e23770cedae3dd64">GroupData::faces</a></div><div class="ttdeci">bool faces[6]</div><div class="ttdef"><b>Definition:</b> <a href="structures_8h_source.html#l00238">structures.h:238</a></div></div>
<div class="ttc" id="struct_poly_html_add8e39b7f48274757f46c80014aaeb6b"><div class="ttname"><a href="struct_poly.html#add8e39b7f48274757f46c80014aaeb6b">Poly::groupNum</a></div><div class="ttdeci">unsigned int groupNum</div><div class="ttdef"><b>Definition:</b> <a href="structures_8h_source.html#l00030">structures.h:30</a></div></div>
<div class="ttc" id="struct_fracture_groups_html_ab4d3e200eeeec2e52cd419a6555644c7"><div class="ttname"><a href="struct_fracture_groups.html#ab4d3e200eeeec2e52cd419a6555644c7">FractureGroups::polyList</a></div><div class="ttdeci">std::vector&lt; unsigned int &gt; polyList</div><div class="ttdef"><b>Definition:</b> <a href="structures_8h_source.html#l00212">structures.h:212</a></div></div>
<div class="ttc" id="input_8h_html"><div class="ttname"><a href="input_8h.html">input.h</a></div></div>
<div class="ttc" id="input_8h_html_a51aaedc2ddf86e5f1dba79003decadb2"><div class="ttname"><a href="input_8h.html#a51aaedc2ddf86e5f1dba79003decadb2">boundaryFaces</a></div><div class="ttdeci">bool boundaryFaces[6]</div><div class="ttdef"><b>Definition:</b> <a href="read_input_8cpp_source.html#l00052">readInput.cpp:52</a></div></div>
<div class="ttc" id="struct_poly_html"><div class="ttname"><a href="struct_poly.html">Poly</a></div><div class="ttdef"><b>Definition:</b> <a href="structures_8h_source.html#l00012">structures.h:12</a></div></div>
<div class="ttc" id="input_8h_html_aea02ddd6024599612f00034e17d4e66a"><div class="ttname"><a href="input_8h.html#aea02ddd6024599612f00034e17d4e66a">keepOnlyLargestCluster</a></div><div class="ttdeci">bool keepOnlyLargestCluster</div><div class="ttdef"><b>Definition:</b> <a href="read_input_8cpp_source.html#l00061">readInput.cpp:61</a></div></div>
<div class="ttc" id="cluster_groups_8cpp_html_a379930b3782e888c9ccdf5a8106b3434"><div class="ttname"><a href="cluster_groups_8cpp.html#a379930b3782e888c9ccdf5a8106b3434">assignGroup</a></div><div class="ttdeci">void assignGroup(Poly &amp;newPoly, Stats &amp;pstats, int newPolyIndex)</div><div class="ttdef"><b>Definition:</b> <a href="cluster_groups_8cpp_source.html#l00137">clusterGroups.cpp:137</a></div></div>
<div class="ttc" id="structures_8h_html"><div class="ttname"><a href="structures_8h.html">structures.h</a></div></div>
<div class="ttc" id="struct_stats_html_a15b646bf15b9fa5aad461bf8fb9d27ff"><div class="ttname"><a href="struct_stats.html#a15b646bf15b9fa5aad461bf8fb9d27ff">Stats::fractGroup</a></div><div class="ttdeci">std::vector&lt; struct FractureGroups &gt; fractGroup</div><div class="ttdef"><b>Definition:</b> <a href="structures_8h_source.html#l00374">structures.h:374</a></div></div>
<div class="ttc" id="struct_fracture_groups_html_acce15a51eb9dc55d1711469ef35460ae"><div class="ttname"><a href="struct_fracture_groups.html#acce15a51eb9dc55d1711469ef35460ae">FractureGroups::groupNum</a></div><div class="ttdeci">unsigned long long int groupNum</div><div class="ttdef"><b>Definition:</b> <a href="structures_8h_source.html#l00210">structures.h:210</a></div></div>
<div class="ttc" id="math_functions_8h_html"><div class="ttname"><a href="math_functions_8h.html">mathFunctions.h</a></div></div>
<div class="ttc" id="cluster_groups_8cpp_html_aa67c48c94718510ec7bd5590f09d090c"><div class="ttname"><a href="cluster_groups_8cpp.html#aa67c48c94718510ec7bd5590f09d090c">updateGroups</a></div><div class="ttdeci">void updateGroups(Poly &amp;newPoly, std::vector&lt; Poly &gt; &amp;acceptedPoly, std::vector&lt; unsigned int &gt; &amp;encounteredGroups, Stats &amp;pstats, int newPolyIndex)</div><div class="ttdef"><b>Definition:</b> <a href="cluster_groups_8cpp_source.html#l00192">clusterGroups.cpp:192</a></div></div>
<div class="ttc" id="math_functions_8h_html_aaf4979ac027751a7358291353a23b387"><div class="ttname"><a href="math_functions_8h.html#aaf4979ac027751a7358291353a23b387">OR</a></div><div class="ttdeci">void OR(bool *dest, bool *src)</div><div class="ttdef"><b>Definition:</b> <a href="math_functions_8h_source.html#l00024">mathFunctions.h:24</a></div></div>
<div class="ttc" id="struct_group_data_html"><div class="ttname"><a href="struct_group_data.html">GroupData</a></div><div class="ttdef"><b>Definition:</b> <a href="structures_8h_source.html#l00227">structures.h:227</a></div></div>
<div class="ttc" id="cluster_groups_8cpp_html_aa3f6bef1533919464df1f55a65fcbad3"><div class="ttname"><a href="cluster_groups_8cpp.html#aa3f6bef1533919464df1f55a65fcbad3">getCluster</a></div><div class="ttdeci">std::vector&lt; unsigned int &gt; getCluster(Stats &amp;pstats)</div><div class="ttdef"><b>Definition:</b> <a href="cluster_groups_8cpp_source.html#l00045">clusterGroups.cpp:45</a></div></div>
<div class="ttc" id="cluster_groups_8cpp_html_aec8105442589e759b8b36e3f927440b3"><div class="ttname"><a href="cluster_groups_8cpp.html#aec8105442589e759b8b36e3f927440b3">facesMatch</a></div><div class="ttdeci">bool facesMatch(bool *facesOption, bool *faces)</div><div class="ttdef"><b>Definition:</b> <a href="cluster_groups_8cpp_source.html#l00115">clusterGroups.cpp:115</a></div></div>
<div class="ttc" id="struct_stats_html_ae4c56b074f1d02cc1ce798790fc9dcab"><div class="ttname"><a href="struct_stats.html#ae4c56b074f1d02cc1ce798790fc9dcab">Stats::groupData</a></div><div class="ttdeci">std::vector&lt; struct GroupData &gt; groupData</div><div class="ttdef"><b>Definition:</b> <a href="structures_8h_source.html#l00376">structures.h:376</a></div></div>
<div class="ttc" id="struct_stats_html_ac4e4a2e4e084716a6dbd3ce08461282f"><div class="ttname"><a href="struct_stats.html#ac4e4a2e4e084716a6dbd3ce08461282f">Stats::nextGroupNum</a></div><div class="ttdeci">unsigned long long int nextGroupNum</div><div class="ttdef"><b>Definition:</b> <a href="structures_8h_source.html#l00336">structures.h:336</a></div></div>
<div class="ttc" id="struct_stats_html"><div class="ttname"><a href="struct_stats.html">Stats</a></div><div class="ttdef"><b>Definition:</b> <a href="structures_8h_source.html#l00277">structures.h:277</a></div></div>
<div class="ttc" id="input_8h_html_ada6852d4da13aa222e5b959bf71e89d4"><div class="ttname"><a href="input_8h.html#ada6852d4da13aa222e5b959bf71e89d4">ignoreBoundaryFaces</a></div><div class="ttdeci">bool ignoreBoundaryFaces</div><div class="ttdef"><b>Definition:</b> <a href="read_input_8cpp_source.html#l00473">readInput.cpp:473</a></div></div>
<div class="ttc" id="struct_fracture_groups_html"><div class="ttname"><a href="struct_fracture_groups.html">FractureGroups</a></div><div class="ttdef"><b>Definition:</b> <a href="structures_8h_source.html#l00208">structures.h:208</a></div></div>
<div class="ttc" id="struct_group_data_html_aa24a1818e0886f7099e6f08bd1ed1dcd"><div class="ttname"><a href="struct_group_data.html#aa24a1818e0886f7099e6f08bd1ed1dcd">GroupData::size</a></div><div class="ttdeci">unsigned int size</div><div class="ttdef"><b>Definition:</b> <a href="structures_8h_source.html#l00229">structures.h:229</a></div></div>
<div class="ttc" id="struct_poly_html_ae110548a9a60aacab55ecce02d759d8d"><div class="ttname"><a href="struct_poly.html#ae110548a9a60aacab55ecce02d759d8d">Poly::faces</a></div><div class="ttdeci">bool faces[6]</div><div class="ttdef"><b>Definition:</b> <a href="structures_8h_source.html#l00084">structures.h:84</a></div></div>
<div class="ttc" id="cluster_groups_8h_html"><div class="ttname"><a href="cluster_groups_8h.html">clusterGroups.h</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="cluster_groups_8cpp.html">clusterGroups.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.12 </li>
  </ul>
</div>
</body>
</html>
