diff --git a/source/atl_harvesting/VTK-Lagrange.md b/source/atl_harvesting/VTK-Lagrange.md new file mode 100644 index 0000000..578e84c --- /dev/null +++ b/source/atl_harvesting/VTK-Lagrange.md @@ -0,0 +1,15 @@ +# Utilizing VTK's Lagrange Cells + + +This branch aims at the utilization of Lagrange Cells in +VTK as described on: +https://www.kitware.com//modeling-arbitrary-order-lagrange-finite-elements-in-the-visualization-toolkit/ + +This allows for polynomial representation of data up to a polynomial degree +of 10. + +The sorting of the nodes can be found in: + +https://gitlab.kitware.com/vtk/vtk/-/blob/master/Common/DataModel/vtkHigherOrderHexahedron.cxx#L601 + +The cell type for High-Order Hexahedra is 72. diff --git a/source/atl_harvesting/sample-Hexa-O2-E6.vtu b/source/atl_harvesting/sample-Hexa-O2-E6.vtu new file mode 100644 index 0000000..2eb9a38 --- /dev/null +++ b/source/atl_harvesting/sample-Hexa-O2-E6.vtu @@ -0,0 +1,160 @@ + + + + + + 1.8708287 1.2247449 1.2247449 1.8708287 1.5811388 0.70710677 + 0.70710677 1.5811388 1.8708287 1.2247449 1.2247449 1.8708287 + 1.8708287 1.2247449 1.2247449 1.8708287 1.5811388 0.70710677 + 0.70710677 1.5811388 1.8708287 1.2247449 1.2247449 1.8708287 + 1.5 1.6583124 1.2247449 0.8660254 1.118034 1.8027756 + 1.4142135 1.118034 1.5811388 1.118034 0.70710677 1.5 + 1 0.5 1.5 1.6583124 1.2247449 0.8660254 + 1.118034 1.118034 0.70710677 0.8660254 0.5 1 + 1.118034 0.5 0.70710677 0 0.5 1.118034 + 0.70710677 0.8660254 0.5 1.5 1.2247449 1.6583124 + 1.118034 1.4142135 1.8027756 1.118034 1.5811388 1 + 1.5 1.5 1.2247449 1.6583124 1.118034 1.6583124 + 1.2247449 0.8660254 1.5 1.5811388 1.118034 0.70710677 + 1.8027756 1.4142135 1.118034 1.6583124 1.2247449 0.8660254 + 1.5 0.70710677 0.8660254 1.118034 0.5 0.70710677 + 1 1.118034 0.70710677 0.8660254 1.118034 1.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 0.5 0.5 2 0.5 + 1 2 0.5 0 1.5 1 + 0.5 1.5 1 1 1.5 1 + 0.5 2 1 1.5 1.5 0 + 2 1.5 0 1.5 2 0 + 1.5 1.5 0.5 2 1.5 0.5 + 1.5 2 0.5 2 2 0.5 + 1.5 1.5 1 2 1.5 1 + 1.5 2 1 2.5 1.5 0 + 3 1.5 0 2.5 2 0 + 2.5 1.5 0.5 3 1.5 0.5 + 2.5 2 0.5 3 2 0.5 + 2.5 1.5 1 3 1.5 1 + 2.5 2 1 + + + 0 + + + 3.7416573868 + + + + + 0 + + + 3.7416573868 + + + + + + + 0 1 5 4 12 13 + 17 16 24 27 28 25 + 38 41 42 39 29 31 + 37 35 32 34 30 36 + 26 40 33 1 2 6 + 5 13 14 18 17 43 + 45 46 27 53 55 56 + 41 31 48 52 37 34 + 50 47 51 44 54 49 + 2 3 7 6 14 15 + 19 18 57 59 60 45 + 67 69 70 55 48 62 + 66 52 50 64 61 65 + 58 68 63 4 5 9 + 8 16 17 21 20 28 + 73 74 71 42 83 84 + 81 35 37 80 78 75 + 77 36 79 72 82 76 + 5 6 10 9 17 18 + 22 21 46 86 87 73 + 56 93 94 83 37 52 + 91 80 77 89 51 90 + 85 92 88 6 7 11 + 10 18 19 23 22 60 + 96 97 86 70 103 104 + 93 52 66 101 91 89 + 99 65 100 95 102 98 + + + 27 54 81 108 135 162 + + + 72 72 72 72 72 72 + + + + +