Skip to content

andreasstrom/PredatorPrey

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PredatorPrey

A finite element solution of the predator-prey equation (the Lotke-Voltera system of ODEs) in MATLAB and FEniCS

in MATLAB

The two versions of the solution implemented in matlab is for a siplified version of the equation. mkI is implemented in one dimension, omitting time dependent and non-linear terms, while mkII only assumes a constant predator population v = 1.

in FEniCS

The solution implemented in Python for the following equation:

where delta_1, delta_2, alpha, and beta are constants, f and g some given source terms, and u_0 and v_0 some given initial conditions.

About

A finite element solution of the non-linear predator-prey equation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published