Skip to content

Feature: multiple driver blocks

René Heß requested to merge feature/multiple-driver-blocks into master

This merge request does the following:

  • Make it possible to generate multiple driver blocks if the UFL file contains several forms.

  • The filename and classname of the driver block can be controlled through the ini file.

  • If a form uses coefficients that are not the ansaz function we used to pass those to the localOperator as DiscreteGridViewFunctions (DGVF). This had the disadvantage that DGVFs do not support systems (Power/Composite spaces). Instead we now pass shared pointers to the GridFunctionSpace and the coefficient vector and generate the code for binding/unbinding if necessary.

  • One issue remains for supporting driver block generation in the operator splitting case: The additional coefficient needs to provide some information about its constraints, see #161 for more details.

  • This merge request fixes #156 (closed)

Edited by René Heß

Merge request reports