https://github.com/emapco/forestfirecellularautomata
This project implements the cellular automata method to simulate a forest fire. The c++ source code utilizes OpenMP to parallelize the simulation. The animation is created with matplotlib.
https://github.com/emapco/forestfirecellularautomata
Last synced: 3 months ago
JSON representation
This project implements the cellular automata method to simulate a forest fire. The c++ source code utilizes OpenMP to parallelize the simulation. The animation is created with matplotlib.
- Host: GitHub
- URL: https://github.com/emapco/forestfirecellularautomata
- Owner: emapco
- License: lgpl-2.1
- Created: 2022-11-20T04:32:26.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-20T23:35:10.000Z (over 2 years ago)
- Last Synced: 2023-07-27T10:30:01.432Z (almost 2 years ago)
- Language: C++
- Homepage:
- Size: 95.6 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Forest Fire Cellular Automata Simulation
This project implements the cellular automata method to simulate a forest fire.
The c++ source code utilizes OpenMP to parallelize the simulation.
The animation is created with matplotlib.Dependencies required to run this project:
- C++
- OpenMP
- g++
- Python
- matplotlib
- pillow | ffmpeg | imagemagick (matplotlib animation dependency)
- NumPyDirectories
- bin: contains the compile c++ program
- data: contains the simulation output and an animation of the simulation
- src: contains source files for simulating and animating the forest fireFiles
- Makefile:
- Run `make all` to compile, execute, and animate the simulation.
- Run `make simulate_forest_fire` to compile and execute the simulation.
- Run `create_animation` to create the animated gif.