**fd2d_predator_prey_test**,
a FORTRAN90 code which
calls fd2d_predator_prey(), which
solves a predator-prey system
in a two dimensional region. The code requires both some
interactive input from the user, and two simple FORTRAN90
routines that define the initial values.

The computer code and data files made available on this web page are distributed under the MIT license

fd2d_predator_prey, a FORTRAN90 code which implements the finite difference method (FDM) for a predator-prey system with time and 2D spatial dependence, by Marcus Garvie.

- fd2d_predator_prey_test.f90, typical user routines to initialize U and V;
- fd2d_predator_prey_test.sh, runs all the tests;

- fd2d_predator_prey_test_gmres_input.txt, interactive input from the user, specifying the GMRES solver.
- fd2d_predator_prey_test_gmres.txt, printed output from the sample run, using the GMRES solver.
- fd2d_predator_prey_test_jacobi_input.txt, interactive input from the user, specifying the Jacobi solver.
- fd2d_predator_prey_test_jacobi.txt, printed output from the sample run, using the Jacobi solver.
- u2d.png, a PNG image of the U component of the solution.
- v2d.png, a PNG image of the V component of the solution.