Error estimation DOLFIN wrapper for FFC broken
Bug #1086580 reported by
Garth Wells
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
DOLFIN |
Fix Released
|
High
|
Marie Rognes |
Bug Description
The demos
demo/
demo/
fail to build after re-generating the UFL input using FFC. I get errors like:
demo/
At the end of AdaptivePoisson.h there is:
typedef Form_8 BilinearForm;
but there is no class 'Form_8'. There is a
class adaptivepoisson
This might come from some recent UFL changes.
The broken demos are presently commented out.
Changed in dolfin: | |
assignee: | nobody → Marie Rognes (meg-simula) |
Changed in dolfin: | |
status: | New → Confirmed |
importance: | Undecided → High |
milestone: | none → 1.1.0 |
Changed in dolfin: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
The name adaptivepoisson _form_8 is not made by UFL, neither is the counting of forms (form #8), this must be an FFC issue. Probably caused by the regression fix I did in late august to make ffc use the form names that have always been provided by ufl (ffc -r1754).
How is this supposed to be compiled? Compiling with ffc -l dolfin I get different errors on make:
martinal@ martinal- mac:~/dev/ fenics/ dolfin/ work/demo/ undocumented/ auto-adaptive- poisson/ cpp$ make dev/fenics/ dolfin/ work/demo/ undocumented/ auto-adaptive- poisson/ cpp/main. cpp:68: 3: error: ‘LinearForm’ is not a member of ‘AdaptivePoisson’
...
/home/martinal/
This is because the forms L and M in the .ufl file are both linear forms, and therefore no single LinearForm typedef can be made.