Re: [DOLFIN-dev] Screwed up sub-functions on Python

2009-11-04 Thread Anders Logg
On Wed, Nov 04, 2009 at 07:05:01PM +, Garth N. Wells wrote: > > > 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 Pyth

Re: [DOLFIN-dev] Screwed up sub-functions on Python

2009-11-04 Thread Garth N. Wells
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

Re: [DOLFIN-dev] Screwed up sub-functions on Python

2009-11-04 Thread Anders Logg
Was this introduced after the changes to DofMap I pushed today? -- Anders On Wed, Nov 04, 2009 at 05:52:28PM +, 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 pl

[DOLFIN-dev] Screwed up sub-functions on Python

2009-11-04 Thread Garth N. Wells
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 <