From c01759f1f78b42e217a058c1c2bc8b7a4209bfaf Mon Sep 17 00:00:00 2001 From: "David A. Ham" Date: Tue, 12 Sep 2023 10:59:09 +0100 Subject: [PATCH] Add trimmed serendipity to element list. (#195) * Add trimmed serendipity * Fix value shape for trimmed serendipity * ufl plumbing update for trimmed serendipity. * Plumbing for SminusDiv.py * Adding in element stuff for SminusCurl. * Fix typo * remove spurioius names --------- Co-authored-by: Rob Kirby Co-authored-by: Justincrum Co-authored-by: nbouziani Co-authored-by: ksagiyam Co-authored-by: ksagiyam <46749170+ksagiyam@users.noreply.github.com> Co-authored-by: Connor Ward --- ufl/finiteelement/elementlist.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ufl/finiteelement/elementlist.py b/ufl/finiteelement/elementlist.py index 6ea6a6fa2..73ca9fe90 100644 --- a/ufl/finiteelement/elementlist.py +++ b/ufl/finiteelement/elementlist.py @@ -193,6 +193,10 @@ def show_elements(): ("quadrilateral",)) register_element("BDMCF", None, 1, HDiv, "contravariant Piola", (1, None), ("quadrilateral",)) +register_element("SminusE", "SminusE", 1, HCurl, "covariant Piola", (1, None), cubes[1:3]) +register_element("SminusF", "SminusF", 1, HDiv, "contravariant Piola", (1, None), cubes[1:2]) +register_element("SminusDiv", "SminusDiv", 1, HDiv, "contravariant Piola", (1, None), cubes[1:3]) +register_element("SminusCurl", "SminusCurl", 1, HCurl, "covariant Piola", (1, None), cubes[1:3]) register_element("AAE", None, 1, HCurl, "covariant Piola", (1, None), ("hexahedron",)) register_element("AAF", None, 1, HDiv, "contravariant Piola", (1, None),