File main.cpp

Parent directory (necsim)

A generic simulator for spatially explicit coalescence models suitable for HPC applications. It contains all functions for running large-scale simulations backwards in time using coalescence techniques. Outputs include an SQLite database containing spatial and temporal information about tracked lineages, and allow for rebuilding of the coalescence tree.

Definition (necsim/main.cpp)

Detailed Description

Currently, a fat-tailed dispersal kernel or normal distribution can be used for dispersal processes.

Run with -h to see full input options.

Outputs include

  • habitat map file(s)
  • species richness and species abundances for the supplied minimum speciation rate.
  • SQL database containing full spatial data. This can be later analysed by the Speciation_Counter program for applying higher speciation rates.

Contact: or

Based heavily on code written by James Rosindell


Samuel Thompson

MIT Licence.