[Dune] [vtk] beginPointData() in vtuwriter.hh

Oleh Krehel krehel at am.uni-erlangen.de
Tue Mar 29 10:03:54 CEST 2011


Dear Jö,

Actually the line that you quoted shouldn't change.
What I meant was instead of line

<PointData* Vectors="u"*>

you should have

<PointData>

. This fixes the problem for me.
Thanks for advice with adapter, I'll try it.

best regards,
Oleh Krehel


2011/3/28 Jö Fahlke <jorrit at jorrit.de>

> Am Mon, 28. Mar 2011, 17:22:14 +0200 schrieb Oleh Krehel:
> >         <DataArray type="Float32" Name="u" NumberOfComponents="7"
> > format="ascii">
> >         ....
>
> So that means that instead of the line
>
>  <DataArray type="Float32" Name="u" NumberOfComponents="7" format="ascii">
>
> you have
>
>  <DataArray type="Float32" Name="u" NumberOfComponents="7" format="">
>
> right?
>
> That does not change anything for me, I still get the same error.  Even if
> I
> remove the "format" attribute completely so I get the line
>
>  <DataArray type="Float32" Name="u" NumberOfComponents="7">
>
> the error message persists.
>
> The real proble is that yes, you can have VTK-files with vectors of
> dimensions
> other than three, but ParaView does not handle them.  Your best bet is to
> write seperate fields for each component.  If you are using PDELab, there
> is a
> gridfunction-adapter to select one component of a vector-valued
> gridfunction
> and make a new gridfunction out of it, I believe it is called something
> like
> SelectComponentAdapter.
>
> Bye,
> Jö.
>
> --
> featured product: Debian GNU/Linux - http://www.debian.org
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
>
> iQIVAwUBTZC7zumx9CKgc0OWAQjCARAAp8Ku30MCHzc7wJJrwSqSFWQhtaQmr5z+
> 8g7I8QOavsU+J+p52DA21rk5JyZ88A2pVYT5p8xK0BBvUhPFCNW9IB3NSDeEMTC0
> c5qPdie9sJVNQqZHtNA7mb0I9oL1gYgFro1H1Q44mgMY3MQ0aQ2L2CihUUFJsRTs
> JAMg3GU+bacf/bruoEPeMdnoaWckihWihKI3yOszfTIpxdmqGwRdJtsFNkG8SZgz
> iXjRwvtAd4o5HoeXocP9IwxTBu7WibxPFP4BC1nCYrdiXWGERf1M1OOENzkhbK/b
> zLbF4/q65IR5aK/EvS2fSQCsoyLHI1w9NsqVlsCZn+9Yx8CKpQzTrEYYXpAhrndw
> jwTvNn/A51ug9e/fw5GNzMeW0/IqCNmMMXsw0PntnjwfP5zWKWKqQUmwe3cwYZXI
> QtOdC4gyvE+hf6GPc2x62J1Wst7jyUUUh/FUwckdE3ntSKXU/64Y746kfGHfeO1X
> iZSSiX/szOAgEZpvVC2TLTEZ5ICDRxboGhmeqMFolnIpuhXPLOTgjZ5Y7Z61sw0C
> AYDb5MMoZjqNJPbh1XeAj307zfOAr1tCupCs0PeQYWDS3X8YG8LjXgXG5l6OBzGe
> zcT3M0Rx9lygK5xSkrCRnh2dRBLB8VkN+5YBjFnlujyITTZaiVintoQSI1QyyGqB
> 4JPXX195u6I=
> =c9qq
> -----END PGP SIGNATURE-----
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20110329/9d8f589c/attachment.htm>


More information about the Dune mailing list