fd2d_predator_prey_test
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.
Licensing:
The computer code and data files made available on this web page
are distributed under
the MIT license
Related Data and codes:
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.
Source Code:
-
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.
Last revised on 30 June 2020.