This is a repository for the paper "Phase-separation physics underlies new theory for the resilience of patchy ecosystems" by Koen Siteur, Quan-Xing Liu*, Vivi Rotschafer, Tjisse van der Heide, Max Rietkerk, Arjen Doelman, Christoffer Bostrom, and Johan van de Koppel*. 2023 PNAS 120(2): e2202683120. DOI: 10.1073/pnas.220268312 .
- Py_Opencl for spatial 2D phase separation patterns (Equation (3); Fig. 4 in main text)
- Spinodal region of phase separation occur in Fig. 5A.
- Within Figure 3 fold, 'DDA Model_LS.ipynb' and 'SDF Model_LS.ipynb‘ for the data generate on coarsening laws of Figure S12.
- Figure S12 is codes and data for distictive coarsening behavior presented in Fig. S12.
Abbr DDA: density-depedent aggregation model; SDF: scale-dependent feedbacks model
Note: please setup the corrected DevinceNr for you computer! "DeviceNr = 2" the number dependent on your graphic card number and setup.
Please contact Quan-Xing Liu, qxliu@sklec.ecnu.edu.cn (or liuqx315@gmail.com) if you have any questions on the model simulation.