<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="MSHTML 6.00.6000.16890" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">Yes, I want to break the mesh down.&nbsp; I want to partition the entire data set into 4 chunks.&nbsp; Does anyone have a link to sample&nbsp;code?&nbsp; I tried to use the distributed data filter, but was unsuccessful in its implementation.&nbsp; I assume the file format would still be a pvtu and 4 vtus.<BR><BR>&gt;&gt;&gt; "Berk Geveci" &lt;berk.geveci@kitware.com&gt; 12/28/2009 10:18 PM &gt;&gt;&gt;<BR>or the distributed data filter in VTK.<BR><BR>On Mon, Dec 28, 2009 at 5:57 PM, Dominik Szczerba &lt;dominik@itis.ethz.ch&gt; wrote:<BR>&gt; -----BEGIN PGP SIGNED MESSAGE-----<BR>&gt; Hash: SHA1<BR>&gt;<BR>&gt; I don't think this is intended to partition your mesh, or at least I<BR>&gt; would be highly (if positively) surprised.<BR>&gt;<BR>&gt; Do you not mean to partition a mesh for e.g. domain decomposition<BR>&gt; purposes or other parallel applications? Then metis or chaco is what you<BR>&gt; need here.<BR>&gt;<BR>&gt; Dominik<BR>&gt;<BR>&gt; Terry Jordan wrote:<BR>&gt;&gt;<BR>&gt;&gt; I am trying to partition a unstructured grid into 4 evenly sized<BR>&gt;&gt; pieces.&nbsp; Currently I am doing the following:<BR>&gt;&gt;<BR>&gt;&gt; vtkXMLPUnstructuredGridWriter *writer =<BR>&gt;&gt; vtkXMLPUnstructuredGridWriter::New();<BR>&gt;&gt; writer-&gt;SetInput( filteredGrid );<BR>&gt;&gt; writer-&gt;SetFileName(vtkFilename);<BR>&gt;&gt; writer-&gt;SetNumberOfPieces( 4 );<BR>&gt;&gt; writer-&gt;SetStartPiece(0);<BR>&gt;&gt; writer-&gt;SetEndPiece(3);<BR>&gt;&gt; writer-&gt;Write();<BR>&gt;&gt;<BR>&gt;&gt; filteredGrid is a vtkUnstructuredGrid<BR>&gt;&gt;<BR>&gt;&gt; The result of this code is 4 copies of the data (1 pvtu and 4 vtu).<BR>&gt;&gt; Each is identical to the original data.&nbsp; What am I missing?&nbsp; I am<BR>&gt;&gt; running this code on a single cpu without the use of MPI.&nbsp; Do I have to<BR>&gt;&gt; use MPI?<BR>&gt;&gt;<BR>&gt;&gt; Thanks in advance.<BR>&gt;&gt;<BR>&gt;&gt;<BR>&gt;&gt; ------------------------------------------------------------------------<BR>&gt;&gt;<BR>&gt;&gt; _______________________________________________<BR>&gt;&gt; Powered by www.kitware.com<BR>&gt;&gt;<BR>&gt;&gt; Visit other Kitware open-source projects at <A href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</A><BR>&gt;&gt;<BR>&gt;&gt; Please keep messages on-topic and check the VTK FAQ at: <A href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</A><BR>&gt;&gt;<BR>&gt;&gt; Follow this link to subscribe/unsubscribe:<BR>&gt;&gt; <A href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</A><BR>&gt;<BR>&gt; -----BEGIN PGP SIGNATURE-----<BR>&gt; Version: GnuPG v1.4.9 (GNU/Linux)<BR>&gt;<BR>&gt; iEYEARECAAYFAks5N84ACgkQ/EBMh9bUuzL60wCg45gdE2GhJbZT9zztDLMJMRiX<BR>&gt; RGoAoNjFFwEpY9IfusrMv2YWiOj/mrEg<BR>&gt; =Rjc+<BR>&gt; -----END PGP SIGNATURE-----<BR>&gt; _______________________________________________<BR>&gt; Powered by www.kitware.com<BR>&gt;<BR>&gt; Visit other Kitware open-source projects at <A href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</A><BR>&gt;<BR>&gt; Please keep messages on-topic and check the VTK FAQ at: <A href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</A><BR>&gt;<BR>&gt; Follow this link to subscribe/unsubscribe:<BR>&gt; <A href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</A><BR>&gt;<BR><BR></BODY></HTML>