Skip to content

Supporting code for the paper "Phenotypic plasticity – a missing element in the theory of vegetation pattern formation"

License

Notifications You must be signed in to change notification settings

03bennej/multiscale-fairy-circles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Supporting code for the paper "Phenotypic plasticity: A missing element in the theory of vegetation pattern formation"

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.

Notebooks

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.

About

Supporting code for the paper "Phenotypic plasticity – a missing element in the theory of vegetation pattern formation"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published