Skip to content

Commit 03a8b5c

Browse files
authored
Update demo_tnt-elements.py
1 parent a49af3f commit 03a8b5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/demo/demo_tnt-elements.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ def create_tnt_quad(degree):
225225
basix.CellType.quadrilateral, basix.PolynomialType.legendre, degree-2, 2, pts
226226
)
227227
# this assumes the conventional [0 to 1][0 to 1] domain of the reference element,
228-
# and takes the Laplacian of (1-u)*u*(1-v)*v*poly,
228+
# and takes the Laplacian of (1-u)*u*(1-v)*v*pol_set[0],
229229
# cf https://github.com/mscroggs/symfem/blob/main/symfem/elements/tnt.py
230230
poly = (pol_set[5]+pol_set[3])*(u-1)*u*(v-1)*v+ \
231231
2*(pol_set[2]*(u-1)*u*(2*v-1)+pol_set[1]*(v-1)*v*(2*u-1)+ \

0 commit comments

Comments
 (0)