:py:mod:`symfem.elements.guzman_neilan` ======================================= .. py:module:: symfem.elements.guzman_neilan .. autoapi-nested-parse:: Guzman-Neilan elements on simplices. This element's definition appears in https://doi.org/10.1137/17M1153467 (Guzman and Neilan, 2018) Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: symfem.elements.guzman_neilan.GuzmanNeilan Functions ~~~~~~~~~ .. autoapisummary:: symfem.elements.guzman_neilan.make_piecewise_lagrange .. py:class:: GuzmanNeilan(reference: symfem.references.Reference, order: int) Bases: :py:obj:`symfem.finite_element.CiarletElement` Guzman-Neilan Hdiv finite element. .. py:attribute:: names :value: ['Guzman-Neilan'] .. py:attribute:: references :value: ['triangle', 'tetrahedron'] .. py:attribute:: min_order :value: 1 .. py:attribute:: max_order .. py:attribute:: continuity :value: 'H(div)' .. py:attribute:: last_updated :value: '2023.06' .. py:method:: _make_polyset_triangle(reference: symfem.references.Reference, order: int) -> List[symfem.functions.FunctionInput] Make the polyset for a triangle. :param reference: The reference cell :param order: The polynomial order :returns: The polynomial set .. py:method:: _make_polyset_tetrahedron(reference: symfem.references.Reference, order: int) -> List[symfem.functions.FunctionInput] Make the polyset for a tetrahedron. :param reference: The reference cell :param order: The polynomial order :returns: The polynomial set .. py:function:: make_piecewise_lagrange(sub_cells: List[symfem.geometry.SetOfPoints], cell_name, order: int, zero_on_boundary: bool = False, zero_at_centre: bool = False) -> List[symfem.piecewise_functions.PiecewiseFunction] Make the basis functions of a piecewise Lagrange space. :param sub_cells: A list of vertices of sub cells :param cell_name: The cell type of the sub cells :param order: The polynomial order :param zero_in_boundary: Should the functions be zero on the boundary? :param zero_at_centre: Should the functions be zero at the centre? :returns: The basis functions