<div dir="ltr"><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">victor sv</b> <span dir="ltr"><<a href="mailto:victorsv@gmail.com">victorsv@gmail.com</a>></span><br>Date: 2015-08-14 12:25 GMT+02:00<br>Subject: XDMF and hyperslabs<br>To: vtkdev <<a href="mailto:vtk-developers@vtk.org">vtk-developers@vtk.org</a>>, <a href="mailto:vtk-users@vtk.org">vtk-users@vtk.org</a>, "<a href="mailto:paraview@paraview.org">paraview@paraview.org</a>" <<a href="mailto:paraview@paraview.org">paraview@paraview.org</a>><br><br><br><div dir="ltr"><div><div>Hello all,<br><br></div>I'm trying to create and visualize an XDMF/HDF5 file containing a partitioned mesh using hyperslabs. <br><br>Is this supported by Paraview/VTK ??<br><br></div><div>The HDF5 (solution1.h5) looks as follows:<br><br>GROUP "/" {<br> GROUP "Grid" {<br> DATASET "Connectivities" {<br> DATATYPE H5T_STD_I32BE<br> DATASPACE SIMPLE { ( 18 ) / ( 18 ) }<br> DATA {<br> (0): 0, 1, 2, 3, 2, 1, 4, 5, 6, 7, 6, 5, 6, 7, 8, 9, 8, 7<br> }<br> }<br> DATASET "Coordinates" {<br> DATATYPE H5T_IEEE_F64BE<br> DATASPACE SIMPLE { ( 20 ) / ( 20 ) }<br> DATA {<br> (0): 0, 0, 1, 0, 0, 0.5, 1, 0.5, 0, 0.5, 1, 0.5, 0, 1, 1, 1, 0, 1.5,<br> (18): 1, 1.5<br> }<br> }<br> DATASET "Solution" {<br> DATATYPE H5T_IEEE_F64BE<br> DATASPACE SIMPLE { ( 10 ) / ( 10 ) }<br> DATA {<br> (0): 0, 0, 0, 0, 1, 1, 1, 1, 1, 1<br> }<br> }<br> }<br>}<br><br></div><div>And the XDMF file to represent a 2-triangle (4 points) piece of the full mesh is: <br><br><?xml version="1.0" encoding="utf-8"?><br><Xdmf xmlns:xi="<a href="http://www.w3.org/2001/XInclude" target="_blank">http://www.w3.org/2001/XInclude</a>"><br> <Domain><br> <Grid CollectionType="Spatial" GridType="Collection" Name="Mesh"><br> <Grid Name="Grid1"><br> <Topology Dimensions="6" Type="Triangle"><br> <DataItem ItemType="HyperSlab" Dimensions="6" Type="HyperSlab"><br> <DataItem Dimensions="3 1" Format="XML"> 0 1 6 </DataItem><br> <DataItem DataType="Int" Dimensions="18" Format="HDF" Precision="4">solution1.h5:Grid/Connectivities</DataItem><br> </DataItem><br> </Topology><br> <Geometry GeometryType="XY"><br> <DataItem ItemType="HyperSlab" Dimensions="8" Type="HyperSlab"><br> <DataItem Dimensions="3 1" Format="XML"> 0 1 8 </DataItem><br> <DataItem DataType="Float" Dimensions="20" Format="HDF" Precision="8">solution1.h5:Grid/Coordinates</DataItem><br> </DataItem><br> </Geometry><br> </Grid><br> </Grid><br> </Domain><br></Xdmf><br><br></div><div>I'm trying to use the syntax explained at the XDMF webpage ( <a href="http://www.xdmf.org/index.php/XDMF_Model_and_Format" target="_blank">http://www.xdmf.org/index.php/XDMF_Model_and_Format</a> ), but I'm feeling confused about the version of the documentation and current version of XDMF library included in VTK library.<br><br></div><div>Can anyone give me some info about this?<br><div style="display:inline-block"><div><span></span></div></div><div><div> </div> </div> <div><div dir="ltr" style="zoom:1"><span lang="en"><span>It is</span> </span><span lang="en"><span>XDMF</span><span>v3</span><span> </span></span><span lang="en"><span>already public</span> <span>?</span></span></div></div><br><br></div><div>Thanks in advance,<br></div><div>Víctor.<br></div><div><br></div></div>
</div><br></div>