← Back to team overview

dolfin team mailing list archive

Re: [Question #115298]: Output PVD with a different variable name

 

On Mon, Jun 21, 2010 at 01:58:31PM +0200, Anders Logg wrote:
> On Mon, Jun 21, 2010 at 11:41:00AM -0000, Chris Richardson wrote:
> > Question #115298 on DOLFIN changed:
> > https://answers.launchpad.net/dolfin/+question/115298
> >
> >     Status: Answered => Open
> >
> > Chris Richardson is still having a problem:
> > I tried this test:
> >
> > from dolfin import *
> >
> > m=UnitSquare(20,20)
> > Q=FunctionSpace(m,"CG",1)
> > F=Function(Q)
> > F.rename("F","function")
> >
> > file=File("f.pvd")
> > file << F
> >
> > but I still get this is f000000.vtu:
> >
> > <PointData  Scalars="U">
> > <DataArray  type="Float32"  Name="U"  format="ascii">
>
> ok. Looks like the name is ignored in VTKFile.cpp. I'll fix it.

Should be fixed now.

Attachment: signature.asc
Description: Digital signature


References