[Paraview] Ensight filename numbers patch
Olesen, Mark
Mark.Olesen at emcontechnologies.com
Thu Apr 24 10:14:33 EDT 2008
I finally found out the root of my problem and have attached a
corresponding patch.
Problem: the VTK EnSight reader had complete garbage when expanding
wildcard names (eg, "scalar per element: k data/********/k").
Cause: the reader assumed that the filename numbers occur on a single
line and immediately follow the "filename numbers:" introducer and did
not check the sscanf() return value. This can result in very incorrect
values for the filenameNum and/or useless animation values.
Example of a correct syntax (according to ens_checker) that triggers the
problem:
TIME
time set: 1
number of steps: 72
filename numbers:
40 80 120 160 200 240
280 320 360 400 440 480
520 560 600 640 680 720
...
The patch has been created against the CVS HEAD
(vtkEnSightReader, "$Revision: 1.75 $");
If the mailing list is not the appropriate means of submitting a patch,
please let me know.
/mark
This e-mail message and any attachments may contain
legally privileged, confidential or proprietary Information,
or information otherwise protected by law of EMCON
Technologies, its affiliates, or third parties. This notice
serves as marking of its Confidential status as defined
in any confidentiality agreements concerning the sender
and recipient. If you are not the intended recipient(s),
or the employee or agent responsible for delivery of this
message to the intended recipient(s), you are hereby
notified that any dissemination, distribution or copying
of this e-mail message is strictly prohibited.
If you have received this message in error, please
immediately notify the sender and delete this e-mail
message from your computer.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ensight-filename-numbers.patch
Type: application/octet-stream
Size: 8513 bytes
Desc: ensight-filename-numbers.patch
URL: <http://www.paraview.org/pipermail/paraview/attachments/20080424/58cfecf3/attachment-0001.obj>
More information about the ParaView
mailing list