Page MenuHomec4science

class_material_points_factory.html
No OneTemporary

File Metadata

Created
Wed, Nov 27, 11:12

class_material_points_factory.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.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>particles: MaterialPointsFactory Class 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>
<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">particles
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<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>
<!-- 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><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="class_material_points_factory-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">MaterialPointsFactory Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Factory for material points.
<a href="class_material_points_factory.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="material__points__factory_8hh_source.html">material_points_factory.hh</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for MaterialPointsFactory:</div>
<div class="dyncontent">
<div class="center"><img src="class_material_points_factory__inherit__graph.png" border="0" usemap="#_material_points_factory_inherit__map" alt="Inheritance graph"/></div>
<map name="_material_points_factory_inherit__map" id="_material_points_factory_inherit__map">
<area shape="rect" id="node2" href="class_particles_factory_interface.html" title="Abstract factory defining interface. " alt="" coords="5,5,173,32"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for MaterialPointsFactory:</div>
<div class="dyncontent">
<div class="center"><img src="class_material_points_factory__coll__graph.png" border="0" usemap="#_material_points_factory_coll__map" alt="Collaboration graph"/></div>
<map name="_material_points_factory_coll__map" id="_material_points_factory_coll__map">
<area shape="rect" id="node2" href="class_particles_factory_interface.html" title="Abstract factory defining interface. " alt="" coords="5,5,173,32"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a4c68a4ee7941f2d5be03e7e0cc38b0e3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_system_evolution.html">SystemEvolution</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_material_points_factory.html#a4c68a4ee7941f2d5be03e7e0cc38b0e3">createSimulation</a> (const std::string &amp;fname, <a class="el" href="my__types_8hh.html#a4b04262b81aa7d31eb5d2f607e2a35de">Real</a> timestep) override</td></tr>
<tr class="memdesc:a4c68a4ee7941f2d5be03e7e0cc38b0e3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a whole simulation from file. <a href="#a4c68a4ee7941f2d5be03e7e0cc38b0e3">More...</a><br /></td></tr>
<tr class="separator:a4c68a4ee7941f2d5be03e7e0cc38b0e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9990f5fc3d09656069d5b922cbecab4d"><td class="memItemLeft" align="right" valign="top">std::unique_ptr&lt; <a class="el" href="class_particle.html">Particle</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_material_points_factory.html#a9990f5fc3d09656069d5b922cbecab4d">createParticle</a> () override</td></tr>
<tr class="memdesc:a9990f5fc3d09656069d5b922cbecab4d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new particle. <a href="#a9990f5fc3d09656069d5b922cbecab4d">More...</a><br /></td></tr>
<tr class="separator:a9990f5fc3d09656069d5b922cbecab4d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_particles_factory_interface"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_particles_factory_interface')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_particles_factory_interface.html">ParticlesFactoryInterface</a></td></tr>
<tr class="memitem:a15cd55ffe2a6aa5d2cadeac48ce051d6 inherit pub_methods_class_particles_factory_interface"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_particles_factory_interface.html#a15cd55ffe2a6aa5d2cadeac48ce051d6">~ParticlesFactoryInterface</a> ()=default</td></tr>
<tr class="separator:a15cd55ffe2a6aa5d2cadeac48ce051d6 inherit pub_methods_class_particles_factory_interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:ad9b8f9b4096d6b522561b45d817465ad"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_particles_factory_interface.html">ParticlesFactoryInterface</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_material_points_factory.html#ad9b8f9b4096d6b522561b45d817465ad">getInstance</a> ()</td></tr>
<tr class="separator:ad9b8f9b4096d6b522561b45d817465ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_static_methods_class_particles_factory_interface"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_class_particles_factory_interface')"><img src="closed.png" alt="-"/>&#160;Static Public Member Functions inherited from <a class="el" href="class_particles_factory_interface.html">ParticlesFactoryInterface</a></td></tr>
<tr class="memitem:af61f368236fe292fb2f2c1bdb79ec7d2 inherit pub_static_methods_class_particles_factory_interface"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_particles_factory_interface.html">ParticlesFactoryInterface</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_particles_factory_interface.html#af61f368236fe292fb2f2c1bdb79ec7d2">getInstance</a> ()</td></tr>
<tr class="memdesc:af61f368236fe292fb2f2c1bdb79ec7d2 inherit pub_static_methods_class_particles_factory_interface"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get singleton instance. <a href="class_particles_factory_interface.html#af61f368236fe292fb2f2c1bdb79ec7d2">More...</a><br /></td></tr>
<tr class="separator:af61f368236fe292fb2f2c1bdb79ec7d2 inherit pub_static_methods_class_particles_factory_interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pro_methods_class_particles_factory_interface"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_particles_factory_interface')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="class_particles_factory_interface.html">ParticlesFactoryInterface</a></td></tr>
<tr class="memitem:a9938996df4b575e0ad2a12d4df18c602 inherit pro_methods_class_particles_factory_interface"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_particles_factory_interface.html#a9938996df4b575e0ad2a12d4df18c602">ParticlesFactoryInterface</a> ()=default</td></tr>
<tr class="memdesc:a9938996df4b575e0ad2a12d4df18c602 inherit pro_methods_class_particles_factory_interface"><td class="mdescLeft">&#160;</td><td class="mdescRight">Instance constructor (protected) <a href="class_particles_factory_interface.html#a9938996df4b575e0ad2a12d4df18c602">More...</a><br /></td></tr>
<tr class="separator:a9938996df4b575e0ad2a12d4df18c602 inherit pro_methods_class_particles_factory_interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_class_particles_factory_interface"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_particles_factory_interface')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="class_particles_factory_interface.html">ParticlesFactoryInterface</a></td></tr>
<tr class="memitem:a99aa7ac6268839cc2f50893932fd3a11 inherit pro_attribs_class_particles_factory_interface"><td class="memItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="class_particle.html">Particle</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_particles_factory_interface.html#a99aa7ac6268839cc2f50893932fd3a11">list_particles</a></td></tr>
<tr class="separator:a99aa7ac6268839cc2f50893932fd3a11 inherit pro_attribs_class_particles_factory_interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a908b578a9e7d00bc269eac4f186a6c67 inherit pro_attribs_class_particles_factory_interface"><td class="memItemLeft" align="right" valign="top">std::unique_ptr&lt; <a class="el" href="class_system_evolution.html">SystemEvolution</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_particles_factory_interface.html#a908b578a9e7d00bc269eac4f186a6c67">system_evolution</a> = nullptr</td></tr>
<tr class="separator:a908b578a9e7d00bc269eac4f186a6c67 inherit pro_attribs_class_particles_factory_interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_static_attribs_class_particles_factory_interface"><td colspan="2" onclick="javascript:toggleInherit('pro_static_attribs_class_particles_factory_interface')"><img src="closed.png" alt="-"/>&#160;Static Protected Attributes inherited from <a class="el" href="class_particles_factory_interface.html">ParticlesFactoryInterface</a></td></tr>
<tr class="memitem:a0f02e33a49874537af42fbe5326f61fa inherit pro_static_attribs_class_particles_factory_interface"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_particles_factory_interface.html">ParticlesFactoryInterface</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_particles_factory_interface.html#a0f02e33a49874537af42fbe5326f61fa">factory</a> = nullptr</td></tr>
<tr class="separator:a0f02e33a49874537af42fbe5326f61fa inherit pro_static_attribs_class_particles_factory_interface"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Factory for material points. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a9990f5fc3d09656069d5b922cbecab4d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9990f5fc3d09656069d5b922cbecab4d">&#9670;&nbsp;</a></span>createParticle()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">std::unique_ptr&lt; <a class="el" href="class_particle.html">Particle</a> &gt; MaterialPointsFactory::createParticle </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Create a new particle. </p>
<p>Implements <a class="el" href="class_particles_factory_interface.html#a2e7fbd7b8e00f7cbd02885ebc19b7a6c">ParticlesFactoryInterface</a>.</p>
</div>
</div>
<a id="a4c68a4ee7941f2d5be03e7e0cc38b0e3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4c68a4ee7941f2d5be03e7e0cc38b0e3">&#9670;&nbsp;</a></span>createSimulation()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_system_evolution.html">SystemEvolution</a> &amp; MaterialPointsFactory::createSimulation </td>
<td>(</td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>fname</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="my__types_8hh.html#a4b04262b81aa7d31eb5d2f607e2a35de">Real</a>&#160;</td>
<td class="paramname"><em>timestep</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Create a whole simulation from file. </p>
<p>Implements <a class="el" href="class_particles_factory_interface.html#abdca99efbdc5b383fe6d0c6f8f6de8da">ParticlesFactoryInterface</a>.</p>
</div>
</div>
<a id="ad9b8f9b4096d6b522561b45d817465ad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad9b8f9b4096d6b522561b45d817465ad">&#9670;&nbsp;</a></span>getInstance()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_particles_factory_interface.html">ParticlesFactoryInterface</a> &amp; MaterialPointsFactory::getInstance </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="material__points__factory_8hh_source.html">material_points_factory.hh</a></li>
<li><a class="el" href="material__points__factory_8cc.html">material_points_factory.cc</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>

Event Timeline