<div dir="ltr"><div>Hi Michael,</div>Yes, indeed this is how you would do it. I believe the array has to be unsigned char array though. On the first layer of ghost cells you store a 1, on the second layer you store a 2 and so on.<div>(we just set a bit for the new version, so we don't store information about how many layers we have)<br><div><br></div><div>Also note that ghost cells are only useful if your reader reads different parts of the dataset on different mpi processors. If you split your dataset on different mpi nodes latter on, this is when you need to add ghost cells (because this is when you know how your data is split). If you run on a single processor ghosts cells are not used.<br><div><br></div><div>Dan</div><div><br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Jul 6, 2015 at 11:43 AM Schlottke-Lakemper, Michael <<a href="mailto:m.schlottke-lakemper@aia.rwth-aachen.de">m.schlottke-lakemper@aia.rwth-aachen.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">
Hi Dan,
<div><br>
</div>
<div>Thank you for your answer. From a first impression, it seems like the only really open question right now is how to generate the “vtkGhostLevels” array if I am working with an vtkUnstructuredGrid in my custom reader plugin? “GenerateGhostLevelArray”
in vtkDataSet seems to be only relevant for structured grids. Maybe I just need to create a vtkIntArray myself, add it as a cell array, and name it “vtkGhostLevels”?</div>
<div><br>
</div>
<div>Regards,</div>
<div><br>
</div>
<div>Michael</div></div><div style="word-wrap:break-word">
<div><br>
</div>
<div><br>
<div>
<blockquote type="cite">
<div>On 06 Jul 2015, at 17:10 , Dan Lipsa <<a href="mailto:dan.lipsa@kitware.com" target="_blank">dan.lipsa@kitware.com</a>> wrote:</div>
<br>
<div>
<div dir="ltr">Hi Michael,<br>
I am not aware of a guide to the old way of storing/accessing ghost cells but I'll be happy to try to answer any specific questions you may have.
<div>I can also add a link in the blog to the document if someone points it out.<br>
<div><br>
</div>
<div>Dan</div>
<div><br>
</div>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr">On Sun, Jul 5, 2015 at 4:47 AM Schlottke-Lakemper, Michael <<a href="mailto:m.schlottke-lakemper@aia.rwth-aachen.de" target="_blank">m.schlottke-lakemper@aia.rwth-aachen.de</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">Dear all,
<div><br>
</div>
<div>this (<a href="http://www.kitware.com/blog/home/post/856" target="_blank">http://www.kitware.com/blog/home/post/856</a>) excellent blog post details how to use the vtkGhostLevels with the next ParaView release. However, it focuses on
the changes in comparison to the previous way of doing things. Thus I am wondering if there is a comprehensive guide online that describes in a little more depth how to properly use ghost levels in the “old” (or current as of PV 4.3.1) way?</div>
<div><br>
</div>
<div>Thanks a lot in advance</div>
<div><br>
</div>
<div>Michael</div>
<br>
<br>
<div>
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<span style="border-collapse:separate;font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px">
<div style="word-wrap:break-word"><span style="border-collapse:separate;font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px">
<div style="word-wrap:break-word"><span style="border-collapse:separate;font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px">
<div style="word-wrap:break-word"><span style="border-collapse:separate;font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px">
<div style="word-wrap:break-word"><span style="border-collapse:separate;font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px">
<div style="word-wrap:break-word"><span style="border-collapse:separate;font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px">
<div style="word-wrap:break-word"><span style="border-collapse:separate;font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px">
<div style="word-wrap:break-word"><span style="border-collapse:separate;font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px">
<div style="word-wrap:break-word"><span style="border-collapse:separate;font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px">
<div style="word-wrap:break-word"><span style="border-collapse:separate;font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px">
<div style="word-wrap:break-word"><span style="border-collapse:separate;font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px">
<div style="word-wrap:break-word">
<div>--</div>
<div>Michael Schlottke-Lakemper</div>
<div><br>
</div>
<div>SimLab Highly Scalable Fluids & Solids Engineering</div>
<div>Jülich Aachen Research Alliance (JARA-HPC)</div>
<div>RWTH Aachen University</div>
<div>Wüllnerstraße 5a<br>
52062 Aachen<br>
Germany</div>
<div><br>
</div>
<div>Phone: +49 (241) 80 95188</div>
<div>Fax: +49 (241) 80 92257</div>
<div>Mail: <a href="mailto:m.schlottke-lakemper@aia.rwth-aachen.de" target="_blank">
m.schlottke-lakemper@aia.rwth-aachen.de</a></div>
<div>Web: <a href="http://www.jara.org/jara-hpc" target="_blank">http://www.jara.org/jara-hpc</a></div>
</div>
</span></div>
</span></div>
</span></div>
</span></div>
</span></div>
</span></div>
</span></div>
</span></div>
</span></div>
</span></div>
</span></div>
</div>
<br>
</div>
_______________________________________________<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>
Search the list archives at: <a href="http://markmail.org/search/?q=Paraview-developers" rel="noreferrer" target="_blank">
http://markmail.org/search/?q=Paraview-developers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview-developers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/paraview-developers</a><br>
</blockquote>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div></blockquote></div>