示例#1
0
 def __init__(self, cell, degree):
     super(GaussLegendre, self).__init__(FIAT.GaussLegendre(cell, degree))
示例#2
0
文件: spectral.py 项目: miklos1/FInAT
 def __init__(self, cell, degree):
     fiat_element = FIAT.GaussLegendre(cell, degree)
     super(GaussLegendre, self).__init__(fiat_element)
示例#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)