<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Hi Dan,
<div class=""><br class="">
</div>
<div class="">Thanks a lot for this clarification - this should be enough information for us to get started.</div>
<div class=""><br class="">
</div>
<div class="">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>
<div class=""><br class="">
</div>
<div class="">Michael</div>
<div class=""><br class="">
</div>
<div class="">
<div>
<blockquote type="cite" class="">
<div class="">On 06 Jul 2015, at 18:16 , Dan Lipsa <<a href="mailto:dan.lipsa@kitware.com" class="">dan.lipsa@kitware.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">
<div class="">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 class="">(we just set a bit for the new version, so we don't store information about how many layers we have)<br class="">
<div class=""><br class="">
</div>
<div class="">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 class="">
<div class=""><br class="">
</div>
<div class="">Dan</div>
<div class=""><br class="">
</div>
</div>
</div>
</div>
<br class="">
<div class="gmail_quote">
<div dir="ltr" class="">On Mon, Jul 6, 2015 at 11:43 AM Schlottke-Lakemper, Michael <<a href="mailto:m.schlottke-lakemper@aia.rwth-aachen.de" class="">m.schlottke-lakemper@aia.rwth-aachen.de</a>> wrote:<br class="">
</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" class="">Hi Dan,
<div class=""><br class="">
</div>
<div class="">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 class=""><br class="">
</div>
<div class="">Regards,</div>
<div class=""><br class="">
</div>
<div class="">Michael</div>
</div>
<div style="word-wrap:break-word" class="">
<div class=""><br class="">
</div>
<div class=""><br class="">
<div class="">
<blockquote type="cite" class="">
<div class="">On 06 Jul 2015, at 17:10 , Dan Lipsa <<a href="mailto:dan.lipsa@kitware.com" target="_blank" class="">dan.lipsa@kitware.com</a>> wrote:</div>
<br class="">
<div class="">
<div dir="ltr" class="">Hi Michael,<br class="">
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 class="">I can also add a link in the blog to the document if someone points it out.<br class="">
<div class=""><br class="">
</div>
<div class="">Dan</div>
<div class=""><br class="">
</div>
</div>
</div>
<br class="">
<div class="gmail_quote">
<div dir="ltr" class="">On Sun, Jul 5, 2015 at 4:47 AM Schlottke-Lakemper, Michael <<a href="mailto:m.schlottke-lakemper@aia.rwth-aachen.de" target="_blank" class="">m.schlottke-lakemper@aia.rwth-aachen.de</a>> wrote:<br class="">
</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" class="">Dear all,
<div class=""><br class="">
</div>
<div class="">this (<a href="http://www.kitware.com/blog/home/post/856" target="_blank" class="">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 class=""><br class="">
</div>
<div class="">Thanks a lot in advance</div>
<div class=""><br class="">
</div>
<div class="">Michael</div>
<br class="">
<br class="">
<div class="">
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word" class="">
<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" class="">
<div style="word-wrap:break-word" class=""><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" class="">
<div style="word-wrap:break-word" class=""><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" class="">
<div style="word-wrap:break-word" class=""><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" class="">
<div style="word-wrap:break-word" class=""><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" class="">
<div style="word-wrap:break-word" class=""><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" class="">
<div style="word-wrap:break-word" class=""><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" class="">
<div style="word-wrap:break-word" class=""><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" class="">
<div style="word-wrap:break-word" class=""><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" class="">
<div style="word-wrap:break-word" class=""><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" class="">
<div style="word-wrap:break-word" class=""><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" class="">
<div style="word-wrap:break-word" class="">
<div class="">--</div>
<div class="">Michael Schlottke-Lakemper</div>
<div class=""><br class="">
</div>
<div class="">SimLab Highly Scalable Fluids & Solids Engineering</div>
<div class="">Jülich Aachen Research Alliance (JARA-HPC)</div>
<div class="">RWTH Aachen University</div>
<div class="">Wüllnerstraße 5a<br class="">
52062 Aachen<br class="">
Germany</div>
<div class=""><br class="">
</div>
<div class="">Phone: +49 (241) 80 95188</div>
<div class="">Fax: +49 (241) 80 92257</div>
<div class="">Mail: <a href="mailto:m.schlottke-lakemper@aia.rwth-aachen.de" target="_blank" class="">
m.schlottke-lakemper@aia.rwth-aachen.de</a></div>
<div class="">Web: <a href="http://www.jara.org/jara-hpc" target="_blank" class="">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 class="">
</div>
_______________________________________________<br class="">
Powered by <a href="http://www.kitware.com/" rel="noreferrer" target="_blank" class="">
www.kitware.com</a><br class="">
<br class="">
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank" class="">
http://www.kitware.com/opensource/opensource.html</a><br class="">
<br class="">
Search the list archives at: <a href="http://markmail.org/search/?q=Paraview-developers" rel="noreferrer" target="_blank" class="">
http://markmail.org/search/?q=Paraview-developers</a><br class="">
<br class="">
Follow this link to subscribe/unsubscribe:<br class="">
<a href="http://public.kitware.com/mailman/listinfo/paraview-developers" rel="noreferrer" target="_blank" class="">http://public.kitware.com/mailman/listinfo/paraview-developers</a><br class="">
</blockquote>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>