From 2c82cbcc840e2b55e0dbb5d9675897d01857ee5d Mon Sep 17 00:00:00 2001 From: Matthew Scroggs Date: Sat, 7 Oct 2023 12:31:26 +0100 Subject: [PATCH] 1 not degree --- src/Poisson.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Poisson.py b/src/Poisson.py index 120a161..e1bc2d3 100644 --- a/src/Poisson.py +++ b/src/Poisson.py @@ -14,7 +14,7 @@ forms = [] for degree in range(1, 4): element = basix.ufl.element("Lagrange", "tetrahedron", degree) - domain = Mesh(basix.ufl.element("Lagrange", "tetrahedron", degree, shape=(3,))) + domain = Mesh(basix.ufl.element("Lagrange", "tetrahedron", 1, shape=(3,))) space = FunctionSpace(domain, element) u = TrialFunction(space)