<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>The thing that jumps out at me is missing the Dimensions tag on the function itself. For instance, we create our grids as:</p>
<p><br>
</p>
<p></p>
<div>                        <DataItem Dimensions="8 47 373 3" Function="JOIN($0, $1, $2)" ItemType="Function"><br>
                            <DataItem Dimensions="8 47 373" Format="HDF" NumberType="Float" Precision="8">grid.h5:/Domain_00001/x</DataItem><br>
                            <DataItem Dimensions="8 47 373" Format="HDF" NumberType="Float" Precision="8">grid.h5:/Domain_00001/y</DataItem><br>
                            <DataItem Dimensions="8 47 373" Format="HDF" NumberType="Float" Precision="8">grid.h5:/Domain_00001/z</DataItem><br>
                        </DataItem></div>
<p></p>
<p><br>
</p>
<p>We also use a comma between the JOIN, not a semicolon -- not sure if that matters or not.<br>
</p>
<br>
<p>If you change your JOIN to look like:</p>
<p><br>
</p>
<p></p>
<p style="margin: 0cm 0cm 0.0001pt; text-align: justify; font-size: 10.5pt; font-family: DengXian;">
<span lang="EN-US">        <DataItem Dimensions="2 2 2" ItemType="Function" Function="JOIN($0, $1)"></span></p>
<p style="margin: 0cm 0cm 0.0001pt; text-align: justify; font-size: 10.5pt; font-family: DengXian;">
<span lang="EN-US">          <DataItem DataType="Float" Dimensions="2 2" Format="HDF" Precision="4">EvolvingSquare_01.h5:Coordinates</DataItem></span></p>
<p style="margin: 0cm 0cm 0.0001pt; text-align: justify; font-size: 10.5pt; font-family: DengXian;">
<span lang="EN-US">          <DataItem DataType="Float" Dimensions="2 2" Format="HDF" Precision="4">EvolvingSquare_02.h5:Coordinates</DataItem>    
</span></p>
<p style="margin: 0cm 0cm 0.0001pt; text-align: justify; font-size: 10.5pt; font-family: DengXian;">
<span lang="EN-US">        </DataItem></span></p>
<span lang="EN-US"></span>
<p></p>
<p><br>
</p>
<p>does that fix the problem?</p>
<p><br>
</p>
<p>Tim<br>
</p>
<br>
<div style="color: rgb(0, 0, 0);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> ParaView <paraview-bounces@paraview.org> on behalf of dl826@cornell.edu <dl826@cornell.edu><br>
<b>Sent:</b> Monday, September 19, 2016 10:20 PM<br>
<b>To:</b> paraview@paraview.org<br>
<b>Subject:</b> [Paraview] Function JOIN of XDMF in Paraview</font>
<div> </div>
</div>
<div>
<div style="">
<p style="margin: 0cm 0cm 0.0001pt; text-align: justify; font-size: 10.5pt; font-family: DengXian;">
<span lang="EN-US">Hi</span>,<span style="font-size:11.0pt" lang="EN-US"></span></p>
<p style="margin: 0cm 0cm 0.0001pt; text-align: justify; font-size: 10.5pt; font-family: DengXian;">
<span lang="EN-US">I am now working on a project which needs the use of JOIN function in xdmf to concatenate the data from multiple h5 files and visualize those files in Paraview. I have created a small trial to test this JOIN function. I create two h5 files,
 each of which contains two points of a unit square. For each point, I assign a value to it as its attribute. Then I write one xdmf file, which uses function JOIN to concatenate the dataset from two h5 files. But when I load my xdmf file into Paraview, Paraview
 just crashes directly.  This is the xdmf file I have written:</span></p>
