<div dir="ltr">Hi Michael,<div><br></div><div>If you already have the information handy, simply creating the vtkGhostLevels array as Dan described is the way to go. We have plans on writing a filter that generates ghost levels without redistributing the entire dataset, which will hopefully scale better. Having said that if the simulation has ghost levels, simply writing them out and marking them as such will always scale better.</div><div><br></div><div>Best,</div><div>-berk</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 6, 2015 at 2:36 PM, Schlottke-Lakemper, Michael <span dir="ltr"><<a href="mailto:m.schlottke-lakemper@aia.rwth-aachen.de" target="_blank">m.schlottke-lakemper@aia.rwth-aachen.de</a>></span> wrote:<br><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>Thanks a lot for this clarification - this should be enough information for us to get started.</div>
<div><br>
</div>
<div>Indeed, our reader plugin is designed to be used in a parallel fashion. Due to the size of the grid/data files, we typically use O(10)-O(1000) MPI ranks for pvserver. Currently we use the D3 filter if we need smooth gradients/statistics across
 domain boundaries, but the D3 filter does not scale well beyond a hundred or so cores.</div><span class="HOEnZb"><font color="#888888">
<div><br>
</div>
<div>Michael</div></font></span><div><div class="h5">
<div><br>
</div>
<div>
<div>
<blockquote type="cite">
<div>On 06 Jul 2015, at 18:16 , Dan Lipsa <<a href="mailto:dan.lipsa@kitware.com" target="_blank">dan.lipsa@kitware.com</a>> wrote:</div>
<br>
<div>
<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" 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">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: <a href="tel:%2B49%20%28241%29%2080%2095188" value="+492418095188" target="_blank">+49 (241) 80 95188</a></div>
<div>Fax: <a href="tel:%2B49%20%28241%29%2080%2092257" value="+492418092257" target="_blank">+49 (241) 80 92257</a></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>
</div>
</blockquote>
</div>
<br>
</div>
</div></div></div>

<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>
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>
<br></blockquote></div><br></div>