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 Meitner release (ET_2023_11)
approx. memory 32 GB
approx. runtime 10 min using 8 CPUs (1 node, 8 mpi tasks, and 1 cpu per task)
Results (279MB) poisson_20231201.tar.gz

This example was last tested on Dec-6-2023.

Solution and sources

Solution psi and sources



Solution Error

Solution Error