DLA C++ Simulation
Some undergrad physics work on implimenting some random process simulations, namely the Ising model and DLA in C++. Credits go to the relevent sources.
Development
This project is developed using the following software requirements g++ (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0 OpenGL version string: 4.6 (Compatibility Profile) Mesa 22.2.5 Cpp 11.3.0
Running this simulation
-
Download Makefile from this section
-
Put Makefile in same directory as DLASystem.cpp (! Remove the .txt extension if present !)
-
Relative to MS Visual Studio code, these files include the following changes: DLASystem.h Window.h mainDLA.cpp
-
Open the terminal in the same folder as these files
-
Type "make" to build project
-
Run the program by typing "./run"
-
a) Run takes in two command line arguments, the seed and the running type
-
b) The two running types for this project are vanilla and force_vector_jump
-
c) Therefore an example command run would be ./run 5 vanilla
-
d) To multi process this, run bash.sh. This defaults to run with 24 processes in parallel, so it may crash smaller computers