Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F97281754
compute_8hh_source.html
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Jan 4, 00:44
Size
6 KB
Mime Type
text/html
Expires
Mon, Jan 6, 00:44 (2 d)
Engine
blob
Format
Raw Data
Handle
23372496
Attached To
R7581 SP4E Homework
compute_8hh_source.html
View Options
<!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: compute.hh 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>
<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>
</div><!-- top -->
<!-- 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 class="header">
<div class="headertitle">
<div class="title">compute.hh</div> </div>
</div><!--header-->
<div class="contents">
<a href="compute_8hh.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#ifndef __COMPUTE__HH__</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor">#define __COMPUTE__HH__</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> </div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">/* -------------------------------------------------------------------------- */</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="preprocessor">#include "<a class="code" href="system_8hh.html">system.hh</a>"</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment">/* -------------------------------------------------------------------------- */</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> </div><div class="line"><a name="l00009"></a><span class="lineno"><a class="line" href="class_compute.html"> 9</a></span> <span class="keyword">class </span><a class="code" href="class_compute.html">Compute</a> {</div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>  <span class="keyword">virtual</span> <a class="code" href="class_compute.html#a6caca9d07be25d7c0a921b5d781fedb5">~Compute</a>() = <span class="keywordflow">default</span>;</div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> </div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>  <span class="comment">/* ------------------------------------------------------------------------ */</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>  <span class="comment">/* Methods */</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>  <span class="comment">/* ------------------------------------------------------------------------ */</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_compute.html#a8fe99fecbd1ad5d7a7d55be84ee5c262">compute</a>(<a class="code" href="class_system.html">System</a>& system) = 0;</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> };</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> </div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="comment">/* -------------------------------------------------------------------------- */</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#endif //__COMPUTE__HH__</span></div><div class="ttc" id="class_compute_html_a6caca9d07be25d7c0a921b5d781fedb5"><div class="ttname"><a href="class_compute.html#a6caca9d07be25d7c0a921b5d781fedb5">Compute::~Compute</a></div><div class="ttdeci">virtual ~Compute()=default</div><div class="ttdoc">Virtual destructor needed because we have subclasses. </div></div>
<div class="ttc" id="system_8hh_html"><div class="ttname"><a href="system_8hh.html">system.hh</a></div></div>
<div class="ttc" id="class_compute_html"><div class="ttname"><a href="class_compute.html">Compute</a></div><div class="ttdoc">Base class for all compute. </div><div class="ttdef"><b>Definition:</b> compute.hh:9</div></div>
<div class="ttc" id="class_system_html"><div class="ttname"><a href="class_system.html">System</a></div><div class="ttdoc">Container for particles. </div><div class="ttdef"><b>Definition:</b> system.hh:12</div></div>
<div class="ttc" id="class_compute_html_a8fe99fecbd1ad5d7a7d55be84ee5c262"><div class="ttname"><a href="class_compute.html#a8fe99fecbd1ad5d7a7d55be84ee5c262">Compute::compute</a></div><div class="ttdeci">virtual void compute(System &system)=0</div><div class="ttdoc">Compute is pure virtual. </div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by  <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
Log In to Comment