Hi Everyone, I'm playing with the C++ version of the adaptive Poisson demo and have run into some strange behavior.
Out of the box it runs fine. However, if I change the goal functional in the UFL file to something other than M=u*dx(), say M = u * u * dx(), then I get the error below.
This doesn't happen in the python version where I have tried all sorts of goal functionals.
Could someone verify this? It seems like some sort of bug but I'm not sure what and where.
Thanks,
Dave
*** -------------------------------------------------------------------------
*** DOLFIN encountered an error. If you are not able to resolve this issue
*** using the information listed below, you can ask for help at
*** fenics@fenicsproject.org
*** Remember to include the error message listed below and, if possible,
*** include a minimal running example to reproduce the error.
*** -------------------------------------------------------------------------
*** Error: Unable to assemble form.
*** Reason: Coefficient number 0 ("__discrete_primal_solution") has not been set.
*** Where: This error was encountered inside AssemblerBase.cpp.
*** Process: 0
*** DOLFIN version: 1.6.0dev
*** Git changeset: 823502fdf5bf550d5515e595a661a241596fff1e
*** -------------------------------------------------------------------------