<!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: fractureEstimating.h File 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('fracture_estimating_8h.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="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">fractureEstimating.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;random&gt;</code><br />
<code>#include &lt;vector&gt;</code><br />
<code>#include &quot;<a class="el" href="structures_8h_source.html">structures.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="distributions_8h_source.html">distributions.h</a>&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for fractureEstimating.h:</div>
<div class="dyncontent">
<div class="center"><img src="fracture_estimating_8h__incl.png" border="0" usemap="#fracture_estimating_8h" alt=""/></div>
<map name="fracture_estimating_8h" id="fracture_estimating_8h">
<area shape="rect" id="node4" href="structures_8h.html" title="structures.h" alt="" coords="173,155,264,181"/>
<area shape="rect" id="node6" href="distributions_8h.html" title="distributions.h" alt="" coords="80,80,184,107"/>
<area shape="rect" id="node7" href="exp_dist_8h.html" title="expDist.h" alt="" coords="20,155,98,181"/>
</map>
</div>
</div><div class="textblock"><div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dyncontent">
<div class="center"><img src="fracture_estimating_8h__dep__incl.png" border="0" usemap="#fracture_estimating_8hdep" alt=""/></div>
<map name="fracture_estimating_8hdep" id="fracture_estimating_8hdep">
<area shape="rect" id="node2" href="_d_f_nmain_8cpp.html" title="DFNmain.cpp" alt="" coords="5,80,109,107"/>
<area shape="rect" id="node3" href="fracture_estimating_8cpp.html" title="fractureEstimating.cpp" alt="" coords="133,80,288,107"/>
</map>
</div>
</div>
<p><a href="fracture_estimating_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a0d86e9931b24c2b392a6a307d7725c69"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fracture_estimating_8h.html#a0d86e9931b24c2b392a6a307d7725c69">printShapeFams</a> (std::vector&lt; <a class="el" href="struct_shape.html">Shape</a> &gt; &amp;shapeFamilies)</td></tr>
<tr class="separator:a0d86e9931b24c2b392a6a307d7725c69"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7cf21b594fd24b2879af467e23bdac0a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fracture_estimating_8h.html#a7cf21b594fd24b2879af467e23bdac0a">dryRun</a> (std::vector&lt; <a class="el" href="struct_shape.html">Shape</a> &gt; &amp;shapeFamilies, float *shapeProb, std::mt19937_64 &amp;generator, <a class="el" href="class_distributions.html">Distributions</a> &amp;distributions)</td></tr>
<tr class="separator:a7cf21b594fd24b2879af467e23bdac0a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a26080c2634b53083b47b763b66bd4911"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fracture_estimating_8h.html#a26080c2634b53083b47b763b66bd4911">addRadiiToLists</a> (float percent, std::vector&lt; <a class="el" href="struct_shape.html">Shape</a> &gt; &amp;shapeFamilies, std::mt19937_64 &amp;generator, <a class="el" href="class_distributions.html">Distributions</a> &amp;distributions)</td></tr>
<tr class="separator:a26080c2634b53083b47b763b66bd4911"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a614416ee97418d199ae89da90607406b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fracture_estimating_8h.html#a614416ee97418d199ae89da90607406b">printGeneratingFracturesLessThanHWarning</a> (int famIndex, <a class="el" href="struct_shape.html">Shape</a> &amp;shapeFam)</td></tr>
<tr class="separator:a614416ee97418d199ae89da90607406b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acb37fb0878da2fa7f0648216fb4189e4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fracture_estimating_8h.html#acb37fb0878da2fa7f0648216fb4189e4">generateRadiiLists_nPolyOption</a> (std::vector&lt; <a class="el" href="struct_shape.html">Shape</a> &gt; &amp;shapeFamilies, float *<a class="el" href="read_input_8cpp.html#aeb1032cfdc6f748b280a4a0a59375d11">famProb</a>, std::mt19937_64 &amp;generator, <a class="el" href="class_distributions.html">Distributions</a> &amp;distributions)</td></tr>
<tr class="separator:acb37fb0878da2fa7f0648216fb4189e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a00c815b95d7e3d0cba9f4342903779e5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fracture_estimating_8h.html#a00c815b95d7e3d0cba9f4342903779e5">addRadii</a> (int amountToadd, int famIdx, <a class="el" href="struct_shape.html">Shape</a> &amp;shapeFam, std::mt19937_64 &amp;generator, <a class="el" href="class_distributions.html">Distributions</a> &amp;distributions)</td></tr>
<tr class="separator:a00c815b95d7e3d0cba9f4342903779e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae3e14f5bf8ea7b1470e64a74e0354947"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fracture_estimating_8h.html#ae3e14f5bf8ea7b1470e64a74e0354947">sortRadii</a> (std::vector&lt; <a class="el" href="struct_shape.html">Shape</a> &gt; &amp;shapeFam)</td></tr>
<tr class="separator:ae3e14f5bf8ea7b1470e64a74e0354947"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="a00c815b95d7e3d0cba9f4342903779e5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a00c815b95d7e3d0cba9f4342903779e5">&sect;&nbsp;</a></span>addRadii()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void addRadii </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>amountToAdd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>famIdx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_shape.html">Shape</a> &amp;&#160;</td>
          <td class="paramname"><em>shapeFam</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::mt19937_64 &amp;&#160;</td>
          <td class="paramname"><em>generator</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_distributions.html">Distributions</a> &amp;&#160;</td>
          <td class="paramname"><em>distributions</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Adds 'amountToAdd' more radii to 'shapeFam's radii list Arg 1: Number of fractures to add to the list Arg 2: Family index to the global <a class="el" href="struct_shape.html">Shape</a> structure array ('shapeFamilies' in <a class="el" href="_d_f_nmain_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627">main()</a>) which the radii are being added to Arg 3: The '<a class="el" href="struct_shape.html">Shape</a>' structure which the radii are being added to Arg 4: Random number generator (see std &lt;random&gt; library) Arg 5: <a class="el" href="class_distributions.html">Distributions</a> class (currently only used for exponential dist) </p>

<p>Definition at line <a class="el" href="fracture_estimating_8cpp_source.html#l00100">100</a> of file <a class="el" href="fracture_estimating_8cpp_source.html">fractureEstimating.cpp</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="fracture_estimating_8h_a00c815b95d7e3d0cba9f4342903779e5_cgraph.png" border="0" usemap="#fracture_estimating_8h_a00c815b95d7e3d0cba9f4342903779e5_cgraph" alt=""/></div>
<map name="fracture_estimating_8h_a00c815b95d7e3d0cba9f4342903779e5_cgraph" id="fracture_estimating_8h_a00c815b95d7e3d0cba9f4342903779e5_cgraph">
<area shape="rect" id="node2" href="fracture_estimating_8cpp.html#a614416ee97418d199ae89da90607406b" title="printGeneratingFractures\lLessThanHWarning" alt="" coords="128,23,299,65"/>
<area shape="rect" id="node5" href="generating_points_8cpp.html#a91e58d3a0d7a5e9d65cf15471f02fab0" title="truncatedPowerLaw" alt="" coords="143,89,283,116"/>
<area shape="rect" id="node6" href="class_exp_dist.html#a6d4f5a28aa202431400586aa8c441fad" title="ExpDist::getValue" alt="" coords="149,140,277,167"/>
<area shape="rect" id="node3" href="insert_shape_8cpp.html#ae4fa66ac2a60ae519ee05168b44c9917" title="shapeType" alt="" coords="367,5,455,32"/>
<area shape="rect" id="node4" href="insert_shape_8cpp.html#a9b3f632508ac90991bd6ebee7bcfbc2f" title="getFamilyNumber" alt="" coords="347,56,474,83"/>
</map>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="fracture_estimating_8h_a00c815b95d7e3d0cba9f4342903779e5_icgraph.png" border="0" usemap="#fracture_estimating_8h_a00c815b95d7e3d0cba9f4342903779e5_icgraph" alt=""/></div>
<map name="fracture_estimating_8h_a00c815b95d7e3d0cba9f4342903779e5_icgraph" id="fracture_estimating_8h_a00c815b95d7e3d0cba9f4342903779e5_icgraph">
<area shape="rect" id="node2" href="fracture_estimating_8h.html#acb37fb0878da2fa7f0648216fb4189e4" title="generateRadiiLists\l_nPolyOption" alt="" coords="129,5,261,46"/>
<area shape="rect" id="node4" href="fracture_estimating_8h.html#a26080c2634b53083b47b763b66bd4911" title="addRadiiToLists" alt="" coords="136,71,253,97"/>
<area shape="rect" id="node3" href="_d_f_nmain_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="309,41,360,68"/>
</map>
</div>

</div>
</div>
<a id="a26080c2634b53083b47b763b66bd4911"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a26080c2634b53083b47b763b66bd4911">&sect;&nbsp;</a></span>addRadiiToLists()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void addRadiiToLists </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>percent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::vector&lt; <a class="el" href="struct_shape.html">Shape</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>shapeFamilies</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::mt19937_64 &amp;&#160;</td>
          <td class="paramname"><em>generator</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_distributions.html">Distributions</a> &amp;&#160;</td>
          <td class="paramname"><em>distributions</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Function adds a percentage more radii to the fracture families radii lists based on each families distribution. This helps account for fracture rejections Arg 1: Percentage to increase the list by. eg .10 will add %10 more radii Arg 2: vector&lt;Shape&gt; array of stochastic fracture families Arg 3: Random number generator (see std &lt;random&gt; library) Arg 4: <a class="el" href="class_distributions.html">Distributions</a> class (currently only used for exponential dist) </p>

<p>Definition at line <a class="el" href="fracture_estimating_8cpp_source.html#l00082">82</a> of file <a class="el" href="fracture_estimating_8cpp_source.html">fractureEstimating.cpp</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="fracture_estimating_8h_a26080c2634b53083b47b763b66bd4911_cgraph.png" border="0" usemap="#fracture_estimating_8h_a26080c2634b53083b47b763b66bd4911_cgraph" alt=""/></div>
<map name="fracture_estimating_8h_a26080c2634b53083b47b763b66bd4911_cgraph" id="fracture_estimating_8h_a26080c2634b53083b47b763b66bd4911_cgraph">
<area shape="rect" id="node2" href="fracture_estimating_8cpp.html#a140fd92d8397f94299e3b1df7fed9af4" title="addRadii" alt="" coords="171,89,245,116"/>
<area shape="rect" id="node3" href="fracture_estimating_8cpp.html#a614416ee97418d199ae89da90607406b" title="printGeneratingFractures\lLessThanHWarning" alt="" coords="293,23,464,65"/>
<area shape="rect" id="node6" href="generating_points_8cpp.html#a91e58d3a0d7a5e9d65cf15471f02fab0" title="truncatedPowerLaw" alt="" coords="309,89,449,116"/>
<area shape="rect" id="node7" href="class_exp_dist.html#a6d4f5a28aa202431400586aa8c441fad" title="ExpDist::getValue" alt="" coords="315,140,443,167"/>
<area shape="rect" id="node4" href="insert_shape_8cpp.html#ae4fa66ac2a60ae519ee05168b44c9917" title="shapeType" alt="" coords="532,5,620,32"/>
<area shape="rect" id="node5" href="insert_shape_8cpp.html#a9b3f632508ac90991bd6ebee7bcfbc2f" title="getFamilyNumber" alt="" coords="513,56,639,83"/>
</map>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="fracture_estimating_8h_a26080c2634b53083b47b763b66bd4911_icgraph.png" border="0" usemap="#fracture_estimating_8h_a26080c2634b53083b47b763b66bd4911_icgraph" alt=""/></div>
<map name="fracture_estimating_8h_a26080c2634b53083b47b763b66bd4911_icgraph" id="fracture_estimating_8h_a26080c2634b53083b47b763b66bd4911_icgraph">
<area shape="rect" id="node2" href="_d_f_nmain_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="171,5,221,32"/>
</map>
</div>

</div>
</div>
<a id="a7cf21b594fd24b2879af467e23bdac0a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7cf21b594fd24b2879af467e23bdac0a">&sect;&nbsp;</a></span>dryRun()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void dryRun </td>
          <td>(</td>
          <td class="paramtype">std::vector&lt; <a class="el" href="struct_shape.html">Shape</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>shapeFamilies</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float *&#160;</td>
          <td class="paramname"><em>shapeProb</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::mt19937_64 &amp;&#160;</td>
          <td class="paramname"><em>generator</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_distributions.html">Distributions</a> &amp;&#160;</td>
          <td class="paramname"><em>distributions</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Inserts fractures into domain with FRAM disabled Simply inserts and truncates fractures on the domain until reqired P32 is met. Used to estimate and generate radii lists for each fracture family. Arg 1: vector&lt;Shape&gt; array of stochastic fracture families Arg 2: The probabilities for each families insertion into domain (famProb) in input file Arg 3: Random number generator (see std &lt;random&gt; library) Arg 4: <a class="el" href="class_distributions.html">Distributions</a> class (currently only used for exponential dist) </p>

<p>Definition at line <a class="el" href="fracture_estimating_8cpp_source.html#l00174">174</a> of file <a class="el" href="fracture_estimating_8cpp_source.html">fractureEstimating.cpp</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="fracture_estimating_8h_a7cf21b594fd24b2879af467e23bdac0a_cgraph.png" border="0" usemap="#fracture_estimating_8h_a7cf21b594fd24b2879af467e23bdac0a_cgraph" alt=""/></div>
<map name="fracture_estimating_8h_a7cf21b594fd24b2879af467e23bdac0a_cgraph" id="fracture_estimating_8h_a7cf21b594fd24b2879af467e23bdac0a_cgraph">
<area shape="rect" id="node2" href="math_functions_8cpp.html#a9422106ad945a110b0cf696050962556" title="createCDF" alt="" coords="411,30,498,57"/>
<area shape="rect" id="node3" href="insert_shape_8cpp.html#a262d50919e2ca1c4e8b32ec027a52b57" title="p32Complete" alt="" coords="176,56,277,82"/>
<area shape="rect" id="node4" href="insert_shape_8cpp.html#aa49097ed959c129cc9c8d11c6053ec71" title="getLargestFractureRadius" alt="" coords="139,106,315,133"/>
<area shape="rect" id="node5" href="math_functions_8cpp.html#ad67ac7ecedfff7a737cd47a2f63b473a" title="cdfIdxFromFamNum" alt="" coords="155,157,299,184"/>
<area shape="rect" id="node6" href="insert_shape_8cpp.html#a4a4d307b0a091a6159358f312371ae95" title="generatePoly_withRadius" alt="" coords="140,360,313,386"/>
<area shape="rect" id="node19" href="math_functions_8cpp.html#a2540d3ded7bd488a924ce2e4c2443261" title="indexFromProb_and_P32Status" alt="" coords="121,258,333,285"/>
<area shape="rect" id="node21" href="insert_shape_8cpp.html#a4f91304a14fefba4d4f93f2f3e54dee4" title="generatePoly" alt="" coords="177,448,277,474"/>
<area shape="rect" id="node25" href="domain_8cpp.html#aed3d77c17f33d2024704b479d0885332" title="domainTruncation" alt="" coords="162,726,291,753"/>
<area shape="rect" id="node26" href="insert_shape_8cpp.html#afa95ede56e6ecb8918b61c5a2815d40d" title="reTranslatePoly" alt="" coords="169,309,285,336"/>
<area shape="rect" id="node27" href="math_functions_8cpp.html#a78276693aa55fab858a41366e5b4aa73" title="getArea" alt="" coords="192,777,261,804"/>
<area shape="rect" id="node28" href="math_functions_8cpp.html#a55646cd87f15106134e9cb832492e1f6" title="adjustCDF_and_famProb" alt="" coords="141,208,313,234"/>
<area shape="rect" id="node7" href="insert_shape_8cpp.html#aed01cfb18a8a6b4ec394783593d5765f" title="initializeRectVertices" alt="" coords="382,448,527,474"/>
<area shape="rect" id="node8" href="insert_shape_8cpp.html#a8ed0d23da7ff9cd1f7c4109a4c478071" title="initializeEllVertices" alt="" coords="389,346,521,373"/>
<area shape="rect" id="node9" href="computational_geometry_8cpp.html#a878eeb1b4990cde9d7d12a64f647af4d" title="applyRotation2D" alt="" coords="395,397,515,424"/>
<area shape="rect" id="node10" href="generating_points_8cpp.html#a2f7b981bd314f565407a2db0358bf81b" title="fisherDistribution" alt="" coords="577,588,698,614"/>
<area shape="rect" id="node13" href="vector_functions_8h.html#a92da2058f3ed2a6db16d2fe0e445794a" title="magnitude" alt="" coords="413,752,497,778"/>
<area shape="rect" id="node14" href="vector_functions_8h.html#a48bb00fc4195377b229efe044f3bb67e" title="normalize" alt="" coords="415,498,495,525"/>
<area shape="rect" id="node15" href="computational_geometry_8cpp.html#af7f1ba8a57908229078780a2695e4e46" title="applyRotation3D" alt="" coords="395,296,515,322"/>
<area shape="rect" id="node17" href="generating_points_8cpp.html#a152eb5ef32d8e1dd69785a1e05d9c8c0" title="randomTranslation" alt="" coords="388,194,521,221"/>
<area shape="rect" id="node18" href="computational_geometry_8cpp.html#a3098cccf29c7a47d2eae661b0f545224" title="translate" alt="" coords="418,245,491,272"/>
<area shape="rect" id="node11" href="vector_functions_8h.html#a94303b1c8dd36d71e57fd0e4d5d26ae3" title="crossProduct" alt="" coords="747,537,847,564"/>
<area shape="rect" id="node12" href="vector_functions_8h.html#abb1d4beb5939c7a5ddd4978c15fab7bb" title="dotProduct" alt="" coords="754,588,841,614"/>
<area shape="rect" id="node16" href="computational_geometry_8cpp.html#a8aaea6ef9d977f6d7d571d45ace1ad5d" title="rotationMatrix" alt="" coords="586,537,689,564"/>
<area shape="rect" id="node20" href="math_functions_8cpp.html#a5eae1db9cbad8e807a0d677bcd805d36" title="indexFromProb" alt="" coords="398,93,511,120"/>
<area shape="rect" id="node22" href="insert_shape_8cpp.html#ae4fa66ac2a60ae519ee05168b44c9917" title="shapeType" alt="" coords="411,701,499,728"/>
<area shape="rect" id="node23" href="insert_shape_8cpp.html#a9b3f632508ac90991bd6ebee7bcfbc2f" title="getFamilyNumber" alt="" coords="391,549,518,576"/>
<area shape="rect" id="node24" href="generating_points_8cpp.html#a91e58d3a0d7a5e9d65cf15471f02fab0" title="truncatedPowerLaw" alt="" coords="385,600,525,626"/>
</map>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="fracture_estimating_8h_a7cf21b594fd24b2879af467e23bdac0a_icgraph.png" border="0" usemap="#fracture_estimating_8h_a7cf21b594fd24b2879af467e23bdac0a_icgraph" alt=""/></div>
<map name="fracture_estimating_8h_a7cf21b594fd24b2879af467e23bdac0a_icgraph" id="fracture_estimating_8h_a7cf21b594fd24b2879af467e23bdac0a_icgraph">
<area shape="rect" id="node2" href="_d_f_nmain_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="120,5,171,32"/>
</map>
</div>

</div>
</div>
<a id="acb37fb0878da2fa7f0648216fb4189e4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acb37fb0878da2fa7f0648216fb4189e4">&sect;&nbsp;</a></span>generateRadiiLists_nPolyOption()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void generateRadiiLists_nPolyOption </td>
          <td>(</td>
          <td class="paramtype">std::vector&lt; <a class="el" href="struct_shape.html">Shape</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>shapeFamilies</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float *&#160;</td>
          <td class="paramname"><em>famProb</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::mt19937_64 &amp;&#160;</td>
          <td class="paramname"><em>generator</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_distributions.html">Distributions</a> &amp;&#160;</td>
          <td class="paramname"><em>distributions</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Estimates the number of fractures needed for each family and creates radii lists for each family based on their distribution. Arg 1: vector&lt;Shape&gt; array of stochastic fracture families Arg 2: Family probablity array ('famProb' in input file) Arg 3: Random number generator, see std &lt;random&gt; library Arg 4: Reference to <a class="el" href="class_distributions.html">Distributions</a> class (used for exponential distribution) </p>

<p>Definition at line <a class="el" href="fracture_estimating_8cpp_source.html#l00031">31</a> of file <a class="el" href="fracture_estimating_8cpp_source.html">fractureEstimating.cpp</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="fracture_estimating_8h_acb37fb0878da2fa7f0648216fb4189e4_cgraph.png" border="0" usemap="#fracture_estimating_8h_acb37fb0878da2fa7f0648216fb4189e4_cgraph" alt=""/></div>
<map name="fracture_estimating_8h_acb37fb0878da2fa7f0648216fb4189e4_cgraph" id="fracture_estimating_8h_acb37fb0878da2fa7f0648216fb4189e4_cgraph">
<area shape="rect" id="node2" href="insert_shape_8cpp.html#aa49097ed959c129cc9c8d11c6053ec71" title="getLargestFractureRadius" alt="" coords="187,39,363,65"/>
<area shape="rect" id="node3" href="fracture_estimating_8cpp.html#a140fd92d8397f94299e3b1df7fed9af4" title="addRadii" alt="" coords="237,89,312,116"/>
<area shape="rect" id="node4" href="fracture_estimating_8cpp.html#a614416ee97418d199ae89da90607406b" title="printGeneratingFractures\lLessThanHWarning" alt="" coords="411,23,581,65"/>
<area shape="rect" id="node7" href="generating_points_8cpp.html#a91e58d3a0d7a5e9d65cf15471f02fab0" title="truncatedPowerLaw" alt="" coords="426,89,566,116"/>
<area shape="rect" id="node8" href="class_exp_dist.html#a6d4f5a28aa202431400586aa8c441fad" title="ExpDist::getValue" alt="" coords="432,140,560,167"/>
<area shape="rect" id="node5" href="insert_shape_8cpp.html#ae4fa66ac2a60ae519ee05168b44c9917" title="shapeType" alt="" coords="649,5,737,32"/>
<area shape="rect" id="node6" href="insert_shape_8cpp.html#a9b3f632508ac90991bd6ebee7bcfbc2f" title="getFamilyNumber" alt="" coords="630,56,757,83"/>
</map>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="fracture_estimating_8h_acb37fb0878da2fa7f0648216fb4189e4_icgraph.png" border="0" usemap="#fracture_estimating_8h_acb37fb0878da2fa7f0648216fb4189e4_icgraph" alt=""/></div>
<map name="fracture_estimating_8h_acb37fb0878da2fa7f0648216fb4189e4_icgraph" id="fracture_estimating_8h_acb37fb0878da2fa7f0648216fb4189e4_icgraph">
<area shape="rect" id="node2" href="_d_f_nmain_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="187,12,237,39"/>
</map>
</div>

</div>
</div>
<a id="a614416ee97418d199ae89da90607406b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a614416ee97418d199ae89da90607406b">&sect;&nbsp;</a></span>printGeneratingFracturesLessThanHWarning()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void printGeneratingFracturesLessThanHWarning </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>famIndex</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_shape.html">Shape</a> &amp;&#160;</td>
          <td class="paramname"><em>shapeFam</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>This function prints a warning to the user when the random generation of fracture radii lenths is continuously smaller than the minimum defined radii allowed (defined by user in the input file) Arg 1: Index to the family in vecotr&lt;Shape&gt; array the warning is refering to Arg 2: <a class="el" href="struct_shape.html">Shape</a> structure the warning is refering to </p>

<p>Definition at line <a class="el" href="fracture_estimating_8cpp_source.html#l00064">64</a> of file <a class="el" href="fracture_estimating_8cpp_source.html">fractureEstimating.cpp</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="fracture_estimating_8h_a614416ee97418d199ae89da90607406b_cgraph.png" border="0" usemap="#fracture_estimating_8h_a614416ee97418d199ae89da90607406b_cgraph" alt=""/></div>
<map name="fracture_estimating_8h_a614416ee97418d199ae89da90607406b_cgraph" id="fracture_estimating_8h_a614416ee97418d199ae89da90607406b_cgraph">
<area shape="rect" id="node2" href="insert_shape_8cpp.html#ae4fa66ac2a60ae519ee05168b44c9917" title="shapeType" alt="" coords="244,5,332,32"/>
<area shape="rect" id="node3" href="insert_shape_8cpp.html#a9b3f632508ac90991bd6ebee7bcfbc2f" title="getFamilyNumber" alt="" coords="225,56,351,83"/>
</map>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="fracture_estimating_8h_a614416ee97418d199ae89da90607406b_icgraph.png" border="0" usemap="#fracture_estimating_8h_a614416ee97418d199ae89da90607406b_icgraph" alt=""/></div>
<map name="fracture_estimating_8h_a614416ee97418d199ae89da90607406b_icgraph" id="fracture_estimating_8h_a614416ee97418d199ae89da90607406b_icgraph">
<area shape="rect" id="node2" href="fracture_estimating_8h.html#a00c815b95d7e3d0cba9f4342903779e5" title="addRadii" alt="" coords="224,41,299,68"/>
<area shape="rect" id="node3" href="fracture_estimating_8h.html#acb37fb0878da2fa7f0648216fb4189e4" title="generateRadiiLists\l_nPolyOption" alt="" coords="347,5,479,46"/>
<area shape="rect" id="node5" href="fracture_estimating_8h.html#a26080c2634b53083b47b763b66bd4911" title="addRadiiToLists" alt="" coords="355,71,472,97"/>
<area shape="rect" id="node4" href="_d_f_nmain_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="528,41,579,68"/>
</map>
</div>

</div>
</div>
<a id="a0d86e9931b24c2b392a6a307d7725c69"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0d86e9931b24c2b392a6a307d7725c69">&sect;&nbsp;</a></span>printShapeFams()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void printShapeFams </td>
          <td>(</td>
          <td class="paramtype">std::vector&lt; <a class="el" href="struct_shape.html">Shape</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>shapeFamilies</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Print all fracture <a class="el" href="struct_shape.html">Shape</a> families and variables to screen. Arg 1: std vector array of <a class="el" href="struct_shape.html">Shape</a> </p>

<p>Definition at line <a class="el" href="debug_functions_8cpp_source.html#l00119">119</a> of file <a class="el" href="debug_functions_8cpp_source.html">debugFunctions.cpp</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="fracture_estimating_8h_a0d86e9931b24c2b392a6a307d7725c69_cgraph.png" border="0" usemap="#fracture_estimating_8h_a0d86e9931b24c2b392a6a307d7725c69_cgraph" alt=""/></div>
<map name="fracture_estimating_8h_a0d86e9931b24c2b392a6a307d7725c69_cgraph" id="fracture_estimating_8h_a0d86e9931b24c2b392a6a307d7725c69_cgraph">
<area shape="rect" id="node2" href="insert_shape_8cpp.html#ae4fa66ac2a60ae519ee05168b44c9917" title="shapeType" alt="" coords="193,5,281,32"/>
<area shape="rect" id="node3" href="insert_shape_8cpp.html#a9b3f632508ac90991bd6ebee7bcfbc2f" title="getFamilyNumber" alt="" coords="174,56,301,83"/>
</map>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="fracture_estimating_8h_a0d86e9931b24c2b392a6a307d7725c69_icgraph.png" border="0" usemap="#fracture_estimating_8h_a0d86e9931b24c2b392a6a307d7725c69_icgraph" alt=""/></div>
<map name="fracture_estimating_8h_a0d86e9931b24c2b392a6a307d7725c69_icgraph" id="fracture_estimating_8h_a0d86e9931b24c2b392a6a307d7725c69_icgraph">
<area shape="rect" id="node2" href="_d_f_nmain_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="173,5,224,32"/>
</map>
</div>

</div>
</div>
<a id="ae3e14f5bf8ea7b1470e64a74e0354947"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae3e14f5bf8ea7b1470e64a74e0354947">&sect;&nbsp;</a></span>sortRadii()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void sortRadii </td>
          <td>(</td>
          <td class="paramtype">std::vector&lt; <a class="el" href="struct_shape.html">Shape</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>shapeFam</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Uses std::sort to sort each family's radii list from largest to smallest. This will allow the DFN gereration to start from largest to smallest fractures. Arg 1: vector&lt;Shape&gt; array of stochastic fracture families </p>

<p>Definition at line <a class="el" href="fracture_estimating_8cpp_source.html#l00016">16</a> of file <a class="el" href="fracture_estimating_8cpp_source.html">fractureEstimating.cpp</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="fracture_estimating_8h_ae3e14f5bf8ea7b1470e64a74e0354947_cgraph.png" border="0" usemap="#fracture_estimating_8h_ae3e14f5bf8ea7b1470e64a74e0354947_cgraph" alt=""/></div>
<map name="fracture_estimating_8h_ae3e14f5bf8ea7b1470e64a74e0354947_cgraph" id="fracture_estimating_8h_ae3e14f5bf8ea7b1470e64a74e0354947_cgraph">
<area shape="rect" id="node2" href="generating_points_8cpp.html#aa3af81bf42f3459e297870e04f2966c0" title="greaterThan" alt="" coords="129,5,223,32"/>
</map>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="fracture_estimating_8h_ae3e14f5bf8ea7b1470e64a74e0354947_icgraph.png" border="0" usemap="#fracture_estimating_8h_ae3e14f5bf8ea7b1470e64a74e0354947_icgraph" alt=""/></div>
<map name="fracture_estimating_8h_ae3e14f5bf8ea7b1470e64a74e0354947_icgraph" id="fracture_estimating_8h_ae3e14f5bf8ea7b1470e64a74e0354947_icgraph">
<area shape="rect" id="node2" href="_d_f_nmain_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="128,5,179,32"/>
</map>
</div>

</div>
</div>
</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="fracture_estimating_8h.html">fractureEstimating.h</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>
