Gallery: Poisson equation

This example shows how to solve the Poisson equation with a generic source term using the CT_MultiLevel elliptic solver. Documentation for CT_MultiLevel is available. To assess the performance of the algorithm, we start by prescribing a solution phi0 (in this case, a superposition of Gaussian functions), and construct the source term by taking the Laplacian of phi0. The plots show the final solution phi (color plot), the source term (white contour surfaces) and the solution error phi-phi0 as a function of the iteration number.

Parameter file poisson.par
Thornlist ET development master
approx. memory 32 GB
approx. runtime 30 min using 8 CPUs
Results (225MB) poisson-20190501.tar.gz

This example was last tested on 01-May-2019.

Solution and sources

Solution psi and sources