info(mesh.parallel_data()) fails in PyDOLFIN
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
DOLFIN |
Fix Released
|
Undecided
|
Johan Hake |
Bug Description
In [1]: from dolfin import *
In [2]: mesh = Mesh("mesh.xml.gz")
In [15]: pd = mesh.parallel_
In [18]: info(pd)
-------
TypeError Traceback (most recent call last)
/home/martinal/
/opt/fenics/
2649 _info(object.
2650 else:
-> 2651 _info(object)
2652
2653 class GenericLinearSo
/opt/fenics/
2267
2268 """
-> 2269 return _cpp._info(*args)
2270
2271 def info_stream(*args):
TypeError: in method '_info', argument 1 of type 'std::string'
Changed in dolfin: | |
status: | Fix Committed → Fix Released |
Can you attach your custom mesh?
Johan
On Tuesday September 27 2011 07:02:05 Martin Sandve Alnæs wrote: data() ------- ------- ------- ------- ------- ------- ------- ------- ------- ----- dev/cbc/ vmtkcsfmesher/ <ipython console> in <module>() dorsal- unstable/ lib/python2. 7/site- packages/ dolfin/ cpp.pyc in str(verbose) ) lver(Variable) : dorsal- unstable/ lib/python2. 7/site- packages/ dolfin/ cpp.pyc in
> Public bug reported:
>
> In [1]: from dolfin import *
> In [2]: mesh = Mesh("mesh.xml.gz")
>
> In [15]: pd = mesh.parallel_
> In [18]: info(pd)
> -------
> TypeError Traceback (most recent call last)
>
> /home/martinal/
>
> /opt/fenics/
> info(object, verbose) 2649 _info(object.
> 2650 else:
> -> 2651 _info(object)
> 2652
> 2653 class GenericLinearSo
>
> /opt/fenics/
> _info(*args) 2267
> 2268 """
> -> 2269 return _cpp._info(*args)
> 2270
> 2271 def info_stream(*args):
>
> TypeError: in method '_info', argument 1 of type 'std::string'
>
> ** Affects: dolfin
> Importance: Undecided
> Status: New