Partial differential equations » Solving on surfaces with flat elements

Showcases the resolution of Poisson equation with a mass term on the sphere.

Image

In this example we solve the following PDE:

\[ \begin{aligned} -\Delta u + u = f && \mathrm{in} \quad \mathcal{S} \end{aligned} \]

where $ \mathcal{S} $ is the sphere embedded in $ \mathbb{R}^3 $ . The discretization of the surface utilizes flat elements.

The full source code may be found below: