P1WrapperForm does not work with HFG forms
Hi,
the P1WrapperForm
assumes that the form around which it wraps itself provides a method integrate()
which returns from a single row of the local element matrix the entries associated with vertex dofs. So a highly specialised method with a very generic name. Our FEniCS forms
- P1FenicsFrom (here it is, naturally, just the computation of a single row)
- P1ToP2FenicsForm (again just a single matirx row)
- P2FenicsForm (only part of row)
- P2ToP1FenicsForm (only part of row)
implement this.
The forms generated by HFG do not provide that functionality. Here we (only) have the method integrateRow0()
to return an invidiual row of the element matrix. Thus, the P1WrapperForm
cannot be compiled together with any HyTeG-form, but only together with FEniCS-forms.
Consequently all operators that depend on it cannot be compiled with HyTeG-forms either, such as e.g.
P1ConstantOperator
P1ToP2ConstantOperator
This is related to the still open problem of streamlining naming and interfaces of our forms/integration routines, see also #84, #145, #158 (closed).
Cheers
Marcus