p_grain = MANNA(L, nr_grains) calculates the grain density on LxL lattice of the Manna sandpile model. The algorithm is based on the original model description in Manna, S. S. "Two-state model of self-organized criticality." Journal of Physics A: Mathematical and General 24.7 (1991): L363.
From the article:
Consider a square lattice where the sites can be either empty or occupied with particles. No more than one particle is allowed to be at a site in the stationary state. One particle is added to one of the randomly chosen sites. If it is empty, it gets occupied by that particle and a new particle is launched. If there is already a particle at that site a 'hard core interaction' throws all the particles out from that site and the particles are redistributed in a random manner among its neighbors. It can happen that some of the neighbors were already occupied; then the particles are again redistributed and so on. In this way cascades are created. A cascade is stopped if no occupancy higher than one is present. Free boundaries are used, i.e. particles can leave the system on the boundaries. We update the system through the following step which all together constitute a unit time step:
(a) at any instant all collision sites are located
(b) all these sites are made empty
(c) for each particle in each collision site one neighboring site is randomly selected and the particle number at that site is increased by one
(d) collision sites for the next time step are located from these new sites
引用格式
Fatih Olmez (2024). Manna sandpile model (https://github.com/folmez/manna-sandpile), GitHub. 检索时间: .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux类别
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!无法下载基于 GitHub 默认分支的版本
版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.1.0 | Logo |
|
|
1.0.0.0 |
|