[vtk-developers] patch to vtkXMLUnstructuredGridReader
Fabian, Nathan
ndfabia at sandia.gov
Mon Jun 27 13:07:13 EDT 2011
Hi,
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.
If nobody sees any long term problem with this I'll push it.
Thanks,
Nathan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20110627/1d65da66/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-BUG-Fixes-an-unrecoverable-for-missing-types-array.patch
Type: application/octet-stream
Size: 4382 bytes
Desc: 0001-BUG-Fixes-an-unrecoverable-for-missing-types-array.patch
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20110627/1d65da66/attachment-0001.obj>
More information about the vtk-developers
mailing list