threed-beam-fea/docs/html/setup_8h_source.html

175 lines
16 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.10"/>
<title>3D Beam Finite Element Code: include/setup.h 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="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { init_search(); });
</script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
extensions: ["tex2jax.js"],
jax: ["input/TeX","output/HTML-CSS"],
});
</script><script src="http://cdn.mathjax.org/mathjax/latest/MathJax.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="projectlogo"><img alt="Logo" src="logo_64x64.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">3D Beam Finite Element Code
&#160;<span id="projectnumber">1.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.10 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File&#160;List</span></a></li>
<li><a href="globals.html"><span>File&#160;Members</span></a></li>
</ul>
</div>
<!-- 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 id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">setup.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="setup_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">// Copyright 2015. All rights reserved.</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment">// Redistribution and use in source and binary forms, with or without</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment">// modification, are permitted provided that the following conditions are met:</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment">// * Redistributions of source code must retain the above copyright notice,</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment">// this list of conditions and the following disclaimer.</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment">// * Redistributions in binary form must reproduce the above copyright notice,</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment">// this list of conditions and the following disclaimer in the documentation</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment">// and/or other materials provided with the distribution.</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">// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &quot;AS IS&quot;</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment">// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment">// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment">// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="comment">// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="comment">// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="comment">// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="comment">// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="comment">// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="comment">// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="comment">// POSSIBILITY OF SUCH DAMAGE.</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="comment">// Author: ryan.latture@gmail.com (Ryan Latture)</span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;</div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#ifndef FEA_SETUP_H</span></div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="preprocessor">#define FEA_SETUP_H</span></div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;</div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="containers_8h.html">containers.h</a>&quot;</span></div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="csv__parser_8h.html">csv_parser.h</a>&quot;</span></div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="options_8h.html">options.h</a>&quot;</span></div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="preprocessor">#include &lt;rapidjson/document.h&gt;</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;<span class="preprocessor">#include &lt;rapidjson/filereadstream.h&gt;</span></div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacefea.html">fea</a> {</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; rapidjson::Document <a class="code" href="namespacefea.html#a126e737b8f8a337d3fb431ba213b4735">parseJSONConfig</a>(<span class="keyword">const</span> std::string &amp;config_filename);</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160;</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; std::vector&lt;Node&gt; <a class="code" href="namespacefea.html#aeb3c988a0fb1f75ea8a842e3b69f13eb">createNodeVecFromJSON</a>(<span class="keyword">const</span> rapidjson::Document &amp;config_doc);</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160;</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; std::vector&lt;Elem&gt; <a class="code" href="namespacefea.html#ab8f4352c4c5540dbc63ee1eedb6744c3">createElemVecFromJSON</a>(<span class="keyword">const</span> rapidjson::Document &amp;config_doc);</div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160;</div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; std::vector&lt;BC&gt; <a class="code" href="namespacefea.html#aa86bdb3a895956a13997d2d98097d42d">createBCVecFromJSON</a>(<span class="keyword">const</span> rapidjson::Document &amp;config_doc);</div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160;</div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; std::vector&lt;Force&gt; <a class="code" href="namespacefea.html#a0d1c659e6bbaea42ae48b489218d7530">createForceVecFromJSON</a>(<span class="keyword">const</span> rapidjson::Document &amp;config_doc);</div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160;</div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160; std::vector&lt;Tie&gt; <a class="code" href="namespacefea.html#a2fcdf225a9bd25d73c5494d86597025c">createTieVecFromJSON</a>(<span class="keyword">const</span> rapidjson::Document &amp;config_doc);</div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160;</div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160; Job <a class="code" href="namespacefea.html#aad7c45b93603bd80a9ff05c5e5c9a77c">createJobFromJSON</a>(<span class="keyword">const</span> rapidjson::Document &amp;config_doc);</div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160;</div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160; Options <a class="code" href="namespacefea.html#aabd98531e9fb83a92514ff834fb84ad6">createOptionsFromJSON</a>(<span class="keyword">const</span> rapidjson::Document &amp;config_doc);</div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160;}</div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160;</div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160;<span class="preprocessor">#endif // FEA_SETUP_H</span></div>
<div class="ttc" id="csv__parser_8h_html"><div class="ttname"><a href="csv__parser_8h.html">csv_parser.h</a></div></div>
<div class="ttc" id="containers_8h_html"><div class="ttname"><a href="containers_8h.html">containers.h</a></div></div>
<div class="ttc" id="namespacefea_html_a2fcdf225a9bd25d73c5494d86597025c"><div class="ttname"><a href="namespacefea.html#a2fcdf225a9bd25d73c5494d86597025c">fea::createTieVecFromJSON</a></div><div class="ttdeci">std::vector&lt; Tie &gt; createTieVecFromJSON(const rapidjson::Document &amp;config_doc)</div><div class="ttdef"><b>Definition:</b> setup.cpp:185</div></div>
<div class="ttc" id="namespacefea_html_aeb3c988a0fb1f75ea8a842e3b69f13eb"><div class="ttname"><a href="namespacefea.html#aeb3c988a0fb1f75ea8a842e3b69f13eb">fea::createNodeVecFromJSON</a></div><div class="ttdeci">std::vector&lt; Node &gt; createNodeVecFromJSON(const rapidjson::Document &amp;config_doc)</div><div class="ttdef"><b>Definition:</b> setup.cpp:77</div></div>
<div class="ttc" id="namespacefea_html_aa86bdb3a895956a13997d2d98097d42d"><div class="ttname"><a href="namespacefea.html#aa86bdb3a895956a13997d2d98097d42d">fea::createBCVecFromJSON</a></div><div class="ttdeci">std::vector&lt; BC &gt; createBCVecFromJSON(const rapidjson::Document &amp;config_doc)</div><div class="ttdef"><b>Definition:</b> setup.cpp:141</div></div>
<div class="ttc" id="namespacefea_html_a126e737b8f8a337d3fb431ba213b4735"><div class="ttname"><a href="namespacefea.html#a126e737b8f8a337d3fb431ba213b4735">fea::parseJSONConfig</a></div><div class="ttdeci">rapidjson::Document parseJSONConfig(const std::string &amp;config_filename)</div><div class="ttdef"><b>Definition:</b> setup.cpp:60</div></div>
<div class="ttc" id="namespacefea_html_a0d1c659e6bbaea42ae48b489218d7530"><div class="ttname"><a href="namespacefea.html#a0d1c659e6bbaea42ae48b489218d7530">fea::createForceVecFromJSON</a></div><div class="ttdeci">std::vector&lt; Force &gt; createForceVecFromJSON(const rapidjson::Document &amp;config_doc)</div><div class="ttdef"><b>Definition:</b> setup.cpp:163</div></div>
<div class="ttc" id="namespacefea_html_ab8f4352c4c5540dbc63ee1eedb6744c3"><div class="ttname"><a href="namespacefea.html#ab8f4352c4c5540dbc63ee1eedb6744c3">fea::createElemVecFromJSON</a></div><div class="ttdeci">std::vector&lt; Elem &gt; createElemVecFromJSON(const rapidjson::Document &amp;config_doc)</div><div class="ttdef"><b>Definition:</b> setup.cpp:102</div></div>
<div class="ttc" id="namespacefea_html_aabd98531e9fb83a92514ff834fb84ad6"><div class="ttname"><a href="namespacefea.html#aabd98531e9fb83a92514ff834fb84ad6">fea::createOptionsFromJSON</a></div><div class="ttdeci">Options createOptionsFromJSON(const rapidjson::Document &amp;config_doc)</div><div class="ttdef"><b>Definition:</b> setup.cpp:220</div></div>
<div class="ttc" id="options_8h_html"><div class="ttname"><a href="options_8h.html">options.h</a></div></div>
<div class="ttc" id="namespacefea_html"><div class="ttname"><a href="namespacefea.html">fea</a></div><div class="ttdef"><b>Definition:</b> containers.h:41</div></div>
<div class="ttc" id="namespacefea_html_aad7c45b93603bd80a9ff05c5e5c9a77c"><div class="ttname"><a href="namespacefea.html#aad7c45b93603bd80a9ff05c5e5c9a77c">fea::createJobFromJSON</a></div><div class="ttdeci">Job createJobFromJSON(const rapidjson::Document &amp;config_doc)</div><div class="ttdef"><b>Definition:</b> setup.cpp:209</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Thu Nov 5 2015 10:34:37 for 3D Beam Finite Element Code by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.10
</small></address>
</body>
</html>