Update docs
This commit is contained in:
@@ -104,7 +104,65 @@ $(document).ready(function(){initNavTree('index.html',''); initResizable(); });
|
||||
<div class="textblock"><p><a class="anchor" id="md_README"></a> </p><div class="image">
|
||||
<img src="100_particles.gif" alt=""/>
|
||||
</div>
|
||||
<h1><a class="anchor" id="autotoc_md1"></a>
|
||||
<p><a href="https://github.uio.no/FYS3150-G2-2023/Project-3">Repo</a></p>
|
||||
<p><a href="https://pages.github.uio.no/FYS3150-G2-2023/Project-3/">Documentation</a></p>
|
||||
<h1><a class="anchor" id="autotoc_md1"></a>
|
||||
Requirements</h1>
|
||||
<h2><a class="anchor" id="autotoc_md2"></a>
|
||||
Operating systems</h2>
|
||||
<ul>
|
||||
<li>Linux<ul>
|
||||
<li>Has been tested on <a href="https://fedoraproject.org/">Fedora 38</a></li>
|
||||
<li>Will most likely work on other Linux distributions</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>MacOS<ul>
|
||||
<li>Might work, but hasn't been tested</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>Windows<ul>
|
||||
<li>Will most likely not work</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<h2><a class="anchor" id="autotoc_md3"></a>
|
||||
Libraries</h2>
|
||||
<ul>
|
||||
<li>Python<ul>
|
||||
<li><a href="https://matplotlib.org/">matplotlib</a></li>
|
||||
<li><a href="https://numpy.org/">numpy</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>C++<ul>
|
||||
<li><a href="https://www.openmp.org/">openmp</a></li>
|
||||
<li><a href="https://arma.sourceforge.net/">armadillo</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<h1><a class="anchor" id="autotoc_md4"></a>
|
||||
Compiling</h1>
|
||||
<p>Compiling is as easy as running this command while being inside the src directory:</p>
|
||||
<div class="fragment"><div class="line">make</div>
|
||||
</div><!-- fragment --><h1><a class="anchor" id="autotoc_md5"></a>
|
||||
Running programs</h1>
|
||||
<h2><a class="anchor" id="autotoc_md6"></a>
|
||||
C++ binaries</h2>
|
||||
<p>To run <b>main</b> or <b>test_suite</b>, just run this command while being inside src:</p>
|
||||
<div class="fragment"><div class="line">./<program-name></div>
|
||||
</div><!-- fragment --><h2><a class="anchor" id="autotoc_md7"></a>
|
||||
Python scripts</h2>
|
||||
<h3><a class="anchor" id="autotoc_md8"></a>
|
||||
Install libraries</h3>
|
||||
<p>Before running the scripts, make sure that all libraries are installed. Using pip, you can install all requirements like this:</p>
|
||||
<div class="fragment"><div class="line">pip install -r requirements.txt</div>
|
||||
</div><!-- fragment --><p>This recursively install all the packages that are listed in <b>requirements.txt</b>.</p>
|
||||
<h3><a class="anchor" id="autotoc_md9"></a>
|
||||
Running scripts</h3>
|
||||
<p>For the Python scripts, run them from the src directory like this:</p>
|
||||
<div class="fragment"><div class="line">python scripts/<script-name></div>
|
||||
</div><!-- fragment --><p>If you have any problems running the scripts, you might have to run this instead:</p>
|
||||
<div class="fragment"><div class="line">python3 scripts/<script-name></div>
|
||||
</div><!-- fragment --><h1><a class="anchor" id="autotoc_md10"></a>
|
||||
Credits</h1>
|
||||
<p>The Doxygen theme used here is <a href="https://github.com/jothepro/doxygen-awesome-css">doxygen-awesome-css</a>. </p>
|
||||
</div></div><!-- PageDoc -->
|
||||
|
||||
Reference in New Issue
Block a user