<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style>
<!--
@font-face
{font-family:"Cambria Math"}
@font-face
{font-family:Calibri}
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif"}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline}
span.EmailStyle17
{font-family:"Calibri","sans-serif";
color:windowtext}
@page WordSection1
{margin:1.0in 1.0in 1.0in 1.0in}
-->
</style><style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1" lang="EN-GB" link="blue" vlink="purple">
<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>
<style type="text/css">p, li { white-space: pre-wrap; }
</style>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; 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>
<style type="text/css">
p, li { white-space: pre-wrapBODY {scrollbar-base-color:undefined;scrollbar-highlight-color:undefined;scrollbar-darkshadow-color:undefined;scrollbar-track-color:undefined;scrollbar-arrow-color:undefined}</style><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; -qt-block-indent:0; 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: https://blog.kitware.com/ghost-and-blanking-visibility-changes/<br></span></pre>
<div class="BodyFragment"><font size="2"><span style="font-size:10pt;">
<div>-----------------<br>
Jean/CSCS<br>
<font style="font-family:Verdana; font-size:8pt" face="Verdana" color="#7d7d7d" size="2"><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>
</body>
</html>