Compare commits
No commits in common. "main" and "janitaws/plot-and-latex" have entirely different histories.
main
...
janitaws/p
16
README.md
16
README.md
@ -10,29 +10,29 @@ 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**.
|
||||
|
||||
Binary file not shown.
@ -2,7 +2,7 @@
|
||||
|
||||
\subsection*{a)}
|
||||
% Link to relevant files on gh and possibly add some comments
|
||||
The code can be found at https://github.uio.no/FYS3150-G2-2023/Project-1/blob/main/src/generalAlgorithm.cpp
|
||||
The code can be found at https://github.uio.no/FYS3150-G2-2023/Project-1/blob/coryab/final-run/src/generalAlgorithm.cpp
|
||||
|
||||
\subsection*{b)}
|
||||
Increasing the number of steps results in an approximation close to the exact solution.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user