Пример #1
0
    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 = {}
Пример #2
0
Файл: aw.py Проект: FInAT/FInAT
 def __init__(self, cell, degree):
     if Citations is not None:
         Citations().register("Arnold2003")
     super(ArnoldWintherNC, self).__init__(FIAT.ArnoldWintherNC(cell, degree))
Пример #3
0
 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))
Пример #4
0
 def __init__(self, cell, degree):
     if Citations is not None:
         Citations().register("Mardal2002")
     super(MardalTaiWinther, self).__init__(FIAT.MardalTaiWinther(cell, degree))
Пример #5
0
 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))
Пример #6
0
 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))
Пример #7
0
 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))