[Paraview] VTK_BIQUADRATIC_PYRAMID?
Berk Geveci
berk.geveci at kitware.com
Sat Dec 7 21:07:59 EST 2013
Hi John,
There are no plans that I know of. I think that you can do this as long as
you are comfortable with the underlying math. All you have to do is to find
the quadratic pyramid class (VTK/Common/DataModel/vtkQuadraticPyramid.cxx
and .h), copy it into a new class and change functions that depend on the
basis functions. You also need to add the new classname to the
CMakeLists.txt file in that directory. Just grep for vtkQuadraticPyramid in
the whole repo and replicate it for the new class. Note that the amount of
code involved in implementing such a cell is non-trivial. However, the code
itself is not that complicated. We are here to help if you take on this
adventure :-)
Best,
-berk
On Thu, Dec 5, 2013 at 12:21 AM, John Peterson <jwpeterson at gmail.com> wrote:
> It appears that VTK has a 13-node pyramid element type
> (VTK_QUADRATIC_PYRAMID) but no analogous 14-node pyramid. The 14th
> node would be at the center of the square base, and would
> theoretically allow one to make a conforming transition from a
> VTK_TRIQUADRATIC_HEXAHEDRON to a VTK_QUADRATIC_TETRA element.
>
> Are there any plans to add such an element, and if not, is it a task
> that a complete VTK novice could even hope to undertake?
>
> Thanks,
> John
> _______________________________________________
> 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 ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20131207/23220fd4/attachment-0001.htm>
More information about the ParaView
mailing list