Page MenuHomec4science

index.html
No OneTemporary

File Metadata

Created
Thu, Oct 31, 13:19

index.html

<!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">
<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.16"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>PHPC - nBody project: N-Body project</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">PHPC - nBody project
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.16 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @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:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</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="PageDoc"><div class="header">
<div class="headertitle">
<div class="title">N-Body project </div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><p>Project in the case of the course of Parallel and High Performance Computing at EPFL - Ecole Polytechnique Fédérale de Lausanne.</p>
<h1><a class="anchor" id="Description"></a>
Description</h1>
<p>The n-body problem aims at simulating a dynamical system of particles under the influence of physical forces. We’ll restrain on the gravity field applied on celestial bodies : </p><p class="formulaDsp">
<img class="formulaDsp" alt="\[ F_{ij} = \frac{G m_i m_j (q_j - q_i)}{|| q_j - q_i ||} \]" src="form_0.png"/>
</p>
<p>where <img class="formulaInl" alt="$ G $" src="form_1.png"/> is the gravitational constant, <img class="formulaInl" alt="$ m_i $" src="form_2.png"/> and <img class="formulaInl" alt="$ m_j $" src="form_3.png"/> the masses of the <img class="formulaInl" alt="$ i $" src="form_4.png"/>-th and <img class="formulaInl" alt="$j$" src="form_5.png"/>-th bodies and <img class="formulaInl" alt="$ q_i $" src="form_6.png"/> and <img class="formulaInl" alt="$ q_j $" src="form_7.png"/> their positions.</p>
<h1><a class="anchor" id="Implementation"></a>
Implementation</h1>
<p>The solution is implemented using Barnes-Hut algorithm and quadtree/octree data-structure. The particularity is that the user can choose differents parameters as define :</p><ul>
<li>NB_DIM : set at DIM_2 or DIM_3 to choose between 2D and 3D problem solution</li>
<li>NB_PARTICLES : number of particles</li>
<li>PRINT : save solution in csv file, at each time-step, to display solution animation in programs (e.g. paraview)</li>
<li>DELTA_T : time-step of each iteration </li>
</ul>
</div></div><!-- PageDoc -->
</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.16
</small></address>
</body>
</html>

Event Timeline