<div dir="ltr"><div><div><div>Hi,<br><br></div>Thanks for the bug report. I have a fix for this that's going through testing right now. It's at <a href="https://gitlab.kitware.com/vtk/vtk/merge_requests/1300">https://gitlab.kitware.com/vtk/vtk/merge_requests/1300</a> if you want to take a look and test it out as well. I only tested it with your input so it could certainly use a bit more testing with other data sets. If you do that, please let us know how it works.<br><br></div>Best,<br></div>Andy<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 29, 2016 at 11:03 AM, Andrew Parker via vtkusers <span dir="ltr"><<a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear All,<br>
<br>
I have recently been having problems reading pvtu files in paraview when those files contain arbitrary polyhedrons: this is from the output of a large scale code that runs in parallel via mpi. To show the problem, I have written a very small sample code, attached, that runs in serial but reproduces the salient issues experienced by my larger code when run in parallel. It is clear, via the toggling a boolean, that the problem happens when vtk_polyhedrons types are used. There is a short description at the top of the bug.cxx file, followed by instructions. I use stock versions of paraview here, although self compiled ones show no difference.<br>
<br>
In short compile the code, run it, and open the pvtu file in paraview. You should see 4 cells.<br>
Switch the “bug” bool to true, recompile, re-run it, and reopen the pvtu file. The screen will be blank.<br>
<br>
The only difference is that cells are added to the unstructured grid explicitly as vtk_polyhedrons using a face-stream, rather than as hexs. I cannot do this in the real code! The rest of the code is just there to produce the “serial” mesh, and threshold this mesh to produce two “parallel-partition” meshes. I use the new ghost type framework as this is consistent with the real code, and this runs and compiles on OS X and gcc. Likewise it has been build against vtk 6.3 and the bug manifests itself in paraview 4.4 and 5.0. Visit 2.10 does not have this bug and can correctly open the pvtu containing polyhedrons: this is my current workaround.<br>
<br>
Can any of the developers shed light on this? Is a fix known, if so when will it be released? Do others have this problem [1, 2, 3] outside of those long reported? Does anyone else have workarounds?<br>
<br>
Any help really appreciated,<br>
Andy<br>
<br>
[1] <a href="http://public.kitware.com/pipermail/vtkusers/2015-May/090835.html" rel="noreferrer" target="_blank">http://public.kitware.com/pipermail/vtkusers/2015-May/090835.html</a><br>
[2] <a href="https://cmake.org/pipermail/paraview/2012-October/026456.html" rel="noreferrer" target="_blank">https://cmake.org/pipermail/paraview/2012-October/026456.html</a><br>
[3] <a href="https://cmake.org/pipermail/paraview/2015-January/032950.html" rel="noreferrer" target="_blank">https://cmake.org/pipermail/paraview/2015-January/032950.html</a><br>
<br>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br></div>