[prev in list] [next in list] [prev in thread] [next in thread]
List: vtk-developers
Subject: [vtk-developers] patch to vtkXMLUnstructuredGridReader
From: "Fabian, Nathan" <ndfabia () sandia ! gov>
Date: 2011-06-27 17:07:13
Message-ID: CA2E14DC.6B45%ndfabia () sandia ! gov
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Hi,
I've noticed when saving data from UnstructureGridWriter that if an MPI ran=
k doesn't have any geometry it doesn't save the types array (which would be=
zero anyway). This causes an error in the UnstructuredGridReader. I'm at=
taching the patch because I still can't figure out how to make gerrit work.=
It checks if NumberOfCells > 0 and if not doesn't bother trying to read t=
he types array.
If nobody sees any long term problem with this I'll push it.
Thanks,
Nathan.
[Attachment #5 (text/html)]
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: \
after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, \
sans-serif; "> <div>Hi,</div>
<div><br>
</div>
<div>I've noticed when saving data from UnstructureGridWriter that if an MPI rank \
doesn't have any geometry it doesn't save the types array (which would be zero \
anyway). This causes an error in the UnstructuredGridReader. I'm \
attaching the patch because I still can't figure out how to make gerrit work. \
It checks if NumberOfCells > 0 and if not doesn't bother trying to read the \
types array.</div> <div><br>
</div>
<div>If nobody sees any long term problem with this I'll push it.</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Nathan.</div>
</body>
</html>
["0001-BUG-Fixes-an-unrecoverable-for-missing-types-array.patch" (application/octet-stream)]
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtk-developers
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic