dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #22530
[Bug 754860] Re: assign_domains fails
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
--
You received this bug notification because you are a member of DOLFIN
Team, which is subscribed to DOLFIN.
https://bugs.launchpad.net/bugs/754860
Title:
assign_domains fails
Status in DOLFIN:
Invalid
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'
References