simudo.fem.compat package¶
Submodules¶
simudo.fem.compat.ffc_includes module¶
simudo.fem.compat.ffc_jit_lock module¶
simudo.fem.compat.ufl_classes_update module¶
UFL has a bad design which prevents other modules from defining their own operators/expressions after UFL has finished importing. This is stupid and unnecessary. In particular,
So yeah we have to recompute the sets of UFL classes, then clear out the cache in ufl.algorithms.transformer.Transformer.
The code also happens to assume that sets will always be iterated in the same order. Is that always true? I don’t know.