assign_domains fails

Bug #754860 reported by Chaffra Affouda
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
DOLFIN
Invalid
Undecided
Unassigned

Bug Description

I get the following error when running the cahn-hilliard demo and my own scripts.

python demo_cahn-hilliard.py
Calling FFC just-in-time (JIT) compiler, this may take some time.
Calling FFC just-in-time (JIT) compiler, this may take some time.
Traceback (most recent call last):
  File "demo_cahn-hilliard.py", line 84, in <module>
    a = derivative(L, u, du)
  File "/usr/local/lib/python2.6/dist-packages/dolfin/fem/formmanipulations.py", line 17, in derivative
    assign_domains(fro=form, to=a)
  File "/usr/local/lib/python2.6/dist-packages/dolfin/fem/formmanipulations.py", line 9, in assign_domains
    to.cell_domains = fro.cell_domains
AttributeError: 'Form' object has no attribute 'cell_domains'

Revision history for this message
Anders Logg (logg) wrote :

Form.cell_domains has recently been added in the development version. This error indicates that you are running a demo
from the development version of DOLFIN with an older installed version of DOLFIN. Update to the latest development version and it should work.

Changed in dolfin:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.