Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
pbrubeck committed May 15, 2022
1 parent ab21234 commit f896c02
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions FIAT/fdm_element.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ def __init__(self, ref_el, degree, bc_order=1, formdegree=0):
# Define the generalized eigenproblem on a GLL element
gll_degree = degree + formdegree
gll = GaussLobattoLegendre(ref_el, gll_degree)
xhat = numpy.array([list(x.get_point_dict().keys())[0][0] for x in gll.dual_basis()])
E = numpy.eye(gll.space_dimension())

bdof = []
Expand Down Expand Up @@ -83,7 +82,7 @@ def __init__(self, ref_el, degree, bc_order=1, formdegree=0):
if formdegree == 0:
basis = numpy.dot(S.T, E0)
# Eigenfunctions in the Lagrange basis
self._points = xhat
self._points = numpy.array([list(x.get_point_dict().keys())[0][0] for x in gll.dual_basis()])
self._tabulation = numpy.dot(S.T, E.T)
else:
# Take the derivative of the eigenbasis and normalize
Expand Down

0 comments on commit f896c02

Please sign in to comment.