Here we consider the Poisson problem with some OpenMP parallelism:
where
This code calculates the heat distribution in a cubic room with a radiator placed near a cold wall. Convection and similar effects are ignored.
The domain
We use Dirichlet boundary conditions defined below.
Finally, the radiator is represented by the function:
The problem is discretised on a cubic
OpenMP is implemented to include some lightweight parallelism. The code also produces a file performance.csv
giving basic speedup information.
This solver was written by Elloïse Fangel-Lloyd, Dana Lüdemann, and Clemens Zengler.