poisson_1d, a FreeFem++ code which solves the Poisson equation in 1D. FreeFem++ doesn't expect to deal with 1D problems, so we have to make a 2D problem that is 1 element wide;
The information on this web page is distributed under the MIT license.
poisson_1d is available in a C version and a C++ version and a Fortran77 version and a Fortran90 version and a FreeFem++ version and a MATLAB version and an Octave version and a Python version.