Skip to content

Commit

Permalink
This is a FunctionalFactory
Browse files Browse the repository at this point in the history
  • Loading branch information
pbrubeck committed Nov 1, 2024
1 parent 98b86b3 commit d8c61e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion FIAT/mardal_tai_winther.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ def DivergenceDubinerMoments(ref_el, start_deg, stop_deg, comp_deg):
dim1 = expansions.polynomial_dimension(ref_el, stop_deg)
indices = list(range(dim0, dim1))
phis = P.take(indices).tabulate(Q.get_points())[(0,)*sd]
return [IntegralMomentOfDivergence(ref_el, Q, phi) for phi in phis]
for phi in phis:
yield IntegralMomentOfDivergence(ref_el, Q, phi)


class MardalTaiWintherDual(dual_set.DualSet):
Expand Down

0 comments on commit d8c61e1

Please sign in to comment.