SCOREC / core

parallel finite element unstructured meshes
Other
179 stars 63 forks source link

minimal quadratic quadratic prism shape #362

Open mortezah opened 2 years ago

mortezah commented 2 years ago

Minimal Quadratic Prism Shapes

This PR is in regards to issue #361. It implements a minimal quadratic shape to ensure writing to vtk works properly.

mortezah commented 2 years ago

For future reference, the links below show how VTK quadratic entities are defined. The one we are interested in is a triangular prism with 18 nodes (6 vertex nodes, 9 mid-edge nodes, and 3 face nodes on quad faces). In VTK notation, it is called VTK_BIQUADRATIC_QUADRATIC_WEDGE with a type enum of 32.

https://raw.githubusercontent.com/Kitware/vtk-examples/gh-pages/src/Testing/Baseline/Cxx/GeometricObjects/TestIsoparametricCellsDemo.png

https://vtk.org/doc/nightly/html/vtkCellType_8h_source.html