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