Skip to content

Commit

Permalink
Merge pull request #8 from JonasBreuling/master
Browse files Browse the repository at this point in the history
Add support for rational Bézier cells.
  • Loading branch information
prs513rosewood authored Feb 23, 2024
2 parents 94bb25a + dcf050c commit 342084d
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions uvw/unstructured.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,20 @@ class CellType(Enum):
BIQUADRATIC_TRIANGLE = 34
CUBIC_LINE = 35
QUADRATIC_POLYGON = 36
LAGRANGE_CURVE = 68
LAGRANGE_TRIANGLE = 69
LAGRANGE_QUADRILATERAL = 70
LAGRANGE_TETRAHEDRON = 71
LAGRANGE_HEXAHEDRON = 72
LAGRANGE_WEDGE = 73
LAGRANGE_PYRAMID = 74
BEZIER_CURVE = 75
BEZIER_TRIANGLE = 76
BEZIER_QUADRILATERAL = 77
BEZIER_TETRAHEDRON = 78
BEZIER_HEXAHEDRON = 79
BEZIER_WEDGE = 80
BEZIER_PYRAMID = 81


NODES_PER_CELL = {
Expand Down Expand Up @@ -85,6 +99,20 @@ class CellType(Enum):
CellType.BIQUADRATIC_TRIANGLE: 7,
CellType.CUBIC_LINE: 4,
CellType.QUADRATIC_POLYGON: -1,
CellType.LAGRANGE_CURVE: -1,
CellType.LAGRANGE_TRIANGLE: -1,
CellType.LAGRANGE_QUADRILATERAL: -1,
CellType.LAGRANGE_TETRAHEDRON: -1,
CellType.LAGRANGE_HEXAHEDRON: -1,
CellType.LAGRANGE_WEDGE: -1,
CellType.LAGRANGE_PYRAMID: -1,
CellType.BEZIER_CURVE: -1,
CellType.BEZIER_TRIANGLE: -1,
CellType.BEZIER_QUADRILATERAL: -1,
CellType.BEZIER_TETRAHEDRON: -1,
CellType.BEZIER_HEXAHEDRON: -1,
CellType.BEZIER_WEDGE: -1,
CellType.BEZIER_PYRAMID: -1,
}


Expand Down

0 comments on commit 342084d

Please sign in to comment.