<!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: FractureGroups Struct Reference</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('struct_fracture_groups.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="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="struct_fracture_groups-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">FractureGroups Struct Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="structures_8h_source.html">structures.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a516cbf1703fab7f652b098e19263cce0"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_fracture_groups.html#a516cbf1703fab7f652b098e19263cce0">FractureGroups</a> ()</td></tr>
<tr class="separator:a516cbf1703fab7f652b098e19263cce0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:acce15a51eb9dc55d1711469ef35460ae"><td class="memItemLeft" align="right" valign="top">unsigned long long int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_fracture_groups.html#acce15a51eb9dc55d1711469ef35460ae">groupNum</a></td></tr>
<tr class="separator:acce15a51eb9dc55d1711469ef35460ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab4d3e200eeeec2e52cd419a6555644c7"><td class="memItemLeft" align="right" valign="top">std::vector&lt; unsigned int &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_fracture_groups.html#ab4d3e200eeeec2e52cd419a6555644c7">polyList</a></td></tr>
<tr class="separator:ab4d3e200eeeec2e52cd419a6555644c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p><a class="el" href="struct_fracture_groups.html">FractureGroups</a> is a structure used to keep track of which fractures are in each cluster. <a class="el" href="struct_fracture_groups.html">FractureGroups</a> works in conjunction with <a class="el" href="struct_group_data.html">GroupData</a>.</p>
<p>FractGroups holds pointers/index numbers to the polygons belonging to group number 'groupNum'. Unlike <a class="el" href="struct_group_data.html">GroupData</a>, fractGroups does not stay aligned to cluster group numbers. To keep from copying, deleteing, and re-allocating memory when groups merge together, we simply change the variable 'groupNum' to the new group number and leave the polygon pointer/index list as is.</p>
<p>Because of this, there will be multiple <a class="el" href="struct_fracture_groups.html">FractureGroups</a> objects with the same group number when fracture clusters merge together, but with differnt polygons listed. To get all the polygons from a group we must search the fractGroups array for all matching groups and look at each of their polgon lists. </p>

<p>Definition at line <a class="el" href="structures_8h_source.html#l00208">208</a> of file <a class="el" href="structures_8h_source.html">structures.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a516cbf1703fab7f652b098e19263cce0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a516cbf1703fab7f652b098e19263cce0">&sect;&nbsp;</a></span>FractureGroups()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">FractureGroups::FractureGroups </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Initializes polyList vector to reserve enough memory for 100 floats. </p>

<p>Definition at line <a class="el" href="structures_8cpp_source.html#l00065">65</a> of file <a class="el" href="structures_8cpp_source.html">structures.cpp</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="acce15a51eb9dc55d1711469ef35460ae"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acce15a51eb9dc55d1711469ef35460ae">&sect;&nbsp;</a></span>groupNum</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned long long int FractureGroups::groupNum</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Fracture cluster group number. </p>

<p>Definition at line <a class="el" href="structures_8h_source.html#l00210">210</a> of file <a class="el" href="structures_8h_source.html">structures.h</a>.</p>

</div>
</div>
<a id="ab4d3e200eeeec2e52cd419a6555644c7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab4d3e200eeeec2e52cd419a6555644c7">&sect;&nbsp;</a></span>polyList</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt;unsigned int&gt; FractureGroups::polyList</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>List of polygon indices in the 'acceptedPoly' array in <a class="el" href="_d_f_nmain_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627">main()</a> which belong to this group. </p>

<p>Definition at line <a class="el" href="structures_8h_source.html#l00212">212</a> of file <a class="el" href="structures_8h_source.html">structures.h</a>.</p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following files:<ul>
<li><a class="el" href="structures_8h_source.html">structures.h</a></li>
<li><a class="el" href="structures_8cpp_source.html">structures.cpp</a></li>
</ul>
</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="struct_fracture_groups.html">FractureGroups</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>
