Page MenuHomec4science

class_compute_verlet_integration.html
No OneTemporary

File Metadata

Created
Sat, Nov 23, 19:11

class_compute_verlet_integration.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: ComputeVerletIntegration 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="class_compute_verlet_integration-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">ComputeVerletIntegration Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Integrate equation of motion.
<a href="class_compute_verlet_integration.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="compute__verlet__integration_8hh_source.html">compute_verlet_integration.hh</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for ComputeVerletIntegration:</div>
<div class="dyncontent">
<div class="center"><img src="class_compute_verlet_integration__inherit__graph.png" border="0" usemap="#_compute_verlet_integration_inherit__map" alt="Inheritance graph"/></div>
<map name="_compute_verlet_integration_inherit__map" id="_compute_verlet_integration_inherit__map">
<area shape="rect" id="node2" href="class_compute.html" title="Base class for all compute. " alt="" coords="53,5,128,32"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for ComputeVerletIntegration:</div>
<div class="dyncontent">
<div class="center"><img src="class_compute_verlet_integration__coll__graph.png" border="0" usemap="#_compute_verlet_integration_coll__map" alt="Collaboration graph"/></div>
<map name="_compute_verlet_integration_coll__map" id="_compute_verlet_integration_coll__map">
<area shape="rect" id="node2" href="class_compute.html" title="Base class for all compute. " alt="" coords="53,5,128,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:aab97245913bb42d8938333f099e5be13"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_compute_verlet_integration.html#aab97245913bb42d8938333f099e5be13">ComputeVerletIntegration</a> (<a class="el" href="my__types_8hh.html#a4b04262b81aa7d31eb5d2f607e2a35de">Real</a> timestep)</td></tr>
<tr class="separator:aab97245913bb42d8938333f099e5be13"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afe6d31ce3581a400bef29ec2438ced3f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_compute_verlet_integration.html#afe6d31ce3581a400bef29ec2438ced3f">setDeltaT</a> (<a class="el" href="my__types_8hh.html#a4b04262b81aa7d31eb5d2f607e2a35de">Real</a> dt)</td></tr>
<tr class="memdesc:afe6d31ce3581a400bef29ec2438ced3f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set time step. <a href="#afe6d31ce3581a400bef29ec2438ced3f">More...</a><br /></td></tr>
<tr class="separator:afe6d31ce3581a400bef29ec2438ced3f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1901e85a748a29fa137afd624697ef94"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_compute_verlet_integration.html#a1901e85a748a29fa137afd624697ef94">compute</a> (<a class="el" href="class_system.html">System</a> &amp;system) override</td></tr>
<tr class="memdesc:a1901e85a748a29fa137afd624697ef94"><td class="mdescLeft">&#160;</td><td class="mdescRight">Evolve positions and velocities. <a href="#a1901e85a748a29fa137afd624697ef94">More...</a><br /></td></tr>
<tr class="separator:a1901e85a748a29fa137afd624697ef94"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a528641f7050207f0e923793aa1b77751"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_compute_verlet_integration.html#a528641f7050207f0e923793aa1b77751">addInteraction</a> (std::shared_ptr&lt; <a class="el" href="class_compute_interaction.html">ComputeInteraction</a> &gt; interaction)</td></tr>
<tr class="memdesc:a528641f7050207f0e923793aa1b77751"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add an interaction to the computation of forces. <a href="#a528641f7050207f0e923793aa1b77751">More...</a><br /></td></tr>
<tr class="separator:a528641f7050207f0e923793aa1b77751"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_compute"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_compute')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_compute.html">Compute</a></td></tr>
<tr class="memitem:a6caca9d07be25d7c0a921b5d781fedb5 inherit pub_methods_class_compute"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_compute.html#a6caca9d07be25d7c0a921b5d781fedb5">~Compute</a> ()=default</td></tr>
<tr class="memdesc:a6caca9d07be25d7c0a921b5d781fedb5 inherit pub_methods_class_compute"><td class="mdescLeft">&#160;</td><td class="mdescRight">Virtual destructor needed because we have subclasses. <a href="class_compute.html#a6caca9d07be25d7c0a921b5d781fedb5">More...</a><br /></td></tr>
<tr class="separator:a6caca9d07be25d7c0a921b5d781fedb5 inherit pub_methods_class_compute"><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>Integrate equation of motion. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="aab97245913bb42d8938333f099e5be13"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aab97245913bb42d8938333f099e5be13">&#9670;&nbsp;</a></span>ComputeVerletIntegration()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">ComputeVerletIntegration::ComputeVerletIntegration </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></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a528641f7050207f0e923793aa1b77751"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a528641f7050207f0e923793aa1b77751">&#9670;&nbsp;</a></span>addInteraction()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ComputeVerletIntegration::addInteraction </td>
<td>(</td>
<td class="paramtype">std::shared_ptr&lt; <a class="el" href="class_compute_interaction.html">ComputeInteraction</a> &gt;&#160;</td>
<td class="paramname"><em>interaction</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Add an interaction to the computation of forces. </p>
</div>
</div>
<a id="a1901e85a748a29fa137afd624697ef94"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1901e85a748a29fa137afd624697ef94">&#9670;&nbsp;</a></span>compute()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void ComputeVerletIntegration::compute </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_system.html">System</a> &amp;&#160;</td>
<td class="paramname"><em>system</em></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>Evolve positions and velocities. </p>
<p>Implements <a class="el" href="class_compute.html#a8fe99fecbd1ad5d7a7d55be84ee5c262">Compute</a>.</p>
</div>
</div>
<a id="afe6d31ce3581a400bef29ec2438ced3f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afe6d31ce3581a400bef29ec2438ced3f">&#9670;&nbsp;</a></span>setDeltaT()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ComputeVerletIntegration::setDeltaT </td>
<td>(</td>
<td class="paramtype"><a class="el" href="my__types_8hh.html#a4b04262b81aa7d31eb5d2f607e2a35de">Real</a>&#160;</td>
<td class="paramname"><em>dt</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set time step. </p>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="compute__verlet__integration_8hh_source.html">compute_verlet_integration.hh</a></li>
<li><a class="el" href="compute__verlet__integration_8cc.html">compute_verlet_integration.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