Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 885 Bytes

codegen.rst

File metadata and controls

16 lines (13 loc) · 885 Bytes

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 <../pdfs/codegeneration_slides.pdf>.

m26jHtaoeRE

The exercise sheet for this lesson can be downloaded here <../pdfs/exercise_codegeneration.pdf>. The material for this exercise can be found in the tutorial09 subfolder of the dune-pdelab-tutorials module. Check structure for details on how to find the material.