Skip to content

Commit

Permalink
order of DOFs in bubble element
Browse files Browse the repository at this point in the history
  • Loading branch information
mscroggs committed Sep 15, 2023
1 parent 124cebb commit cc8eb2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion symfem/elements/bubble.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def func(i): return sum(i)
def func(i): return max(i)
for i in product(range(1, order), repeat=reference.tdim):
if func(i) < order:
point = reference.get_point(tuple(sympy.Rational(j, order) for j in i))
point = reference.get_point(tuple(sympy.Rational(j, order) for j in i[::-1]))
dofs.append(PointEvaluation(reference, point, entity=(reference.tdim, 0)))

self.variant = variant
Expand Down

0 comments on commit cc8eb2c

Please sign in to comment.