<p style="margin: 0cm 0cm 0.0001pt; text-align: justify; font-size: 10.5pt; font-family: DengXian;">
<span lang="EN-US"> </span></p>
<p style="margin: 0cm 0cm 0.0001pt; text-align: justify; font-size: 10.5pt; font-family: DengXian;">
<span lang="EN-US"><?xml version="1.0" encoding="utf-8"?></span></p>
<p style="margin: 0cm 0cm 0.0001pt; text-align: justify; font-size: 10.5pt; font-family: DengXian;">
<span lang="EN-US"><Xdmf xmlns:xi="http://www.w3.org/2001/XInclude" Version="2.97"></span></p>
<p style="margin: 0cm 0cm 0.0001pt; text-align: justify; font-size: 10.5pt; font-family: DengXian;">
<span lang="EN-US">  <Domain></span></p>
<p style="margin: 0cm 0cm 0.0001pt; text-align: justify; font-size: 10.5pt; font-family: DengXian;">
<span lang="EN-US">    <Grid Name="Grid"></span></p>
<p style="margin: 0cm 0cm 0.0001pt; text-align: justify; font-size: 10.5pt; font-family: DengXian;">
<span lang="EN-US">      <Geometry Type="XY"></span></p>
<p style="margin: 0cm 0cm 0.0001pt; text-align: justify; font-size: 10.5pt; font-family: DengXian;">
<span lang="EN-US">        <DataItem ItemType="Function" Function="JOIN($0 ; $1)"></span></p>
<p style="margin: 0cm 0cm 0.0001pt; text-align: justify; font-size: 10.5pt; font-family: DengXian;">
<span lang="EN-US">          <DataItem DataType="Float" Dimensions="2 2" Format="HDF" Precision="4">EvolvingSquare_01.h5:Coordinates</DataItem></span></p>
<p style="margin: 0cm 0cm 0.0001pt; text-align: justify; font-size: 10.5pt; font-family: DengXian;">
<span lang="EN-US">     <DataItem DataType="Float" Dimensions="2 2" Format="HDF" Precision="4">EvolvingSquare_02.h5:Coordinates</DataItem>    
</span></p>
<p style="margin: 0cm 0cm 0.0001pt; text-align: justify; font-size: 10.5pt; font-family: DengXian;">
<span lang="EN-US">        </DataItem></span></p>
<p style="margin: 0cm 0cm 0.0001pt; text-align: justify; font-size: 10.5pt; font-family: DengXian;">
<span lang="EN-US">      </Geometry></span></p>
<p style="margin: 0cm 0cm 0.0001pt; text-align: justify; font-size: 10.5pt; font-family: DengXian;">
<span lang="EN-US">      <Topology TopologyType="2DSMesh" NumberOfElements="4 2"/>
</span></p>
<p style="margin: 0cm 0cm 0.0001pt; text-align: justify; font-size: 10.5pt; font-family: DengXian;">
<span lang="EN-US">      <Attribute Center="Node" Name="Attributes" Type="None"></span></p>
<p style="margin: 0cm 0cm 0.0001pt; text-align: justify; font-size: 10.5pt; font-family: DengXian;">
<span lang="EN-US">        <DataItem ItemType="Function" Function="JOIN($0 ; $1)">  
</span></p>
<p style="margin: 0cm 0cm 0.0001pt; text-align: justify; font-size: 10.5pt; font-family: DengXian;">
<span lang="EN-US">          <DataItem DataType="Float" Dimensions="2" Format="HDF" Precision="8">EvolvingSquare_01.h5:Attributes</DataItem></span></p>
<p style="margin: 0cm 0cm 0.0001pt; text-align: justify; font-size: 10.5pt; font-family: DengXian;">
<span lang="EN-US">          <DataItem DataType="Float" Dimensions="2" Format="HDF" Precision="8">EvolvingSquare_02.h5:Attributes</DataItem></span></p>
<p style="margin: 0cm 0cm 0.0001pt; text-align: justify; font-size: 10.5pt; font-family: DengXian;">
<span lang="EN-US">        </DataItem></span></p>
<p style="margin: 0cm 0cm 0.0001pt; text-align: justify; font-size: 10.5pt; font-family: DengXian;">
<span lang="EN-US">      </Attribute></span></p>
<p style="margin: 0cm 0cm 0.0001pt; text-align: justify; font-size: 10.5pt; font-family: DengXian;">
<span lang="EN-US">    </Grid></span></p>
<p style="margin: 0cm 0cm 0.0001pt; text-align: justify; font-size: 10.5pt; font-family: DengXian;">
<span lang="EN-US">  </Domain></span></p>
<p style="margin: 0cm 0cm 0.0001pt; text-align: justify; font-size: 10.5pt; font-family: DengXian;">
<span lang="EN-US"></Xdmf></span></p>
<p style="margin: 0cm 0cm 0.0001pt; text-align: justify; font-size: 10.5pt; font-family: DengXian;">
<span lang="EN-US"> </span></p>
<p style="margin: 0cm 0cm 0.0001pt; text-align: justify; font-size: 10.5pt; font-family: DengXian;">
<span lang="EN-US">To avoid the problem of h5 file itself, I have also written two separate xdmf files for each h5 file and load each xdmf file separately into Paraview. I can successfully load these two h5 files separately into Paraview, so the problem might
 no be my h5 files. Can anyone help me with this problem? Are there any mistakes of my ways of using JOIN function in xdmf?
</span></p>
<p style="margin: 0cm 0cm 0.0001pt; text-align: justify; font-size: 10.5pt; font-family: DengXian;">
<span lang="EN-US">Thanks</span></p>
<p style="margin: 0cm 0cm 0.0001pt; text-align: justify; font-size: 10.5pt; font-family: DengXian;">
<span style="font-size:12.0pt; font-family:SimSun" lang="EN-US"> </span></p>
</div>
</div>
</div>
</div>
</body>
</html>