Go to file
2023-02-20 20:56:10 +00:00
.idea Initial Import 2023-02-09 12:41:33 +00:00
.gitignore Move from C array style grid to vector 2023-02-20 20:06:44 +00:00
DLASystem.cpp Make clang-tidy a little happier 2023-02-20 20:56:10 +00:00
DLASystem.h Make clang-tidy a little happier 2023-02-20 20:56:10 +00:00
harness.bash Fix harness 2023-02-20 17:32:53 +00:00
mainDLA.cpp Rename update 2023-02-20 19:53:53 +00:00
Makefile Some code cleanup 2023-02-20 18:03:15 +00:00
out-2-0.5-1000.csv Move from C array style grid to vector 2023-02-20 20:06:44 +00:00
Particle.h God I hate CPP 2023-02-20 20:46:41 +00:00
readme.txt Initial Import 2023-02-09 12:41:33 +00:00
rnd.h Format 2023-02-09 12:41:41 +00:00

To run the code on a Mac through the command line:

1. Download Makefile from this section

2. Put Makefile in same directory as DLASystem.cpp (! Remove the .txt extension if present !)

3. Relative to MS Visual Studio code, these files include the following changes: DLASystem.h Window.h mainDLA.cpp

change #include <gl/freeglut.h>

to #include <GLUT/glut.h>

4. Open the terminal in the same folder as these files

5. Type "make" to build project

6. Run the program by typing "./run"

7. To edit your files, run gedit, save the code, and recompile with "make -B" before running the program again.



Thanks to Eliot Ayache for figuring this out!



PS For Coursework 2: In addition, there needs to be a change in Line 72 of MAIN_Source.cpp file from "glutLeaveMainLoop();" to "exit(1);"