poisson_2d


poisson_2d, a FreeFem++ code which solves the steady Poisson equation in a square.

The exact solution is known, so we can compare the FEM result with it.

Licensing:

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

Languages:

poisson_2d is available in a C version and a FENICS version and a FreeFem version and a MATLAB version and an Octave version and a Python version.

Reference:

  1. John Chrispell, Jason Howell,
    Finite Element Approximation of Partial Differential Equations Using FreeFem++, or, How I Learned to Stop Worrying and Love Numerical Analysis.
  2. Frederic Hecht,
    New development in FreeFem++,
    Journal of Numerical Mathematics,
    Volume 20, Number 3-4, 2012, pages 251-265.

Source Code:


Last revised on 12 February 2021.