bvp_fd


bvp_fd, a Python code which demonstrates the use of the finite difference method (FDM) to solve a boundary value problem (BVP).

Licensing:

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

Languages:

bvp_fd is available in a MATLAB version and a Python version.

Related Data and Programs:

fd1d_bvp, a Python code which applies the finite difference method (FDM) to a two point boundary value problem (BVP) in one spatial dimension.

fem1d, a Python code which applies the finite element method (FEM) to a 1D linear two point boundary value problem (BVP).

fem1d_bvp_linear, a Python code which applies the finite element method (FEM), with piecewise linear elements, to a two point boundary value problem (BVP) in one spatial dimension, and compares the computed and exact solutions with the L2 and seminorm errors.

fem1d_bvp_quadratic, a Python code which applies the finite element method (FEM), with piecewise quadratic elements, to a two point boundary value problem (BVP) in one spatial dimension, and compares the computed and exact solutions with the L2 and seminorm errors.

Source Code:


Last modified on 16 February 2021.