[firedrake] Errors

Justin Chang jychang48 at gmail.com
Fri Nov 20 17:15:13 GMT 2015


Hi all,

Just the latest update, and got these errors when trying to output a
solution that is in CG1 space:

Traceback (most recent call last):

  File "2D_OS_point_ex1.py", line 309, in <module>

    outFile_psiA << u0_A

  File "/Users/justin/Software/firedrake/src/firedrake/firedrake/io.py",
line 110, in __lshift__

    self._file << data

  File "/Users/justin/Software/firedrake/src/firedrake/firedrake/io.py",
line 524, in __lshift__

    self._update_PVD(data)

  File "/Users/justin/Software/firedrake/src/firedrake/firedrake/io.py",
line 542, in _update_PVD

    new_vtk << function

  File "/Users/justin/Software/firedrake/src/firedrake/firedrake/io.py",
line 188, in __lshift__

    coords_p1 = is_family1(ce, 'Lagrange') or is_family1(ce, 'Q')

  File "/Users/justin/Software/firedrake/src/firedrake/firedrake/io.py",
line 157, in is_family1

    if isinstance(e, (hc.HDiv, hc.HCurl)):

AttributeError: 'module' object has no attribute 'HDiv'



I noticed that there have been many updates/changes regarding UFL, so could
this have something to do with it?

On a side note, I also got these warnings:

*Mesh.cell() is deprecated, please use .ufl_cell() instead.*

Thanks,
Justin
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the firedrake mailing list