<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Thanks, David! <br>
Looks like I need to build a 32-bit-ID version of VTK :-)</p>
<p>Paul</p>
<br>
<div class="moz-cite-prefix">On 11/20/2017 11:03 PM, David E DeMarle
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CANjZAi-kBiPsHLSc2obhT5_h6QMNzBcPZDQuFKLF1+zZPH9Reg@mail.gmail.com">
<div dir="ltr">As for xdmf3, yes the size of the compiled in ID
type is what determines it.
<div>
<div>See<br>
<div><a
href="https://gitlab.kitware.com/vtk/vtk/blob/master/IO/Xdmf3/vtkXdmf3DataSet.cxx#L372"
moz-do-not-send="true">https://gitlab.kitware.com/vtk/vtk/blob/master/IO/Xdmf3/vtkXdmf3DataSet.cxx#L372</a><br>
</div>
</div>
<div>where we check the size and then give over the pointer.</div>
<div><br>
</div>
<div><br>
</div>
</div>
</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>David E DeMarle<br>
Kitware, Inc.<br>
Principal Engineer<br>
21 Corporate Drive<br>
Clifton Park, NY 12065-8662<br>
Phone: 518-881-4909</div>
</div>
</div>
</div>
</div>
</div>
<br>
<div class="gmail_quote">On Thu, Nov 16, 2017 at 4:20 AM, Paul
Melis <span dir="ltr"><<a
href="mailto:paul.melis@surfsara.nl" target="_blank"
moz-do-not-send="true">paul.melis@surfsara.nl</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
Is there a way to specify the integer precision of polydata
index arrays when using the Xdmf3 writer? For me, it's
currently writing out indices in 64 bits, which is a bit
wasteful given the number of vertices:<br>
<br>
<?xml version="1.0" encoding="utf-8"?><br>
<Xdmf xmlns:xi="<a href="http://www.w3.org/2001/XInclude"
rel="noreferrer" target="_blank" moz-do-not-send="true">http://www.w3.org/20<wbr>01/XInclude</a>"
Version="3.3"><br>
<Domain><br>
<Grid Name="Grid"><br>
<Geometry Origin="" Type="XYZ"><br>
<DataItem DataType="Float" Dimensions="39010488
3" Format="HDF" Precision="4">region-rbc-9.h5:<wbr>Data2</DataItem><br>
</Geometry><br>
<Topology Dimensions="77777920" Type="Mixed"><br>
<DataItem DataType="Int" Dimensions="311111680"
Format="HDF" Precision="8">region-rbc-9.h5:<wbr>Data3</DataItem><br>
</Topology><br>
</Grid><br>
</Domain><br>
</Xdmf><br>
<br>
Or is the output precision of (most) VTK writers fully
determined by the compiled-in ID type?<br>
<br>
Thanks,<br>
Paul<br>
<br>
-- <br>
<br>
Paul Melis<br>
| Visualization group leader & developer | SURFsara |<br>
| Science Park 140 | 1098 XG Amsterdam |<br>
| T 020 800 1312 | <a href="mailto:paul.melis@surfsara.nl"
target="_blank" moz-do-not-send="true">paul.melis@surfsara.nl</a>
| <a href="http://www.surfsara.nl" rel="noreferrer"
target="_blank" moz-do-not-send="true">www.surfsara.nl</a>
|<br>
______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com"
rel="noreferrer" target="_blank" moz-do-not-send="true">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" moz-do-not-send="true">http://www.kitware.com/opensou<wbr>rce/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a
href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer"
target="_blank" moz-do-not-send="true">http://www.vtk.org/Wiki/VTK_FA<wbr>Q</a><br>
<br>
Search the list archives at: <a
href="http://markmail.org/search/?q=vtkusers"
rel="noreferrer" target="_blank" moz-do-not-send="true">http://markmail.org/search/?q=<wbr>vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a
href="http://public.kitware.com/mailman/listinfo/vtkusers"
rel="noreferrer" target="_blank" moz-do-not-send="true">http://public.kitware.com/mail<wbr>man/listinfo/vtkusers</a><br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</body>
</html>