fd2d_convergence_test


fd2d_convergence_test, a MATLAB code which calls fd2d_poisson(), which repeatedly solves a Poisson equation on a sequence of finer meshes, so that the relationship between mesh size H and error norm E can be explored.

Licensing:

The information on this web page is distributed under the MIT license.

Languages:

fd2d_convergence_test is available in a MATLAB version and an Octave version and a Python version.

Related Data and Programs:

fd2d_poisson, a MATLAB code which solves a Poisson equation over a user-specified discretized rectangle, with given functions f(x,y) (right hand side) and g(x,y) (Dirichlet boundary conditions), using the Finite Difference Method (FDM).

Source Code:


Last revised on 06 December 2019.