convergence


convergence, a MATLAB code which is given a sequence of approximation errors and estimates the order of convergence, assuming the results correspond to a a sequence of decreasing mesh sizes h, or increasing mesh counts n.

Licensing:

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

Languages:

convergence is available in a FreeFem++ version and a MATLAB version and an Octave version.

Related Data and Programs:

convergence_test

differ, a MATLAB code which is given function values at equally spaced locations, and the order of a derivative, and uses the finite difference method (FDM) to compute a linear combination of these function values which approximates that derivative.

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.

Source Code:


Last modified on 10 September 2024.