← Back to team overview

dolfin team mailing list archive

Re: dolfin/python error

 

That fits with the error I got when I tried to run the Stokes demo. It plotted the vector velocity with no problem. But when it tried to plot the pressure, it gave me that error.

I've tried googling about the error, but I could not find anything definitive.

- Shawn

On Tue, 11 Aug 2009, Anders Logg wrote:

On Tue, Aug 11, 2009 at 09:26:13PM +0200, Anders Logg wrote:
Yet another update: Same problem with VTK 5.4 and I can use VTK from
Python directly without problem (when not going through Viper).

The plot thickens. I can plot vector-valued functions with Viper but
not scalars, and not meshes. In particular, I can do

 plot(grad(u))

in the Poisson demo, but not

 plot(u)

--
Anders



Follow ups

References