[firedrake] Errors

Homolya, Miklós m.homolya14 at imperial.ac.uk
Fri Nov 20 17:17:50 GMT 2015


Hi,

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

I believe this line should be:

if isinstance(e, (hc.HDivElement, hc.HCurlElement)):

(We should fix this.)

Thanks,
Miklos

________________________________
From: firedrake-bounces at imperial.ac.uk [firedrake-bounces at imperial.ac.uk] on behalf of Justin Chang [jychang48 at gmail.com]
Sent: 20 November 2015 17:15
To: firedrake
Subject: [firedrake] Errors

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 --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 7543 bytes
Desc: not available
URL: <http://mailman.ic.ac.uk/pipermail/firedrake/attachments/20151120/602f884e/attachment.bin>


More information about the firedrake mailing list