예제 #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
파일: hermite.py 프로젝트: jmv2009/FInAT
 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
파일: morley.py 프로젝트: jmv2009/FInAT
 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
파일: bell.py 프로젝트: jmv2009/FInAT
 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))