Skip to content
/ NDID Public

📖 Nutrient-Driven Instability at a Distance -- Research compendium

License

Notifications You must be signed in to change notification settings

McCannLab/NDID

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NDID: Nutrient-Driven Instability at a Distance (research compendium)

Check DOI

This repository includes the code we used in Landscape Modification and Nutrient- Driven Instability at a Distance:

Installation

We used Julia v.1.5.1 with the following packages:

See src/install_packages.jl as well as the Actions tab for more details.

Content

Briefly, this repository includes:

  • src/ndid_core.jl: includes all core functions:
    • functions that encode the systems of differential equations,
    • bifurcation analysis
    • figures
  • src/simulation_example.jl: includes one example of a simulation (i.e., solving the differential equations for a given time span) for both systems,
  • src/simulations_main.jl: includes the bifurcation analyses as presented in the main text,
  • src/equilibrium_results.jl: uses the NLsolve packages to compute the equilibrium for both systems studied.
  • src/sup/: includes all Julia files to reproduce supplementary figures.

Running the analysis

For the main analysis, you can either run the code in simulation_main.jl line by line in an interactive session, or you can run it as a script:

julia src/simulations_main.jl

See also Actions tab. Note that all files in scr/sup can be run independently.

Troubleshooting

Please use the issue feature if you encounter any difficulty while trying to reproduce the analysis.

About

📖 Nutrient-Driven Instability at a Distance -- Research compendium

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages