Anders Logg wrote:
> Was this introduced after the changes to DofMap I pushed today?
>

No. I went back a few changesets and the problem persisted. It works in 
C++, so I hoped that Johan could shed some light on the Python magic.

Garth



> --
> Anders
> 
> 
> On Wed, Nov 04, 2009 at 05:52:28PM +0000, Garth N. Wells wrote:
>> Something is wrong with sub-functions in Python. For the mixed-poisson
>> demo, doing
>>
>>      (sigma, u) = problem.solve().split()
>>      plot(u)
>>
>> the plot looks as expected. Doing
>>
>>      U = problem.solve()
>>      plot(U[1])
>>
>> the plot is wrong. Also, it's not possible to do
>>
>>      f = File("u.pvd")
>>      f << U[1]
>>
>> I get the message
>>
>> TypeError: in method 'File___lshift__', argument 2 of type
>> 'dolfin::FunctionPlotData const &'
>>
>> Garth
>> _______________________________________________
>> DOLFIN-dev mailing list
>> DOLFIN-dev@fenics.org
>> http://www.fenics.org/mailman/listinfo/dolfin-dev
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> DOLFIN-dev mailing list
>> DOLFIN-dev@fenics.org
>> http://www.fenics.org/mailman/listinfo/dolfin-dev
_______________________________________________
DOLFIN-dev mailing list
DOLFIN-dev@fenics.org
http://www.fenics.org/mailman/listinfo/dolfin-dev

Reply via email to