[vtkusers] how to avoid overlapping (ghost) layer in *.pvti files
Andy Bauer
andy.bauer at kitware.com
Fri Nov 6 13:56:55 EST 2015
VTK doesn't do node partitoning since it won't know about the missing cells
in the gap. You can either extend the vtkXMLPImageDataReader to understand
about the gap cells or fix it in your writer.
On Fri, Nov 6, 2015 at 4:43 AM, Kaya Onur Dag <kaya.onur.dag at gmail.com>
wrote:
> I have my own cfd solver in which I was using *.vti for paraview input but
> decided to use parallel data write with *.pvti format and do node
> parallelisation.
>
> My *.pvti file is like :
>
> <?xml version="1.0"?>
> <VTKFile type="PImageData" version="1.0" byte_order="LittleEndian"
> header_type="UInt64">
> <PImageData WholeExtent=[/QUOTE][/QUOTE]" 0 31 0
> 31 0 31" Origin=" 0.000000000000E+00 0.000000000000E+00
> 0.000000000000E+00" Spacing=" 0.196349540849E+00 0.196349540849E+00
> 0.645161290323E-01" GhostLevel="0">
> <PPointData Scalars="u v w">
> <PDataArray type="Float64" Name="u" NumberOfComponents="1"
> format="appended"/>
> <PDataArray type="Float64" Name="v" NumberOfComponents="1"
> format="appended"/>
> <PDataArray type="Float64" Name="w" NumberOfComponents="1"
> format="appended"/>
> </PPointData>
> <Piece Extent="0 31 0 31 0 15" Source="data0_0.vti"/>
> <Piece Extent="0 31 0 31 16 31" Source="data0_1.vti"/>
> </PImageData></VTKFile>
>
>
> The problem I am facing is I am having a gap in between z-axis 15-16 -
> which paraview complains.
>
> I know that the solution is to have a ghost (overlapping) layer (can't
> understand why since I am using point data?), and the issue is that my code
> is not capable of generating overlapping nodes, unless I code it up and
> manually transfer ghost layers at each data output stage for the sake of
> being able to write data in parallel but it feels like an overkill...
>
> Any suggestions?
>
> Thanks in advance.
> Kaya
>
> _______________________________________________
> 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 VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20151106/5abf9c5d/attachment.html>
More information about the vtkusers
mailing list