[Dune] How to write vector fields using VTKWriter?

Jö Fahlke jorrit at jorrit.de
Sat Jun 18 15:36:01 CEST 2011


Am Sat, 18. Jun 2011, 15:26:41 +0200 schrieb Andreas Lauser:
> Thanks, now it compiles and runs, but all my nice vectors still get split in 
> the output, i.e. I get nComp scalar fields instead of one vector field with 
> nComp components. If my understanding of the VTK file format is correct, it 
> would be possible to write out vector fields using the  DataArray tag's 
> NumberOfComponents attribute. I have not found a way to do this via VTKWriter, 
> though. Is it possible?

Should actually work out-of-the-box.  Can you send us the VTKWriter-related
code and the resulting VTK file (or an excerpt that only includes the metadata
if it's large)?

Bye,
Jö.

-- 
If God had intended Man to Smoke, He would have set him on Fire.
-- fortune
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20110618/5893433b/attachment.sig>


More information about the Dune mailing list