**multigrid_poisson_1d_test**,
a MATLAB code which
calls multigrid_poisson_1d(), which
applies a multigrid method to solve the linear system associated
with a discretized version of the 1D Poisson equation.

The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.

multigrid_poisson_1d, a MATLAB code which applies the multigrid method to a discretized version of the 1D Poisson equation.

- multigrid_poisson_1d_test.m, calls all the tests.
- multigrid_poisson_1d_test.sh, runs all the tests.
- multigrid_poisson_1d_test.txt, the output file.

- multigrid_poisson_1d_test01_mono.m, solves test problem 1 using Gauss-Seidel.
- multigrid_poisson_1d_test01_multi.m, solves test problem 1 using the multigrid method.
- exact1.m, the exact solution for test problem 1.
- force1.m, the forcing term for test problem 1.
- multigrid_poisson_1d_test02_mono.m, solves test problem 2 using Gauss-Seidel.
- multigrid_poisson_1d_test02_multi.m, solves test problem 2 using the multigrid method.
- exact2.m, the exact solution for test problem 2.
- force2.m, the forcing term for test problem 2.