Okay, I have toyed around and gotten the pvti/vti files almost working, but when I load the pvti file and add a filter (i.e., threshold), then set it to color based upon my "cell_scalars" data, only one of my four process's data is displayed. I have been guessing as to what the appropriate WholeExtent and Extent choices are for each of the four processes. For completeness, here is a sketch of the parallel file and the four serial files (one for each quadrant of the square slab). I would greatly appreciate any help.<div>
<br></div><div>slab.pvti:</div><div><?xml version="1.0"?></div><div><VTKFile type="PImageData" version="0.1" byte_order="LittleEndian"></div><div> <PImageData WholeExtent="0 640 0 640 0 1" Origin="0 0 0 " Spacing = "1 1 1" GhostLevel="0"></div>
<div> <PCellData Scalars="cell_scalars"></div><div> <PDataArray type="Float64" Name="cell_scalars"/></div><div> </PCellData></div><div> <Piece Extent="0 320 0 320 0 1" Source="slab_0.vti"/></div>
<div> <Piece Extent="0 320 320 640 0 1" Source="slab_1.vti"/></div><div> <Piece Extent="320 640 0 320 0 1" Source="slab_2.vti"/></div><div> <Piece Extent="320 640 320 640 0 1" Source="slab_3.vti"/></div>
<div> </PImagData></div><div></VTKFile></div><div><br></div><div>slab_0.vti:</div><div><?xml_version="1.0"?></div><div><VTKFile type="ImageData" version="0.1" byte_order="LittleEndian"></div>
<div> <ImageData WholeExtent="0 640 0 640 0 1" Origin="0 0 0" Spacing="1 1 1"></div><div> <Piece Extent="0 320 0 320 0 1"></div><div> <CellData Scalars="cell_scalars"></div>
<div> <DataArray type="Float64" Name="cell_scalars" format="ascii"></div><div>...data is here...</div><div> </DataArray></div><div> </CellData></div><div> </Piece></div>
<div> </ImageData></div><div></VTKFile></div><div><br></div><div><div>slab_1.vti:</div><div><?xml_version="1.0"?></div><div><VTKFile type="ImageData" version="0.1" byte_order="LittleEndian"></div>
<div> <ImageData WholeExtent="0 640 0 640 0 1" Origin="0 0 0" Spacing="1 1 1"></div><div> <Piece Extent="0 320 320 640 0 1"></div><div> <CellData Scalars="cell_scalars"></div>
<div> <DataArray type="Float64" Name="cell_scalars" format="ascii"></div><div>...data is here...</div><div> </DataArray></div><div> </CellData></div><div> </Piece></div>
<div> </ImageData></div><div></VTKFile></div></div><div><br></div><div><div>slab_2.vti:</div><div><?xml_version="1.0"?></div><div><VTKFile type="ImageData" version="0.1" byte_order="LittleEndian"></div>
<div> <ImageData WholeExtent="0 640 0 640 0 1" Origin="0 0 0" Spacing="1 1 1"></div><div> <Piece Extent="320 640 0 320 0 1"></div><div> <CellData Scalars="cell_scalars"></div>
<div> <DataArray type="Float64" Name="cell_scalars" format="ascii"></div><div>...data is here...</div><div> </DataArray></div><div> </CellData></div><div> </Piece></div>
<div> </ImageData></div><div></VTKFile></div></div><div><br></div><div><div>slab_3.vti:</div><div><?xml_version="1.0"?></div><div><VTKFile type="ImageData" version="0.1" byte_order="LittleEndian"></div>
<div> <ImageData WholeExtent="0 640 0 640 0 1" Origin="0 0 0" Spacing="1 1 1"></div><div> <Piece Extent="320 640 320 640 0 1"></div><div> <CellData Scalars="cell_scalars"></div>
<div> <DataArray type="Float64" Name="cell_scalars" format="ascii"></div><div>...data is here...</div><div> </DataArray></div><div> </CellData></div><div> </Piece></div>
<div> </ImageData></div><div></VTKFile></div></div><div><br></div><div>Thanks again,<br>Jack</div><div><br><div class="gmail_quote">On Fri, Feb 11, 2011 at 9:28 AM, Jack Poulson <span dir="ltr"><<a href="mailto:jack.poulson@gmail.com">jack.poulson@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I have been scouring the web and the VTK documentation for an example of an XML vtkImageData file (and preferably a .pvti/.vti pairing), but I cannot seem to find one.<div>
<br></div><div>I know that you guys heavily recommend using vtkXMLPImageDataWriter, but I have a parallel code that I would like to dump out .pvti and .vti files from without requiring the user to link to VTK. </div>
<div><br></div><div>Does anyone know where I can read a precise specification or find an example file? Even a trivial ascii/binary/appended data version would suffice. </div><div><br>Thank you in advance,</div><div>Jack</div>
</blockquote></div><br></div>