Skip to content

Commit

Permalink
add xx,yy,zz ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
mscroggs committed Sep 15, 2023
1 parent fac4d3a commit b57efd0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions symfem/finite_element.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,11 @@ def tabulate_basis(
for row in tabbed:
output.append(tuple(j for i in zip(*row) for j in i))
return output
elif order == "xx,yy,zz":
output = []
for row in tabbed:
output.append(tuple(tuple(j for j in i) for i in zip(*row)))
return output
elif order == "xyzxyz":
output = []
for row in tabbed:
Expand Down

0 comments on commit b57efd0

Please sign in to comment.