def __init__(self, cell, degree): if Citations is not None: Citations().register("Arbogast2017") # These elements only known currently on quads assert isinstance(cell, UFCQuadrilateral) self._cell = cell self._degree = degree self._deriv_cache = {}
def __init__(self, cell, degree): if Citations is not None: Citations().register("Arnold2003") super(ArnoldWintherNC, self).__init__(FIAT.ArnoldWintherNC(cell, degree))
def __init__(self, cell, degree): if degree != 3: raise ValueError("Degree must be 3 for Hermite element") if Citations is not None: Citations().register("Ciarlet1972") super().__init__(FIAT.CubicHermite(cell))
def __init__(self, cell, degree): if Citations is not None: Citations().register("Mardal2002") super(MardalTaiWinther, self).__init__(FIAT.MardalTaiWinther(cell, degree))
def __init__(self, cell, degree): if degree != 2: raise ValueError("Degree must be 2 for Morley element") if Citations is not None: Citations().register("Morley1971") super().__init__(FIAT.Morley(cell))
def __init__(self, cell, degree): if degree != 5: raise ValueError("Degree must be 5 for Argyris element") if Citations is not None: Citations().register("Argyris1968") super().__init__(FIAT.QuinticArgyris(cell))
def __init__(self, cell, degree): if degree != 5: raise ValueError("Degree must be 3 for Bell element") if Citations is not None: Citations().register("Bell1969") super().__init__(FIAT.Bell(cell))