dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #21159
Re: Missing Hierarchical interface in Python
On Tuesday February 1 2011 12:23:10 Anders Logg wrote:
> The Hierarchical interface seems to be missing in Python. I can't do
>
> mesh.has_child()
> mesh.child()
> etc
I can:
In [1]: from dolfin import *
In [2]: mesh = UnitCube(8, 8, 8)
In [3]: V = FunctionSpace(mesh, 'CG', 1)
In [4]: V.has_child()
Out[4]: False
In [5]: mesh.has_child()
Out[5]: True
Seams a bit silly that mesh should have a child though...
What SWIG version do you have.
Johan
>
> --
> Anders
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dolfin
> Post to : dolfin@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dolfin
> More help : https://help.launchpad.net/ListHelp
Follow ups
References