<div dir="ltr"><div><div>Hi,<br><br></div>For information, by the end of the year or in the beginning of 2017 we will introduce into VTK & ParaView a new data structure to represent this kind of regular grid with non implicit cell geometry. For now, as Kenneth said, you must pay the price of using an Unstructured Grid to represent it.<br><br></div>Best,<br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><b>Joachim Pouderoux</b><font size="2">, <font size="1">PhD</font></font><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font size="1"><i>Technical Expert - Scientific Computing Team</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></div></div></div></div></div></div>
<br><div class="gmail_quote">2016-10-28 19:48 GMT-04:00 Moreland, Kenneth <span dir="ltr"><<a href="mailto:kmorel@sandia.gov" target="_blank">kmorel@sandia.gov</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">







<div bgcolor="white" link="blue" vlink="purple" lang="EN-US">
<div class="m_1829369259851031364WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">Chris,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">Ultimately to represent your data in the way you describe, you will need to store it in an unstructured grid. Even though your data are regular in the X and Y directions, the structured
 data types will insist on connecting the points of the cells, which you explicitly stated that you do not want. The unstructured grid does not have this restriction. Although it can (and usually does) share points across cells, it does not have to.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">-Ken<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><u></u> <u></u></span></p>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-family:Calibri;color:black">From:
</span></b><span style="font-family:Calibri;color:black">ParaView <<a href="mailto:paraview-bounces@paraview.org" target="_blank">paraview-bounces@paraview.org</a><wbr>> on behalf of Christian Gabriel <<a href="mailto:cgabriel@matrix-solutions.com" target="_blank">cgabriel@matrix-solutions.com</a><wbr>><br>
<b>Date: </b>Friday, October 28, 2016 at 6:06 AM<br>
<b>To: </b>"<a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a>" <<a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a>><br>
<b>Subject: </b>[EXTERNAL] Re: [Paraview] Data structure type<u></u><u></u></span></p>
</div><span class="">
<div>
<p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p>
</div>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:11.0pt;font-family:Calibri;color:#1f497d">Thanks Dave, I’ll take a closer look.</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:11.0pt;font-family:Calibri;color:#1f497d">I think I’m still a little confused about cell based data versus node based data at the top and bottom of the cell ….</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:11.0pt;font-family:Calibri;color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:11.0pt;font-family:Calibri;color:#1f497d">I found this which was generated with Paraview, so I know it can be done
</span><span style="font-size:11.0pt;font-family:Wingdings;color:#1f497d">J</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:11.0pt;font-family:Calibri;color:#1f497d"> </span><u></u><u></u></p>
</span><p class="MsoNormal" style="margin-left:.5in"><img id="m_1829369259851031364Picture_x005f_x0020_1" src="cid:image001.jpg@01D23143.6D01A580" alt="id:image001.jpg@01D230F1.D9A2EA70" height="317" width="376"><u></u><u></u></p><div><div class="h5">
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:11.0pt;font-family:Calibri;color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:11.0pt;font-family:Calibri;color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:11.0pt;font-family:Calibri;color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:11.0pt;font-family:Calibri;color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:10.0pt;font-family:Tahoma">From:</span></b><span style="font-size:10.0pt;font-family:Tahoma"> David E DeMarle [mailto:<a href="mailto:dave.demarle@kitware.com" target="_blank">dave.demarle@kitware.<wbr>com</a>]
<br>
<b>Sent:</b> October-28-16 7:32 AM<br>
<b>To:</b> Christian Gabriel<br>
<b>Cc:</b> <a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a><br>
<b>Subject:</b> Re: [Paraview] Data structure type</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in"> <u></u><u></u></p>
<p style="margin-left:.5in">Try vtkStructuredGrid and the Cell Data to Point Data filter.<u></u><u></u></p>
<p style="margin-left:.5in">hth<u></u><u></u></p>
<div>
<p class="MsoNormal" style="margin-left:.5in"> <u></u><u></u></p>
<div>
<p class="MsoNormal" style="margin-left:.5in">On Oct 27, 2016 9:30 PM, "Christian Gabriel" <<a href="mailto:cgabriel@matrix-solutions.com" target="_blank">cgabriel@matrix-solutions.com</a><wbr>> wrote:<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal" style="margin-left:.5in">
Good day.<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">
 <u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">
I’m looking into Paraview for 3D visualisation of modelling results from an integrated surface water/groundwater model.<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">
 <u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">
The model domain is discretized as a uniform rectilinear grid; calculations are performed for the grid centroids.
<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">
However, the vertical extent of a grid cell is described by a top and bottom elevation, constant over the cell.<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">
This results in a staggered arrangement of cells (kinda like Lego blocks) in cross-section view:<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">
 <u></u><u></u></p>
<table class="m_1829369259851031364MsoNormalTable" style="width:516.05pt;margin-left:.5in;border-collapse:collapse" width="688" cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr style="height:153.05pt">
<td style="width:195.3pt;padding:0in 5.4pt 0in 5.4pt;height:153.05pt" width="260" valign="top">
<p class="MsoNormal"><img id="m_1829369259851031364m_-2779410835549953872Picture_x005f_x0020_2" src="cid:image002.png@01D23143.6D01A580" height="261" width="246" border="0"><u></u><u></u></p>
</td>
<td style="width:66.95pt;padding:0in 5.4pt 0in 5.4pt;height:153.05pt" width="89">
<p class="MsoNormal" style="text-align:right" align="right">
<b><u>NOT:</u></b><u></u><u></u></p>
</td>
<td style="width:253.8pt;padding:0in 5.4pt 0in 5.4pt;height:153.05pt" width="338" valign="top">
<p class="MsoNormal"><img id="m_1829369259851031364m_-2779410835549953872Picture_x005f_x0020_4" src="cid:image003.jpg@01D23143.6D01A580" height="265" width="325" border="0"><u></u><u></u></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal" style="margin-left:.5in">
 <u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">
 <u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">
I’m wondering what data type/structure I would use for this kind of data?<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">
 <u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">
Also, is there an easy way/filter in Paraview to re-project/interpolate the centre based (const) elevation data to the corners/nodes of the uniform rectilinear “horizontal” grid, which would allow for a display as shown on the right (instead of staggered)?<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">
 <u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">
Thanks a lot,<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">
 <u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">
Chris<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">
 <u></u><u></u></p>
</div>
</div>
<p class="MsoNormal" style="margin-right:0in;margin-bottom:12.0pt;margin-left:.5in">
<br>
______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">
http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">
http://paraview.org/Wiki/<wbr>ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" target="_blank">
http://markmail.org/search/?q=<wbr>ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/paraview</a><u></u><u></u></p>
</div>
</div>
</div></div></div>
</div>

<br>______________________________<wbr>_________________<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/<wbr>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/<wbr>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=<wbr>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/<wbr>mailman/listinfo/paraview</a><br>
<br></blockquote></div><br></div>