<HTML>
<HEAD>
<TITLE>Re: [Paraview] vtkCompositeDataSet - memory ?</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>You can share the points by simply creating one vtkPoints object and then passing those points to all the unstructured grids in your data object. &nbsp;Then all the blocks will be sharing that data.<BR>
<BR>
Note, however, that ParaView will not actually check that. &nbsp;Thus it will probably incorrectly count the number of points and the amount of memory the points take up multiple times, one for each block. &nbsp;Also, if you pass the data through a filter that changes the points, those downstream filters will replicate their point data.<BR>
<BR>
-Ken<BR>
<BR>
<BR>
On 2/20/09 12:23 PM, &quot;Jacques Papper&quot; &lt;<a href="jpapper@ara.co.uk">jpapper@ara.co.uk</a>&gt; wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Hi all,<BR>
<BR>
I'm writing a reader for a dataset which has boundary faces (tri and quads)<BR>
as well as volume cells (tets etc..).<BR>
In would like to use a CompositeDataSet as a container, so that I can easily<BR>
extract boundary faces which are groupesd in named zones (for ex: upper_surf<BR>
lower_surf etc...).<BR>
<BR>
The problem I encounter is that if I us a vtkMultiblockDataSet composed of<BR>
vtkUnstructuredGrid there is no relationship between the separate blocks.<BR>
This means that I need to duplicate points which are shared between the<BR>
different blocks, duplicate the data associated to thes points etc ...<BR>
<BR>
Is there a vtkCompositeDataSet where all the points and data are shared<BR>
between the branches and the only difference is the cells ?<BR>
<BR>
Thank you for your guidance.<BR>
<BR>
Jacques PAPPER<BR>
Applied CFD Team Leader<BR>
Tel: +44 (0) 1234 324677<BR>
<BR>
<BR>
---------------------------<BR>
This email contains information that is private and confidential and is intended only for the addressee. &nbsp;If you are not the intended recipient please delete it and notify us immediately by e-mailing the sender.<BR>
Note: All email sent to or from this address may be accessed by someone other than the recipient, for system management and security reasons.<BR>
Aircraft Research Association Ltd. &nbsp;Registered in England, Registration No 503668 Registered Office: Manton Lane, Bedford MK41 7PF England VAT No GB 196351245<BR>
<BR>
<BR>
_______________________________________________<BR>
Powered by www.kitware.com<BR>
<BR>
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>
<BR>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a><BR>
<BR>
Follow this link to subscribe/unsubscribe:<BR>
<a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><BR>
<BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'><BR>
&nbsp;&nbsp;&nbsp;**** &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Kenneth Moreland<BR>
&nbsp;&nbsp;&nbsp;&nbsp;*** &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sandia National Laboratories<BR>
*********** &nbsp;<BR>
*** *** *** &nbsp;email: <a href="kmorel@sandia.gov">kmorel@sandia.gov</a><BR>
** &nbsp;*** &nbsp;** &nbsp;phone: (505) 844-8919<BR>
&nbsp;&nbsp;&nbsp;&nbsp;*** &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;web: &nbsp;&nbsp;<a href="http://www.cs.unm.edu/~kmorel">http://www.cs.unm.edu/~kmorel</a><BR>
</SPAN></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT>
</BODY>
</HTML>