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.
The information on this web page is distributed under the MIT license.
poisson_2d is available in a C version and a C++ version and a Fortran77 version and a Fortran90 version and a FENICS version and a FreeFem version and a MATLAB version and an Octave version and a Python version.