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

155 lines
10 KiB
HTML
Raw Normal View History

2015-11-05 19:36:26 +01:00
<!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: src/threed_beam_fea.cpp 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="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_b6f8d86697f10146feb4e19cf87ea883.html">src</a></li> </ul>
2015-11-05 19:36:26 +01:00
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#namespaces">Namespaces</a> &#124;
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">threed_beam_fea.cpp File Reference</div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;boost/format.hpp&gt;</code><br />
<code>#include &lt;exception&gt;</code><br />
<code>#include &lt;fstream&gt;</code><br />
<code>#include &lt;iomanip&gt;</code><br />
<code>#include &quot;<a class="el" href="threed__beam__fea_8h_source.html">threed_beam_fea.h</a>&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for threed_beam_fea.cpp:</div>
<div class="dyncontent">
<div class="center"><img src="threed__beam__fea_8cpp__incl.png" border="0" usemap="#src_2threed__beam__fea_8cpp" alt=""/></div>
<map name="src_2threed__beam__fea_8cpp" id="src_2threed__beam__fea_8cpp">
<area shape="rect" id="node6" href="threed__beam__fea_8h.html" title="threed_beam_fea.h" alt="" coords="1095,80,1233,107"/>
<area shape="rect" id="node15" href="containers_8h.html" title="containers.h" alt="" coords="1431,155,1527,181"/>
<area shape="rect" id="node17" href="options_8h.html" title="options.h" alt="" coords="613,155,691,181"/>
<area shape="rect" id="node19" href="summary_8h.html" title="summary.h" alt="" coords="715,155,803,181"/>
<area shape="rect" id="node20" href="csv__parser_8h.html" title="csv_parser.h" alt="" coords="491,155,589,181"/>
</map>
</div>
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespacefea"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacefea.html">fea</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:a22c94233f560b36c5e782d6e73cebae3"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacefea.html#a22c94233f560b36c5e782d6e73cebae3">fea::norm</a> (const Node &amp;n1, const Node &amp;n2)</td></tr>
<tr class="memdesc:a22c94233f560b36c5e782d6e73cebae3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calculates the distance between 2 nodes. <a href="namespacefea.html#a22c94233f560b36c5e782d6e73cebae3">More...</a><br /></td></tr>
<tr class="separator:a22c94233f560b36c5e782d6e73cebae3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7f59a7461e95aecbe53e976d679e80c7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacefea.html#a7f59a7461e95aecbe53e976d679e80c7">fea::loadBCs</a> (SparseMat &amp;Kg, SparseMat &amp;force_vec, const std::vector&lt; BC &gt; &amp;BCs, unsigned int num_nodes)</td></tr>
<tr class="separator:a7f59a7461e95aecbe53e976d679e80c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adb99d60a0e4eb10e55a7c52044efb6e3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacefea.html#adb99d60a0e4eb10e55a7c52044efb6e3">fea::loadTies</a> (std::vector&lt; Eigen::Triplet&lt; double &gt; &gt; &amp;triplets, const std::vector&lt; Tie &gt; &amp;ties)</td></tr>
<tr class="memdesc:adb99d60a0e4eb10e55a7c52044efb6e3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Loads any tie constraints into the set of triplets that will become the global stiffness matrix. <a href="namespacefea.html#adb99d60a0e4eb10e55a7c52044efb6e3">More...</a><br /></td></tr>
<tr class="separator:adb99d60a0e4eb10e55a7c52044efb6e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad101dfa486fc4d0bd848129ff2453139"><td class="memItemLeft" align="right" valign="top">std::vector&lt; std::vector&lt; double &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacefea.html#ad101dfa486fc4d0bd848129ff2453139">fea::computeTieForces</a> (const std::vector&lt; Tie &gt; &amp;ties, const std::vector&lt; std::vector&lt; double &gt; &gt; &amp;nodal_displacements)</td></tr>
<tr class="memdesc:ad101dfa486fc4d0bd848129ff2453139"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes the forces in the tie elements based on the nodal displacements of the FE analysis and the spring constants provided in <code>ties</code>. <a href="namespacefea.html#ad101dfa486fc4d0bd848129ff2453139">More...</a><br /></td></tr>
<tr class="separator:ad101dfa486fc4d0bd848129ff2453139"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af9e37d32f38ace35944f1e63f4a447fa"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacefea.html#af9e37d32f38ace35944f1e63f4a447fa">fea::loadForces</a> (SparseMat &amp;force_vec, const std::vector&lt; Force &gt; &amp;forces)</td></tr>
<tr class="memdesc:af9e37d32f38ace35944f1e63f4a447fa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Loads the prescribed forces into the force vector. <a href="namespacefea.html#af9e37d32f38ace35944f1e63f4a447fa">More...</a><br /></td></tr>
<tr class="separator:af9e37d32f38ace35944f1e63f4a447fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aca9724c7cab58b0671b29f3f4318e599"><td class="memItemLeft" align="right" valign="top">Summary&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacefea.html#aca9724c7cab58b0671b29f3f4318e599">fea::solve</a> (const Job &amp;job, const std::vector&lt; BC &gt; &amp;BCs, const std::vector&lt; Force &gt; &amp;forces, const std::vector&lt; Tie &gt; &amp;ties, const Options &amp;options)</td></tr>
<tr class="memdesc:aca9724c7cab58b0671b29f3f4318e599"><td class="mdescLeft">&#160;</td><td class="mdescRight">Solves the finite element analysis defined by the input <a class="el" href="structfea_1_1_job.html" title="Contains a node list, element list, and the properties of each element. ">Job</a>, boundary conditions, and prescribed nodal forces. <a href="namespacefea.html#aca9724c7cab58b0671b29f3f4318e599">More...</a><br /></td></tr>
<tr class="separator:aca9724c7cab58b0671b29f3f4318e599"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Nov 9 2015 11:57:00 for 3D Beam Finite Element Code by &#160;<a href="http://www.doxygen.org/index.html">
2015-11-05 19:36:26 +01:00
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.10
</small></address>
</body>
</html>