dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #16454
Re: Screwed up sub-functions on Python
Was this introduced after the changes to DofMap I pushed today?
--
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@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev
Attachment:
signature.asc
Description: Digital signature
Follow ups
References