This commit is contained in:
2023-09-11 18:28:42 +02:00
parent 0edaae5b3f
commit 3ac132c831
4 changed files with 50 additions and 89 deletions

View File

@@ -3,3 +3,36 @@
## 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**.