39 lines
773 B
Markdown
39 lines
773 B
Markdown
# Project 1
|
||
|
||
## Practical information
|
||
|
||
- [Project](https://anderkve.github.io/FYS3150/book/projects/project1.html)
|
||
|
||
## How to compile C++ code
|
||
|
||
Make sure that you are inside the **src** directory before compiling the code.
|
||
|
||
Now you can execute the command shown under to compile:
|
||
|
||
´´´
|
||
make
|
||
´´´
|
||
|
||
This will create object files and link them together into 2 executable files.
|
||
These files are called **main** and **analyticPlot**.
|
||
To run them, you can simply use the commands below:
|
||
|
||
´´´
|
||
./main
|
||
´´´
|
||
|
||
´´´
|
||
./analyticPlot
|
||
´´´
|
||
|
||
## How to generate plots
|
||
|
||
For generating the plots, there are 4 Python scripts.
|
||
You can run each one of them by using this command:
|
||
|
||
´´´
|
||
python <PythonFile>
|
||
´´´
|
||
|
||
The plots will be saved inside **latex/images**.
|