[firedrake] Errors

Justin Chang jychang48 at gmail.com
Fri Nov 20 17:44:53 GMT 2015


okay just did.

On Fri, Nov 20, 2015 at 11:20 AM, Lawrence Mitchell <
lawrence.mitchell at imperial.ac.uk> wrote:

>
> On 20 Nov 2015, at 17:15, Justin Chang <jychang48 at gmail.com> wrote:
>
> 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'
>
>
>
> Oops, in firedrake/io.py change references to HDiv and HCurl into
> HDivElement and HCurlElement respectively. If you do this can you prepare a
> pull request?
>
>
> 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.*
>
>
> Ah, this is harmless, I thought we'd changed all of these places but
> clearly there are a few left.
>
> Cheers,
>
> Lawrence
>
> _______________________________________________
> firedrake mailing list
> firedrake at imperial.ac.uk
> https://mailman.ic.ac.uk/mailman/listinfo/firedrake
>
>
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the firedrake mailing list