-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
452 changed files
with
41,130 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,163 @@ | ||
<!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" lang="en-US"> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> | ||
<meta http-equiv="X-UA-Compatible" content="IE=11"/> | ||
<meta name="generator" content="Doxygen 1.12.0"/> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"/> | ||
<title>MPM-Geomechanics: BodyPolygon.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> | ||
<script type="text/javascript" src="clipboard.js"></script> | ||
<link href="navtree.css" rel="stylesheet" type="text/css"/> | ||
<script type="text/javascript" src="resize.js"></script> | ||
<script type="text/javascript" src="cookie.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/x-mathjax-config"> | ||
MathJax.Hub.Config({ | ||
extensions: ["tex2jax.js"], | ||
jax: ["input/TeX","output/HTML-CSS"], | ||
}); | ||
</script> | ||
<script type="text/javascript" async="async" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/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 id="projectrow"> | ||
<td id="projectalign"> | ||
<div id="projectname">MPM-Geomechanics | ||
</div> | ||
<div id="projectbrief">Material Point Method for simulating geo-materials under large deformation conditions</div> | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</div> | ||
<!-- end header part --> | ||
<!-- Generated by Doxygen 1.12.0 --> | ||
<script type="text/javascript"> | ||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */ | ||
var searchBox = new SearchBox("searchBox", "search/",'.html'); | ||
/* @license-end */ | ||
</script> | ||
<script type="text/javascript"> | ||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */ | ||
$(function() { codefold.init(0); }); | ||
/* @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:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */ | ||
$(function() { | ||
initMenu('',true,false,'search.php','Search',false); | ||
$(function() { init_search(); }); | ||
}); | ||
/* @license-end */ | ||
</script> | ||
<div id="main-nav"></div> | ||
<script type="text/javascript"> | ||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */ | ||
$(function(){ initResizable(false); }); | ||
/* @license-end */ | ||
</script> | ||
<!-- 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"> | ||
<div id="MSearchResults"> | ||
<div class="SRPage"> | ||
<div id="SRIndex"> | ||
<div id="SRResults"></div> | ||
<div class="SRStatus" id="Loading">Loading...</div> | ||
<div class="SRStatus" id="Searching">Searching...</div> | ||
<div class="SRStatus" id="NoMatches">No Matches</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div id="nav-path" class="navpath"> | ||
<ul> | ||
<li class="navelem"><a class="el" href="dir_bfccd401955b95cf8c75461437045ac0.html">inc</a></li><li class="navelem"><a class="el" href="dir_f1270302287848fabb3590603b4a7bf4.html">Body</a></li> </ul> | ||
</div> | ||
</div><!-- top --> | ||
<div id="doc-content"> | ||
<div class="header"> | ||
<div class="headertitle"><div class="title">BodyPolygon.h</div></div> | ||
</div><!--header--> | ||
<div class="contents"> | ||
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="comment">/*</span></div> | ||
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="comment"> * BodyPolygon.h</span></div> | ||
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="comment"> *</span></div> | ||
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="comment"> * Created on: 16 de jul de 2021</span></div> | ||
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="comment"> * Author: Fabricio Fernandez <fabricio.hmf@gmail.com></span></div> | ||
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="comment"> */</span></div> | ||
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span> </div> | ||
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="preprocessor">#ifndef BODYPOLYGON_H_</span></div> | ||
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="preprocessor">#define BODYPOLYGON_H_</span></div> | ||
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span> </div> | ||
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span><span class="preprocessor">#include <Body/Body.h></span></div> | ||
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span> </div> | ||
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span><span class="keyword">class </span>BodyPolygon: <span class="keyword">public</span> <a class="code hl_class" href="classBody.html">Body</a> {</div> | ||
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> </div> | ||
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span><span class="keyword">public</span>:</div> | ||
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> </div> | ||
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span> BodyPolygon();</div> | ||
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span> </div> | ||
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span> <span class="keyword">virtual</span> ~BodyPolygon();</div> | ||
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span> </div> | ||
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span> <span class="keyword">inline</span> <span class="keywordtype">void</span> setPoints(vector<Vector3d> polygon_points) { this->polygonPoints=polygon_points; }</div> | ||
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"> 76</span> </div> | ||
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span> <span class="keyword">inline</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classBody.html#adeebf050ecfea622372a780b21b56b99">setMaterialId</a>(<span class="keywordtype">int</span> material_id) { this->materialId=material_id; }</div> | ||
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span> </div> | ||
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span> <span class="keyword">inline</span> <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code hl_function" href="classBody.html#a63af6b93b69a1410b8ff7b9cbd1edba2">getMaterialId</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> this->materialId; }</div> | ||
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span> </div> | ||
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classBody.html#af9e08d3de1fbdb9077eb73d8133f5062">create</a>(<a class="code hl_class" href="classMesh.html">Mesh</a>& mesh, <a class="code hl_class" href="classMaterial.html">Material</a>* material);</div> | ||
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"> 89</span> </div> | ||
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span> <span class="keyword">inline</span> <span class="keywordtype">void</span> setExtrudeDirection(<span class="keywordtype">string</span> extrude_direction) { this->extrudeDirection=extrude_direction; }</div> | ||
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span> </div> | ||
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span> <span class="keyword">inline</span> <span class="keywordtype">void</span> setExtrudeDisplacement(<span class="keywordtype">double</span> extrude_displacement) { this->extrudeDisplacement=extrude_displacement; }</div> | ||
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span> </div> | ||
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span> <span class="keyword">inline</span> <span class="keywordtype">void</span> setDiscretizationLength(<span class="keywordtype">double</span> distretization_length) { this->distretizationLength=distretization_length; }</div> | ||
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"> 101</span> </div> | ||
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"> 102</span><span class="keyword">private</span>:</div> | ||
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"> 103</span> </div> | ||
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"> 104</span> <span class="keywordtype">int</span> materialId; </div> | ||
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span> </div> | ||
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span> vector<Vector3d> polygonPoints; </div> | ||
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span> </div> | ||
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"> 108</span> <span class="keywordtype">string</span> extrudeDirection; </div> | ||
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"> 109</span> </div> | ||
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</span> <span class="keywordtype">double</span> extrudeDisplacement; </div> | ||
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"> 111</span> </div> | ||
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"> 112</span> <span class="keywordtype">double</span> distretizationLength; </div> | ||
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"> 113</span>};</div> | ||
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"> 114</span> </div> | ||
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"> 115</span><span class="preprocessor">#endif </span><span class="comment">/* BODYPOLYGON_H_ */</span><span class="preprocessor"></span></div> | ||
<div class="ttc" id="aclassBody_html"><div class="ttname"><a href="classBody.html">Body</a></div><div class="ttdoc">Represents a body in the space forming by a group of materials points and identified by a number.</div><div class="ttdef"><b>Definition</b> Body.h:19</div></div> | ||
<div class="ttc" id="aclassBody_html_a63af6b93b69a1410b8ff7b9cbd1edba2"><div class="ttname"><a href="classBody.html#a63af6b93b69a1410b8ff7b9cbd1edba2">Body::getMaterialId</a></div><div class="ttdeci">virtual int getMaterialId() const =0</div><div class="ttdoc">Return the material id.</div></div> | ||
<div class="ttc" id="aclassBody_html_adeebf050ecfea622372a780b21b56b99"><div class="ttname"><a href="classBody.html#adeebf050ecfea622372a780b21b56b99">Body::setMaterialId</a></div><div class="ttdeci">virtual void setMaterialId(int material_id)=0</div><div class="ttdoc">Configure the material id.</div></div> | ||
<div class="ttc" id="aclassBody_html_af9e08d3de1fbdb9077eb73d8133f5062"><div class="ttname"><a href="classBody.html#af9e08d3de1fbdb9077eb73d8133f5062">Body::create</a></div><div class="ttdeci">virtual void create(Mesh &mesh, Material *material)=0</div><div class="ttdoc">Create a body with particles and material.</div></div> | ||
<div class="ttc" id="aclassMaterial_html"><div class="ttname"><a href="classMaterial.html">Material</a></div><div class="ttdoc">Represents a material.</div><div class="ttdef"><b>Definition</b> Material.h:18</div></div> | ||
<div class="ttc" id="aclassMesh_html"><div class="ttname"><a href="classMesh.html">Mesh</a></div><div class="ttdoc">Class representing a rectangular grid mesh.</div><div class="ttdef"><b>Definition</b> Mesh.h:29</div></div> | ||
</div><!-- fragment --></div><!-- contents --> | ||
<!-- start footer part --> | ||
<hr class="footer"/><address class="footer"><small> | ||
Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.12.0 | ||
</small></address> | ||
</div><!-- doc-content --> | ||
</body> | ||
</html> |
Oops, something went wrong.