Closed xanfus closed 2 years ago
To run in complex mode, you need to write
a = ufl.inner(ufl.grad(u), ufl.grad(v)) * ufl.dx
L = ufl.inner(f, v) * ufl.dx
as explained in: https://fenics.readthedocs.io/projects/ufl/en/latest/manual/form_language.html?highlight=Complex#inner
I've executed FEniCSx Poisson equation solution implementation via Binder with no error: https://notebooks.gesis.org/binder/jupyter/user/jorgensd-dolfinx-tutorial-3spk02o2/notebooks/chapter1/fundamentals_code.ipynb
The notebook is executed at my virtual machine (guest Ubuntu 20.04.3, host Win10, via Docker) at cell #9 with following output: