Hello everyone,
I am interested in assembling a product of 3 FEM basis functions, namely
$$\int_{\Omega} \phi_i * \phi_j * \frac{\partial \phi_k}{\partial x} dX $$
for all possible combinations of i, j and k. Is there a simple way to do this?
I have tried several approaches like
test1 = assemble(inner(inner(phi_j, phi_k.dx(1)), phi_i))
or
test2 = assemble(inner(phi_j * phi_k.dx(1), phi_i))
but I always get the error
*** Error: Unable to creating dolfin.Form.
*** Reason: Expected a ufl.Form, ufc.form or a dolfin.Form.
Best regards,
Sebastian