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 Lorentz release (ET_2021_05) |

approx. memory | 32 GB |

approx. runtime | 25 min using 4 CPUs (1 node, 4 mpi tasks, and 1 cpu per task) |

Results (280MB) | poisson_20210514.tar.gz |

This example was last tested on 14-May-2021.