Code Generation with PythonΒΆ

The Python programming language is increasingly popular in scientific applications. Recently, we invested work into adding a code generation toolchain to dune-pdelab. It allows to express the weak formulation of your PDE in a domain specific language (UFL) and automatically generates the necessary integration kernels (aka the LocalOperator) from that input. This lesson explains the use of that system. You can also download the lecture slides.

The exercise sheet for this lesson can be downloaded here. The material for this exercise can be found in the tutorial09 subfolder of the dune-pdelab-tutorials module. Check How to study with the Material for details on how to find the material.