[vtkusers] vtkCellDerivatives for polytopal surface mesh

Jeff Lee jlee1549 at gmail.com
Tue May 9 09:34:35 EDT 2017


Hi,
A polyhedron could be treated as a closed polygonal surface (or conversely
a closed polygonal surface could be considered an arbitrary polyhedron).
If you look at vtkPolyhedron.cxx you can see how it is using
MeanValueCoordinates to interpolate the function values inside the cell,
and then compute the derivatives.  So if your mesh contains polyhedral
cells, vtkCellDerivatives should work.

On Mon, May 8, 2017 at 5:38 PM, Kurt Sansom <kayarre at gmail.com> wrote:

> I do not understand your answer.
>
> ~Kurt
>
> On Mon, May 8, 2017 at 10:26 AM, Jeff Lee <jlee1549 at gmail.com> wrote:
>
>> Vtkpolyhedron uses mean value coordinates.
>>
>> On May 8, 2017 1:13 PM, "Kurt Sansom" <kayarre at gmail.com> wrote:
>>
>>> Hi,
>>>   Does anyone have suggestions to take cell derivatives from a
>>>  polyhedral/polytopal surface mesh because the VTK documentation says that,
>>> "derivatives calculated for polygons with more than 4 vertices are
>>> inaccurate in most cases"
>>>
>>> from: http://www.vtk.org/doc/nightly/html/classvtkCellDerivatives.
>>> html#details
>>>
>>>
>>> Regards,
>>> ~Kurt
>>>
>>> --
>>> Kurt Sansom
>>>
>>> _______________________________________________
>>> 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
>>>
>>>
>
>
> --
> Kurt Sansom
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170509/cbebde45/attachment.html>


More information about the vtkusers mailing list