I am trying to add a new type of cell to VTK to handle partially quadratic elements.
Using below image for reference:
One of the case :
I would like in addition to linear nodes of this element (which are from 0 to 7), additional only two nodes are present (let’s say 16 & 17). Thus only 10 nodes of the 20 nodes are present in the element. How would I implement the class?
I know I would have to derive the new class from vtkNonLinearCell and implement the required methods. But I wanted to know how would I divide the geometry to get fully linear sub components (is it through three wedges or some other way). I see that the Quadratic Hexahedron is also divided into Linear Hexs, is there a strategy behind it? Also are there any documentation for this implementation?