def __init__(self, cell, degree): super(GaussLegendre, self).__init__(FIAT.GaussLegendre(cell, degree))
def __init__(self, cell, degree): fiat_element = FIAT.GaussLegendre(cell, degree) super(GaussLegendre, self).__init__(fiat_element)
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)