Esempio n. 1
0
 def __init__(self, cell, degree):
     super(GaussLegendre, self).__init__(FIAT.GaussLegendre(cell, degree))
Esempio n. 2
0
 def __init__(self, cell, degree):
     fiat_element = FIAT.GaussLegendre(cell, degree)
     super(GaussLegendre, self).__init__(fiat_element)
Esempio n. 3
0
 def __init__(self, num_stages):
     assert num_stages > 0
     U = FIAT.ufc_simplex(1)
     L = FIAT.GaussLegendre(U, num_stages - 1)
     super(GaussLegendre, self).__init__(L, 2 * num_stages)