<div dir="ltr"><div><div><div><div>Jean,<br><br></div>By looking at vtkDataSet::GenerateGhostArray() implementation it appears that ghost cell array will not be created if:<br> - the grid extent is not 3D (I supposed it is not your case here)<br> - if the the provided extents are the same than the data extents.<br><br></div>You might want to check if this last assertion is not valid for your case.<br><br></div>Best,<br></div>Joachim<br><div><div><div><br></div></div></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><b>Joachim Pouderoux</b><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font size="1"><i>PhD, Technical Expert</i></font><br><b><font size="1"><a href="http://www.kitware.fr" target="_blank">Kitware SAS</a></font></b><br></blockquote>
</div></div></div>
<br><div class="gmail_quote">2016-02-22 17:33 GMT+01:00 Favre  Jean <span dir="ltr"><<a href="mailto:jfavre@cscs.ch" target="_blank">jfavre@cscs.ch</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div link="blue" vlink="purple" lang="EN-GB">
<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt"><br>
<div>I am prototyping an AMR output, using programmable source.<br>
having trouble setting up the GhostArray. The following returns None:<br>
 
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">
<span style="font-family:'Courier New,courier'">grid0 </span><span style="font-family:'Courier New,courier';color:#666666">=</span><span style="font-family:'Courier New,courier'"> vtk</span><span style="font-family:'Courier New,courier';color:#666666">.</span><span style="font-family:'Courier New,courier'">vtkUniformGrid()</span>
<span style="font-family:'Courier New,courier'">grid0</span><span style="font-family:'Courier New,courier';color:#666666">.</span><span style="font-family:'Courier New,courier'">GenerateGhostArray(exts,
</span><span style="font-family:'Courier New,courier';color:#008000">True</span><span style="font-family:'Courier New,courier'">)</span></p>
<pre style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="font-family:'Courier New,courier'">ga </span><span style="font-family:'Courier New,courier';color:#666666">=</span><span style="font-family:'Courier New,courier'"> grid0</span><span style="font-family:'Courier New,courier';color:#666666">.</span><span style="font-family:'Courier New,courier'">GetCellGhostArray()<br><br>I am setting it this way instead of using vtkAMRBox because my input file already<br>has the cell-data for the blanking. Problem is </span><span style="font-family:'Courier New,courier'"><span style="font-family:'Courier New,courier'">GetCellGhostArray() returns None.<br><br></span>cf: <a href="https://blog.kitware.com/ghost-and-blanking-visibility-changes/" target="_blank">https://blog.kitware.com/ghost-and-blanking-visibility-changes/</a><br></span></pre>
<div><font size="2"><span style="font-size:10pt">
<div>-----------------<br>
Jean/CSCS<br>
<font style="font-family:Verdana;font-size:8pt" face="Verdana" size="2" color="#7d7d7d"><font style="font-family:Verdana;font-size:8pt"><span style="font-family:Verdana;font-size:8pt"><a href="http://www.marin.nl/web/News/News-items/Specialist-course-for-EEDI-Verifiers-June-2024.htm" title="" style="font-family:Verdana;font-size:8pt" target="_blank"><span style="font-family:Verdana;font-size:8pt"></span></a></span></font></font></div>
</span></font></div>
</div>
<div style="font-family:Times New Roman;color:#000000;font-size:16px"></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>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br></div>