@@ -296,23 +296,23 @@ def point_evaluation(fiat_element, order, refcoords, entity):
296296
297297
298298class Regge (FiatElement ): # symmetric matrix valued
299- def __init__ (self , cell , degree , variant = None ):
300- super ().__init__ (FIAT .Regge (cell , degree , variant = variant ))
299+ def __init__ (self , cell , degree , ** kwargs ):
300+ super ().__init__ (FIAT .Regge (cell , degree , ** kwargs ))
301301
302302
303303class HellanHerrmannJohnson (FiatElement ): # symmetric matrix valued
304- def __init__ (self , cell , degree , variant = None ):
305- super ().__init__ (FIAT .HellanHerrmannJohnson (cell , degree , variant = variant ))
304+ def __init__ (self , cell , degree , ** kwargs ):
305+ super ().__init__ (FIAT .HellanHerrmannJohnson (cell , degree , ** kwargs ))
306306
307307
308308class GopalakrishnanLedererSchoberlFirstKind (FiatElement ): # traceless matrix valued
309- def __init__ (self , cell , degree , variant = None ):
310- super ().__init__ (FIAT .GopalakrishnanLedererSchoberlFirstKind (cell , degree , variant = variant ))
309+ def __init__ (self , cell , degree , ** kwargs ):
310+ super ().__init__ (FIAT .GopalakrishnanLedererSchoberlFirstKind (cell , degree , ** kwargs ))
311311
312312
313313class GopalakrishnanLedererSchoberlSecondKind (FiatElement ): # traceless matrix valued
314- def __init__ (self , cell , degree , variant = None ):
315- super ().__init__ (FIAT .GopalakrishnanLedererSchoberlSecondKind (cell , degree , variant = variant ))
314+ def __init__ (self , cell , degree , ** kwargs ):
315+ super ().__init__ (FIAT .GopalakrishnanLedererSchoberlSecondKind (cell , degree , ** kwargs ))
316316
317317
318318class ScalarFiatElement (FiatElement ):
@@ -328,28 +328,28 @@ def __init__(self, cell, degree):
328328
329329
330330class Bubble (ScalarFiatElement ):
331- def __init__ (self , cell , degree , variant = None ):
332- super ().__init__ (FIAT .Bubble (cell , degree , variant = variant ))
331+ def __init__ (self , cell , degree , ** kwargs ):
332+ super ().__init__ (FIAT .Bubble (cell , degree , ** kwargs ))
333333
334334
335335class FacetBubble (ScalarFiatElement ):
336- def __init__ (self , cell , degree , variant = None ):
337- super ().__init__ (FIAT .FacetBubble (cell , degree , variant = variant ))
336+ def __init__ (self , cell , degree , ** kwargs ):
337+ super ().__init__ (FIAT .FacetBubble (cell , degree , ** kwargs ))
338338
339339
340340class CrouzeixRaviart (ScalarFiatElement ):
341- def __init__ (self , cell , degree , variant = None ):
342- super ().__init__ (FIAT .CrouzeixRaviart (cell , degree , variant = variant ))
341+ def __init__ (self , cell , degree , ** kwargs ):
342+ super ().__init__ (FIAT .CrouzeixRaviart (cell , degree , ** kwargs ))
343343
344344
345345class Lagrange (ScalarFiatElement ):
346- def __init__ (self , cell , degree , variant = None ):
347- super ().__init__ (FIAT .Lagrange (cell , degree , variant = variant ))
346+ def __init__ (self , cell , degree , ** kwargs ):
347+ super ().__init__ (FIAT .Lagrange (cell , degree , * kwargs ))
348348
349349
350350class DiscontinuousLagrange (ScalarFiatElement ):
351- def __init__ (self , cell , degree , variant = None ):
352- super ().__init__ (FIAT .DiscontinuousLagrange (cell , degree , variant = variant ))
351+ def __init__ (self , cell , degree , ** kwargs ):
352+ super ().__init__ (FIAT .DiscontinuousLagrange (cell , degree , ** kwargs ))
353353
354354
355355class Histopolation (ScalarFiatElement ):
@@ -377,8 +377,8 @@ def __init__(self, cell, degree):
377377
378378
379379class HDivTrace (ScalarFiatElement ):
380- def __init__ (self , cell , degree , variant = None ):
381- super ().__init__ (FIAT .HDivTrace (cell , degree , variant = variant ))
380+ def __init__ (self , cell , degree , ** kwargs ):
381+ super ().__init__ (FIAT .HDivTrace (cell , degree , ** kwargs ))
382382
383383
384384class VectorFiatElement (FiatElement ):
@@ -388,8 +388,8 @@ def value_shape(self):
388388
389389
390390class RaviartThomas (VectorFiatElement ):
391- def __init__ (self , cell , degree , variant = None ):
392- super ().__init__ (FIAT .RaviartThomas (cell , degree , variant = variant ))
391+ def __init__ (self , cell , degree , ** kwargs ):
392+ super ().__init__ (FIAT .RaviartThomas (cell , degree , ** kwargs ))
393393
394394
395395class TrimmedSerendipityFace (VectorFiatElement ):
@@ -429,8 +429,8 @@ def entity_permutations(self):
429429
430430
431431class BrezziDouglasMarini (VectorFiatElement ):
432- def __init__ (self , cell , degree , variant = None ):
433- super ().__init__ (FIAT .BrezziDouglasMarini (cell , degree , variant = variant ))
432+ def __init__ (self , cell , degree , ** kwargs ):
433+ super ().__init__ (FIAT .BrezziDouglasMarini (cell , degree , * kwargs ))
434434
435435
436436class BrezziDouglasMariniCubeEdge (VectorFiatElement ):
@@ -457,10 +457,10 @@ def __init__(self, cell, degree):
457457
458458
459459class Nedelec (VectorFiatElement ):
460- def __init__ (self , cell , degree , variant = None ):
461- super ().__init__ (FIAT .Nedelec (cell , degree , variant = variant ))
460+ def __init__ (self , cell , degree , ** kwargs ):
461+ super ().__init__ (FIAT .Nedelec (cell , degree , ** kwargs ))
462462
463463
464464class NedelecSecondKind (VectorFiatElement ):
465- def __init__ (self , cell , degree , variant = None ):
466- super ().__init__ (FIAT .NedelecSecondKind (cell , degree , variant = variant ))
465+ def __init__ (self , cell , degree , ** kwargs ):
466+ super ().__init__ (FIAT .NedelecSecondKind (cell , degree , ** kwargs ))
0 commit comments