Hi there!
I have a simple question: is it possible to reuse code from a UFL file in other ufl files? I am thinking of something live an import operation.
One immediate use could be the following
Stokes.ufl:
element = FiniteElement("Lagrange", cell, 1)
...
and then
Stokes2D.ufl:
cell = triangle
import Stokes.ufl
Stokes3D.ufl:
cell = tetrahedron
import Stokes.ufl
so that if I ever want to change the forms [e.g. time stepping scheme] I don't have to change it in all files.
Another possible use is in case I want to define several forms built from the same basic stuff. I can put them all in the same file, but then each time I change one of them, all must be recompiled; conversely, if I put each on them in a separate file I have to copy-paste the common part, and change it in several parts of the code if needed.