Skip to content

Commit

Permalink
poly_element: return _interp_nodes directly for MassMatrix groups
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfikl authored and inducer committed Jul 16, 2024
1 parent f63eccb commit 4383375
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions meshmode/discretization/poly_element.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,11 @@ def quadrature_rule(self):
np.ones(len(basis.functions)))
return mp.Quadrature(nodes, weights, exact_to=self.order)

@property
@memoize_method
def unit_nodes(self):
return self._interp_nodes

@property
@abstractmethod
def _interp_nodes(self):
Expand Down

0 comments on commit 4383375

Please sign in to comment.