Hello,

I'm trying to use pvti format to save data.
I've create example with 8 cells, but I've got different view when open files 
*.vti and file pvti separately (image attached).
What could be the problem?


File x.pvti:
<?xml version="1.0"?>
<VTKFile type="PImageData" version="0.1">
  <PImageData WholeExtent="0 4 0 2 0 0" Origin="0.000000 1.000000 0.000000" 
Spacing="0.100000 0.100000 0.000000" GhostLevel="0">
    <Piece Extent="0 2 0 2 0 0" Source="./1.vti"/>
    <Piece Extent="2 4 0 2 0 0" Source="./2.vti"/>
      <PCellData Scalars = "vx" >
          <PDataArray type="Float32" Name="vx" />
      </PCellData>
  </PImageData>
</VTKFile>

File 1.vti:
<?xml version="1.0"?>
<VTKFile type="ImageData" version="0.1">
  <ImageData WholeExtent="0 2 0 2 0 0" Origin="0.000000 1.000000 0.000000" 
Spacing="0.100000 0.100000 0.000000">
    <Piece Extent="0 2 0 2 0 0">
      <CellData Scalars = "vx" >
        <DataArray type="Float32" Name="vx" format="ascii">
            1 2 3 4
        </DataArray>
      </CellData>
    </Piece>
  </ImageData>
</VTKFile>

File 2.vti:
<?xml version="1.0"?>
<VTKFile type="ImageData" version="0.1">
  <ImageData WholeExtent="0 2 0 2 0 0" Origin="0.200000 1.000000 0.000000" 
Spacing="0.100000 0.100000 0.000000">
    <Piece Extent="0 2 0 2 0 0">
      <CellData Scalars = "vx" >
        <DataArray type="Float32" Name="vx" format="ascii">
             5 6 7 8
        </DataArray>
      </CellData>
    </Piece>
  </ImageData>
</VTKFile>

Attachment: 1.vti
Description: Binary data

Attachment: 2.vti
Description: Binary data

Attachment: x.pvti
Description: Binary data

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview

Reply via email to