Perform a time-integration of a reaction-diffusion system in 3D using the FTCS algorithm on a GPU. Currently, only Gray-Scott kinetics are implemented.
Setting | Value |
---|---|
Type | Gray-Scott |
Size | 2563 |
dt | 0.25 |
dx | 0.50 |
f | 0.0625 |
k | 0.0416 |
Da | 0.16 |
Db | 0.08 |
Assuming that you have CUDA installed, the compilation is roughly as follows:
mkdir build
cd build
cmake ../src
make -j9
CMake should automagically detect your CUDA installation.
./wavefuse -i ../path/to/inputfile
Example:
./wavefuse -i ../examples/gray_scott_spots.in