<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">you must put the attributes inside each
grid:<br>
<br>
Felipe<br>
<br>
<?xml version="1.0" ?><br>
<!DOCTYPE Xdmf SYSTEM "Xdmf.dtd" []><br>
<Xdmf Version="2.2"><br>
<Domain><br>
<Grid GridType="Collection"><br>
<Grid GridType="Uniform"><br>
<Topology TopologyType="3DRectMesh" Dimensions="
2 4 3"/><br>
<Geometry GeometryType="VXVYVZ"><br>
<DataItem Dimensions=" 3" NumberType="Float"
Precision="4" Format="XML"><br>
0.0000 1.0000 2.0000<br>
</DataItem><br>
<DataItem Dimensions=" 4" NumberType="Float"
Precision="4" Format="XML"><br>
0.0000 2.0944 4.1888 6.2832<br>
</DataItem><br>
<DataItem Dimensions=" 2" NumberType="Float"
Precision="4" Format="XML"><br>
1.0000 2.0000<br>
</DataItem><br>
</Geometry><br>
<Attribute Name="var" AttributeType="Scalar"
Center="Node"><br>
<DataItem Dimensions="24 1 1" NumberType="Float"
Precision="4" Format="XML"><br>
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
23<br>
</DataItem><br>
</Attribute><br>
</Grid><br>
<Grid GridType="Uniform"><br>
<Topology TopologyType="3DRectMesh" Dimensions=" 2
4 3"/><br>
<Geometry GeometryType="VXVYVZ"><br>
<DataItem Dimensions=" 3" NumberType="Float" Precision="4"
Format="XML"><br>
1.0000 2.0000 3.0000<br>
</DataItem><br>
<DataItem Dimensions=" 4" NumberType="Float" Precision="4"
Format="XML"><br>
0.0000 2.0944 4.1888 6.2832<br>
</DataItem><br>
<DataItem Dimensions=" 2" NumberType="Float" Precision="4"
Format="XML"><br>
2.0000 3.0000<br>
</DataItem><br>
</Geometry><br>
<Attribute Name="var" AttributeType="Scalar" Center="Node"><br>
<DataItem Dimensions="24 1 1" NumberType="Float" Precision="4"
Format="XML"><br>
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23<br>
</DataItem><br>
</Attribute><br>
</Grid><br>
</Grid><br>
</Domain><br>
</Xdmf><br>
<br>
<br>
Le 04/04/2013 04:36, Nikolaos Beratlis a écrit :<br>
</div>
<blockquote
cite="mid:CALdMxnz8fwHOELBSd4AoAXt=tKbG62yvYrWsvzywQU=52tOA7g@mail.gmail.com"
type="cite">
<div dir="ltr">I have a domain that consists of patches of
orthogonal cartesian grids in the following XDMF file:
<div><br>
</div>
<div>
<div><?xml version="1.0" ?></div>
<div><!DOCTYPE Xdmf SYSTEM "Xdmf.dtd" []></div>
<div><Xdmf Version="2.2"></div>
<div><Domain></div>
<div><Grid GridType="Collection"></div>
<div><Grid GridType="Uniform"></div>
<div><Topology TopologyType="3DRectMesh" Dimensions=" 2
4 3"/></div>
<div><Geometry GeometryType="VXVYVZ"></div>
<div><DataItem Dimensions=" 3" NumberType="Float"
Precision="4" Format="XML"></div>
<div> 0.0000 1.0000 2.0000</div>
<div></DataItem></div>
<div><DataItem Dimensions=" 4" NumberType="Float"
Precision="4" Format="XML"></div>
<div> 0.0000 2.0944 4.1888 6.2832</div>
<div></DataItem></div>
<div><DataItem Dimensions=" 2" NumberType="Float"
Precision="4" Format="XML"></div>
<div> 1.0000 2.0000</div>
<div></DataItem></div>
<div></Geometry></div>
<div>
</Grid></div>
<div><Grid GridType="Uniform"></div>
<div><Topology TopologyType="3DRectMesh" Dimensions=" 2
4 3"/></div>
<div><Geometry GeometryType="VXVYVZ"></div>
<div><DataItem Dimensions=" 3" NumberType="Float"
Precision="4" Format="XML"></div>
<div> 1.0000 2.0000 3.0000</div>
<div></DataItem></div>
<div><DataItem Dimensions=" 4" NumberType="Float"
Precision="4" Format="XML"></div>
<div> 0.0000 2.0944 4.1888 6.2832</div>
<div></DataItem></div>
<div><DataItem Dimensions=" 2" NumberType="Float"
Precision="4" Format="XML"></div>
<div> 2.0000 3.0000</div>
<div></DataItem></div>
<div></Geometry></div>
<div></Grid></div>
<div><Attribute Name="var" AttributeType="Scalar"
Center="Node"></div>
<div><DataItem Dimensions="48" NumberType="Float"
Precision="4" Format="XML"></div>
<div>0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
22 23</div>
<div>0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
22 23</div>
<div></DataItem></div>
<div></Attribute></div>
<div></Grid></div>
<div></Domain></div>
<div></Xdmf></div>
</div>
<div><br>
</div>
<div style="">The grid is declared as GridType Collection. When
I read it in Paraview the grid is read correctly as shown in
the attached picture, however I don't get the values for the
attribute. I think the attribute is not read at all. Is there
sth wrong with this file? How should the attribute be
specified for GridType Collection?</div>
<div style=""><br>
</div>
<div style="">Thank you,</div>
<div style=""><br>
</div>
<div style="">Nikos</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>
Visit other Kitware open-source projects at <a class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>
Please keep messages on-topic and check the ParaView Wiki at: <a class="moz-txt-link-freetext" href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a>
Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext" href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Felipe Bordeu Weldt
Ingénieur de Recherche
-------------------------------------
Tél. : 33 (0)2 40 37 16 57
Fax. : 33 (0)2 40 74 74 06
<a class="moz-txt-link-abbreviated" href="mailto:Felipe.Bordeu@ec-nantes.fr">Felipe.Bordeu@ec-nantes.fr</a>
Institut GeM - UMR CNRS 6183
École Centrale Nantes
1 Rue de La Noë, 44321 Nantes, FRANCE
-------------------------------------</pre>
</body>
</html>