<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>dfnTrans: Docs_PT/ParticleTracking_source/ReadGridInit.c 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">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<link rel="search" href="search_opensearch.php?v=opensearch.xml" type="application/opensearchdescription+xml" title="dfnTrans"/>
<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">dfnTrans
   </div>
   <div id="projectbrief">Code for Particle Tracking simulations in 3D DFN</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,true,'search.php','Search');
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(function() {
    if ($('.searchresults').length > 0) { searchBox.DOMSearchField().focus(); }
  });
});
/* @license-end */</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">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('_read_grid_init_8c.html','');});
/* @license-end */
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">ReadGridInit.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;stdio.h&gt;</code><br />
<code>#include &lt;search.h&gt;</code><br />
<code>#include &lt;stdlib.h&gt;</code><br />
<code>#include &lt;math.h&gt;</code><br />
<code>#include &lt;string.h&gt;</code><br />
<code>#include &quot;<a class="el" href="_func_def_8h_source.html">FuncDef.h</a>&quot;</code><br />
<code>#include &lt;unistd.h&gt;</code><br />
</div>
<p><a href="_read_grid_init_8c_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="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structinpfile.html">inpfile</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a361538379ec6b2e063a620235b010bfc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_read_grid_init_8c.html#a361538379ec6b2e063a620235b010bfc">ReadInit</a> ()</td></tr>
<tr class="separator:a361538379ec6b2e063a620235b010bfc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a60556e448bef6314a77260487c969ced"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_read_grid_init_8c.html#a60556e448bef6314a77260487c969ced">ReadDataFiles</a> ()</td></tr>
<tr class="separator:a60556e448bef6314a77260487c969ced"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9730ad314b17991a43fca06a97274ff1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_read_grid_init_8c.html#a9730ad314b17991a43fca06a97274ff1">AdjacentCells</a> (int ln, int in, int jn, int kn)</td></tr>
<tr class="separator:a9730ad314b17991a43fca06a97274ff1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf46a0a89792c3085aa47f07957c6955"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_read_grid_init_8c.html#adf46a0a89792c3085aa47f07957c6955">ReadBoundaryNodes</a> ()</td></tr>
<tr class="separator:adf46a0a89792c3085aa47f07957c6955"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a205add90a27292ac5f18188fa35bcdf5"><td class="memItemLeft" align="right" valign="top">FILE *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_read_grid_init_8c.html#a205add90a27292ac5f18188fa35bcdf5">OpenFile</a> (char filen[120], char fileopt[2])</td></tr>
<tr class="separator:a205add90a27292ac5f18188fa35bcdf5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a335450331ee81be8a4f3dfda40186f5b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_read_grid_init_8c.html#a335450331ee81be8a4f3dfda40186f5b">ReadPFLOTRANfile</a> (int nedges)</td></tr>
<tr class="separator:a335450331ee81be8a4f3dfda40186f5b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9bf66a3ae3be79cacf8836e88dbdcef1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_read_grid_init_8c.html#a9bf66a3ae3be79cacf8836e88dbdcef1">ReadFEHMfile</a> (int nedges)</td></tr>
<tr class="separator:a9bf66a3ae3be79cacf8836e88dbdcef1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aee37300c235f6fed3eea46ac342e7be6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_read_grid_init_8c.html#aee37300c235f6fed3eea46ac342e7be6">WritingInit</a> ()</td></tr>
<tr class="separator:aee37300c235f6fed3eea46ac342e7be6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aac796a2c642d933ded40275edb457d16"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_read_grid_init_8c.html#aac796a2c642d933ded40275edb457d16">CheckGrid</a> ()</td></tr>
<tr class="separator:aac796a2c642d933ded40275edb457d16"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2afbea1a5d0b14d8a098f551fe055420"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structinpfile.html">inpfile</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_read_grid_init_8c.html#a2afbea1a5d0b14d8a098f551fe055420">Control_File</a> (char fileobject[], int ctr)</td></tr>
<tr class="separator:a2afbea1a5d0b14d8a098f551fe055420"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a484100bd5902d4efcdd15c21d1cb9048"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structinpfile.html">inpfile</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_read_grid_init_8c.html#a484100bd5902d4efcdd15c21d1cb9048">Control_File_Optional</a> (char fileobject[], int ctr)</td></tr>
<tr class="separator:a484100bd5902d4efcdd15c21d1cb9048"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0bbf0ae1391d4e6a5a3fbc8d360d18b3"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_read_grid_init_8c.html#a0bbf0ae1391d4e6a5a3fbc8d360d18b3">String_Compare</a> (char string1[], char string2[])</td></tr>
<tr class="separator:a0bbf0ae1391d4e6a5a3fbc8d360d18b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9bb4185d1b46d02dc42d5889e4d70ebf"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structinpfile.html">inpfile</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_read_grid_init_8c.html#a9bb4185d1b46d02dc42d5889e4d70ebf">Control_Data</a> (char fileobject[], int ctr)</td></tr>
<tr class="separator:a9bb4185d1b46d02dc42d5889e4d70ebf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a922a07b425353141b29d8d57e830a7c1"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structinpfile.html">inpfile</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_read_grid_init_8c.html#a922a07b425353141b29d8d57e830a7c1">Control_Param</a> (char fileobject[], int ctr)</td></tr>
<tr class="separator:a922a07b425353141b29d8d57e830a7c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a977295cc5cf9eca6fa850ec922f4a6b0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_read_grid_init_8c.html#a977295cc5cf9eca6fa850ec922f4a6b0">ReadAperture</a> ()</td></tr>
<tr class="separator:a977295cc5cf9eca6fa850ec922f4a6b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="a9730ad314b17991a43fca06a97274ff1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9730ad314b17991a43fca06a97274ff1">&#9670;&nbsp;</a></span>AdjacentCells()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void AdjacentCells </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>ln</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>in</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>jn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>kn</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The function defines adjacent triangular cells for each node </p>

