Skip to content

Commit c80d338

Browse files
committed
Support IntegratedLegendre variants
1 parent cafbc15 commit c80d338

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tsfc/finatinterface.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,8 @@ def convert_finiteelement(element, **kwargs):
158158
lmbda = finat.FDMBrokenH1
159159
elif kind == 'fdm_hermite' and is_interval:
160160
lmbda = finat.FDMHermite
161+
elif kind in ['demkowicz', 'fdm']:
162+
lmbda = partial(finat.IntegratedLegendre, variant=kind)
161163
elif kind in ['mgd', 'feec', 'qb', 'mse']:
162164
degree = element.degree()
163165
shift_axes = kwargs["shift_axes"]

0 commit comments

Comments
 (0)