<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi Guys:<div><br></div><div>I am trying to use VTK pvti format to write distributed data and then visualize it in paraview.</div><div>Chunks of data are distributed among processes and there is no ghost element shared (as my algorithm does not need it). </div><div>Now the problem is that the point data format in VTK seems to need overlapping data (?).</div><div>This is problematic since the processes do not share any data.</div><div>I tried with cell data type and that one worked without the need for this sharing.</div><div>Am I missing sth with the point data or is it supposed to be like this?</div><div><br></div><div>So for example assume I have 2 processes each having two 5x5 slabs (4 slabs in total).</div><div>The obvious way that I supposed would work is as follows:</div><div><br></div><div>test.pvti:</div><div>{</div><div><div><?xml version="1.0"?></div><div><VTKFile type="PImageData" version="0.1" byte_order="LittleEndian"></div><div> <PImageData WholeExtent="0 4 0 4 0 3" GhostLevel="0" Origin="0 0 0" Spacing="1 1 1"></div><div> <PPointData></div><div> <PDataArray Name="value" type="Float64" format="ascii"></div><div> </PDataArray></div><div> </PPointData></div><div><br></div><div> <Piece Extent="0 4 0 4 0 1" Source="test_0.vti"/></div><div> <Piece Extent="0 4 0 4 2 3" Source="test_1.vti"/></div><div></PImageData></div><div></VTKFile></div></div><div><br></div><div><br></div><div>}</div><div><br></div><div>test_0.vti:</div><div>{</div><div><div><?xml version="1.0"?></div><div><VTKFile type="ImageData" version="0.1" byte_order="LittleEndian"></div><div> <ImageData WholeExtent="0 4 0 4 0 1" Origin="0 0 0" Spacing="1 1 1"></div><div> <Piece Extent="0 4 0 4 0 1"></div><div> <PointData Scalars="value"></div><div> <DataArray Name="value" type="Float64" format="ascii"></div><div> 0 0 0 0 0</div><div> 0 0 0 0 0</div><div> 0 0 0 0 0</div><div> 0 0 0 0 0</div><div> 0 0 0 0 0</div><div> 1 1 1 1 1</div><div> 1 1 1 1 1</div><div> 1 1 1 1 1</div><div> 1 1 1 1 1</div><div> 1 1 1 1 1</div><div> </DataArray></div><div> </PointData></div><div> </Piece></div><div> </ImageData></div><div></VTKFile></div></div><div><br></div><div>}</div><div><br></div><div>test_1.vti:</div><div>{</div><div><div><?xml version="1.0"?></div><div><VTKFile type="ImageData" version="0.1" byte_order="LittleEndian"></div><div> <ImageData WholeExtent="0 4 0 4 2 3" Origin="0 0 0" Spacing="1 1 1"></div><div> <Piece Extent="0 4 0 4 2 3"></div><div> <PointData Scalars="value"></div><div> <DataArray Name="value" type="Float64" format="ascii"></div><div> 2 2 2 2 2</div><div> 2 2 2 2 2</div><div> 2 2 2 2 2</div><div> 2 2 2 2 2</div><div> 2 2 2 2 2</div><div> 3 3 3 3 3</div><div> 3 3 3 3 3</div><div> 3 3 3 3 3</div><div> 3 3 3 3 3</div><div> 3 3 3 3 3</div><div> </DataArray></div><div> </PointData></div><div> </Piece></div><div> </ImageData></div><div></VTKFile></div></div><div>}</div><div><br></div><div><br></div><div>But this does not work. Paraview loads it but then does not show anything.</div><div>It would only work if I share one of the slabs.</div><div><br></div><div>Any help is appreciated.</div><div><br></div><div>Regards,</div><div>-Amir</div> </div></body>
</html>