[Dune] [#1059] VTKWriter: creates invalid .vtu files in ascii mode if function value is NaN (Attachment added)
Dune
flyspray at dune-project.org
Mon Apr 2 15:51:21 CEST 2012
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A new Flyspray task has been opened. Details are below.
User who did this - Ansgar Burchardt (ansgar)
Attached to Project - Dune
Summary - VTKWriter: creates invalid .vtu files in ascii mode if function value is NaN
Task Type - Bug Report
Category - Grid
Status - New
Assigned To -
Operating System - Unspecified / All
Severity - Very Low
Priority - Low
Reported Version - SVN (pre2.2)
Due in Version - Undecided
Due Date - Undecided
Details - ParaView cannot load .vtu files written by VTKWriter that contain NaN values and are written in the ascii format with
vtkwriter.pwrite("bug_vtkwriter-broken", "", "", Dune::VTK::ascii);
and gives this error message:
ERROR: In /build/buildd/paraview-3.10.1/VTK/IO/vtkXMLDataReader.cxx, line 510
vtkXMLUnstructuredGridReader (0xc48f080): Cannot read point data array "f" from PointData in piece 0. The data array in the element may be too short.
When using the binary format with
vtkwriter.pwrite("bug_vtkwriter-okay", "", "", Dune::VTK::appendedraw);
ParaView has no problem loading the file.
I have attached a simple program that writes a VTK file with both options for the constant NaN function, but the problem also occurs if only some values are NaN.
Ansgar
One or more files have been attached.
More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=1059
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
More information about the Dune
mailing list