Supporting code for the paper "Phenotypic plasticity: A missing element in the theory of vegetation pattern formation"
![](https://github.com/03bennej/multiscale-fairy-circles/raw/main/images/stability.png)
This repo contains code to reproduce the results in the paper Phenotypic plasticity: A missing element in the theory of vegetation pattern formation. Part of the code is intended to be GPU accelerated. We used CuPy which requires an NVIDIA CUDA GPU and CUDA Toolkit. For the specific installation requirements for your system, see the up-to-date installation instructions: https://docs.cupy.dev/en/stable/install.html, in particular, how to install the correct version of CUDA Toolkit for your system.
Once all CuPy dependencies have been installed, modify the cuda_version
in the Makefile and run make venv
to build the virtual environment.
We provided the basic code in notebook form to reproduce our results:
notebooks/simulation.ipynb
: numerical simulations of the integro-pde model described in the paper.notebooks/linear_stability_analysis.ipynb
: linear stability analysis of the homoegeneous steady states associated with the integro-pde model.