Hua and I have made progress on adding a vtkPolyhedron cell to VTK. We have a wiki page describing the tasks (which will take some time to implement depending on our funding and schedule <a href="http://www.vtk.org/Wiki/VTK/Polyhedron_Support">http://www.vtk.org/Wiki/VTK/Polyhedron_Support</a>). We are using the interpolation method of mean value coordinates which Hua has already implemented, thus far it is a super algorithm. Comments are welcome.<div>

<br></div><div>We are now starting the integration into vtkUnstructuredGrid. If you are interested let me know and at the appropriate point we can make our git repository available.</div><div><br></div><div><br><br><div class="gmail_quote">

On Thu, Jan 21, 2010 at 6:53 AM, Will Schroeder <span dir="ltr"><<a href="mailto:will.schroeder@kitware.com">will.schroeder@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div><div></div><div class="h5">FYI-<br><br>Hua Yang and I are adding a new cell type to VTK: the polyhedral cell. This is mainly to support our CFD friends who like to compute flow solutions using flux approaches (balance mass and energy in and out of a region).<br>


<br>One of the key questions is how to interpolate across the interior of such a cell. In the past I have seen two typical approaches 1) tessellate the polyhedron into tetrahedra, and then use the tetrahedra to interpolate; and 2) use a 1/r**2 (or similar weighting function) to interpolate from the cell nodes to an interior point in the polyhedron. Both approaches have problems with continuity, etc.<br>


<br>We are also researching other approaches. However in the interest of completeness, if anybody has suggestions for alternatives we'd love to hear about them.<br><br>Will<br>
<input type="hidden"><input type="hidden"><div></div>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>William J. Schroeder, PhD<br>Kitware, Inc.<br>28 Corporate Drive<br>Clifton Park, NY 12065<br><a href="mailto:will.schroeder@kitware.com">will.schroeder@kitware.com</a><br>

<a href="http://www.kitware.com">http://www.kitware.com</a><br>(518) 881-4902<br>
</div>