<p class="definition">Definition at line <a class="el" href="_read_grid_init_8c_source.html#l00540">540</a> of file <a class="el" href="_read_grid_init_8c_source.html">ReadGridInit.c</a>.</p>

</div>
</div>
<a id="aac796a2c642d933ded40275edb457d16"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aac796a2c642d933ded40275edb457d16">&#9670;&nbsp;</a></span>CheckGrid()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CheckGrid </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The function checks the grid: looking for nodes that are defined as internal or external, but belong to two fractures and should be defined as interface nodes </p>

<p class="definition">Definition at line <a class="el" href="_read_grid_init_8c_source.html#l01055">1055</a> of file <a class="el" href="_read_grid_init_8c_source.html">ReadGridInit.c</a>.</p>

</div>
</div>
<a id="a9bb4185d1b46d02dc42d5889e4d70ebf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9bb4185d1b46d02dc42d5889e4d70ebf">&#9670;&nbsp;</a></span>Control_Data()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structinpfile.html">inpfile</a> Control_Data </td>
          <td>(</td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>fileobject</em>[], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>ctr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The function reads control file with input parameters to dfnTrans; returns input parameter value. If the parameter is not defined in the control file, the program is terminated. </p>

<p class="definition">Definition at line <a class="el" href="_read_grid_init_8c_source.html#l01201">1201</a> of file <a class="el" href="_read_grid_init_8c_source.html">ReadGridInit.c</a>.</p>

</div>
</div>
<a id="a2afbea1a5d0b14d8a098f551fe055420"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2afbea1a5d0b14d8a098f551fe055420">&#9670;&nbsp;</a></span>Control_File()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structinpfile.html">inpfile</a> Control_File </td>
          <td>(</td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>fileobject</em>[], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>ctr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The function reads control file with input parameters to dfnTrans; returns the file name and/or input parameter value. If the parameter is not defined in the control file, the program is terminated. </p>

<p class="definition">Definition at line <a class="el" href="_read_grid_init_8c_source.html#l01090">1090</a> of file <a class="el" href="_read_grid_init_8c_source.html">ReadGridInit.c</a>.</p>

</div>
</div>
<a id="a484100bd5902d4efcdd15c21d1cb9048"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a484100bd5902d4efcdd15c21d1cb9048">&#9670;&nbsp;</a></span>Control_File_Optional()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structinpfile.html">inpfile</a> Control_File_Optional </td>
          <td>(</td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>fileobject</em>[], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>ctr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The function reads control file with input parameters to dfnTrans; returns the file name and/or input parameter value. This function is called for the optional parameters only. If the parameter is not defined in the control file, the default value is used. </p>

<p class="definition">Definition at line <a class="el" href="_read_grid_init_8c_source.html#l01135">1135</a> of file <a class="el" href="_read_grid_init_8c_source.html">ReadGridInit.c</a>.</p>

</div>
</div>
<a id="a922a07b425353141b29d8d57e830a7c1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a922a07b425353141b29d8d57e830a7c1">&#9670;&nbsp;</a></span>Control_Param()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structinpfile.html">inpfile</a> Control_Param </td>
          <td>(</td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>fileobject</em>[], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>ctr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The function reads control file with input parameters to dfnTrans; returns input parameter value. If the parameter is not defined in the control file, the program is terminated. </p>

<p class="definition">Definition at line <a class="el" href="_read_grid_init_8c_source.html#l01245">1245</a> of file <a class="el" href="_read_grid_init_8c_source.html">ReadGridInit.c</a>.</p>

</div>
</div>
<a id="a205add90a27292ac5f18188fa35bcdf5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a205add90a27292ac5f18188fa35bcdf5">&#9670;&nbsp;</a></span>OpenFile()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">FILE* OpenFile </td>
          <td>(</td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>filen</em>[120], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>fileopt</em>[2]&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The function opens file for reading or writing. If error - the program is terminated. </p>

<p class="definition">Definition at line <a class="el" href="_read_grid_init_8c_source.html#l00728">728</a> of file <a class="el" href="_read_grid_init_8c_source.html">ReadGridInit.c</a>.</p>

</div>
</div>
<a id="a977295cc5cf9eca6fa850ec922f4a6b0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a977295cc5cf9eca6fa850ec922f4a6b0">&#9670;&nbsp;</a></span>ReadAperture()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ReadAperture </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The function reads apertures of fractures in DFN. Aperture can be defined for each fracture or for every node/cell, representing internal heterogeneity. </p>

<p class="definition">Definition at line <a class="el" href="_read_grid_init_8c_source.html#l01289">1289</a> of file <a class="el" href="_read_grid_init_8c_source.html">ReadGridInit.c</a>.</p>

</div>
</div>
<a id="adf46a0a89792c3085aa47f07957c6955"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adf46a0a89792c3085aa47f07957c6955">&#9670;&nbsp;</a></span>ReadBoundaryNodes()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ReadBoundaryNodes </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The functions reads node's IDs assigned to in-flow and out-flow boundaries. the total input flow flux is calculated. </p>

<p class="definition">Definition at line <a class="el" href="_read_grid_init_8c_source.html#l00581">581</a> of file <a class="el" href="_read_grid_init_8c_source.html">ReadGridInit.c</a>.</p>

</div>
</div>
<a id="a60556e448bef6314a77260487c969ced"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a60556e448bef6314a77260487c969ced">&#9670;&nbsp;</a></span>ReadDataFiles()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ReadDataFiles </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The function reads DFN mesh from inp and stor files </p>
<p>if no aperture file specified, the aperture of all fractures will be equal to thickness value </p>

<p class="definition">Definition at line <a class="el" href="_read_grid_init_8c_source.html#l00180">180</a> of file <a class="el" href="_read_grid_init_8c_source.html">ReadGridInit.c</a>.</p>

</div>
</div>
<a id="a9bf66a3ae3be79cacf8836e88dbdcef1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9bf66a3ae3be79cacf8836e88dbdcef1">&#9670;&nbsp;</a></span>ReadFEHMfile()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ReadFEHMfile </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>nedges</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The function opens and reads FEHM outputs; read in flow fluxes and cell volumes. </p>

<p class="definition">Definition at line <a class="el" href="_read_grid_init_8c_source.html#l00879">879</a> of file <a class="el" href="_read_grid_init_8c_source.html">ReadGridInit.c</a>.</p>

</div>
</div>
<a id="a361538379ec6b2e063a620235b010bfc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a361538379ec6b2e063a620235b010bfc">&#9670;&nbsp;</a></span>ReadInit()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ReadInit </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The function reads total number of nodes, triangular cells, fractures in DFN mesh. The memory is allocated for data structures: NODE, CELL, FRACTURE </p>

<p class="definition">Definition at line <a class="el" href="_read_grid_init_8c_source.html#l00016">16</a> of file <a class="el" href="_read_grid_init_8c_source.html">ReadGridInit.c</a>.</p>

</div>
</div>
<a id="a335450331ee81be8a4f3dfda40186f5b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a335450331ee81be8a4f3dfda40186f5b">&#9670;&nbsp;</a></span>ReadPFLOTRANfile()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ReadPFLOTRANfile </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>nedges</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The function opens and reads PFLOTRAN files, read in flow fluxes, areas, pressure. </p>

<p class="definition">Definition at line <a class="el" href="_read_grid_init_8c_source.html#l00742">742</a> of file <a class="el" href="_read_grid_init_8c_source.html">ReadGridInit.c</a>.</p>

</div>
</div>
<a id="a0bbf0ae1391d4e6a5a3fbc8d360d18b3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0bbf0ae1391d4e6a5a3fbc8d360d18b3">&#9670;&nbsp;</a></span>String_Compare()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int String_Compare </td>
          <td>(</td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>string1</em>[], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char&#160;</td>
          <td class="paramname"><em>string2</em>[]&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The finction performs a string comparison, used in the control file reading. </p>

<p class="definition">Definition at line <a class="el" href="_read_grid_init_8c_source.html#l01176">1176</a> of file <a class="el" href="_read_grid_init_8c_source.html">ReadGridInit.c</a>.</p>

</div>
</div>
<a id="aee37300c235f6fed3eea46ac342e7be6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aee37300c235f6fed3eea46ac342e7be6">&#9670;&nbsp;</a></span>WritingInit()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void WritingInit </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Functions write the data structure of nodes, cells and fractures into files in ASCII format with detail explanations. This output is optional and can be helpful in code debugging. </p>

<p class="definition">Definition at line <a class="el" href="_read_grid_init_8c_source.html#l00981">981</a> of file <a class="el" href="_read_grid_init_8c_source.html">ReadGridInit.c</a>.</p>

</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="dir_f80ddb2df819b297fd9c7beccba09984.html">Docs_PT</a></li><li class="navelem"><a class="el" href="dir_966eb28a5fc4cd2ac9e3086fcb212f97.html">ParticleTracking_source</a></li><li class="navelem"><a class="el" href="_read_grid_init_8c.html">ReadGridInit.c</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.15 </li>
  </ul>
</div>
</body>
</html>
