← Back to team overview

dolfin team mailing list archive

[Bug 754860] [NEW] assign_domains fails

 

Public bug reported:

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'

** Affects: dolfin
     Importance: Undecided
         Status: New

-- 
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:
  New

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'



Follow ups

References