Dissolution: The set of program files simulating the dissolution of spatial patterns (discussed in Section 9.1).

Diffusion-limited Reactions: The set of program files simulating the eruption of spatial patterns in reaction-diffusion systems (discussed in Section 9.2).

Spatial Prey-Predator Model: The set of program files simulating the spatially explicit predator-prey interactions discussed in Section 9.2.

Chapter Listing
Book Homepage
Will's Homepage
Simulating Ecological and Evolutionary Systems in C

Chapter 9 (Diffusion and Reactions) program files


  • Dissolution: The set of program files simulating the dissolution of spatial patterns (discussed in Section 9.1).
    • header.h is the header file listed on page 217.
    • main.c is the main program file listed on page 218.
    • general.c is listed on page 219-221, and holds initialization routines.
    • migrate.c is listed on page 222, and holds the routine that diffuses particles on the two-dimensional (square) lattice.
    • io.c holds the routines to produce the PostScript images.
    • maker is the makefile, listed on page 224, that compiles all the above program files together.
    50/11/28/00