From bc62ec217ec139bedc7048876cfc3fd166ebc0e9 Mon Sep 17 00:00:00 2001 From: Matthew Scroggs Date: Fri, 4 Aug 2023 18:36:03 +0100 Subject: [PATCH] update _basixcpp.pyi --- python/basix/_basixcpp.pyi | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/python/basix/_basixcpp.pyi b/python/basix/_basixcpp.pyi index b19f08f95..715bf096b 100644 --- a/python/basix/_basixcpp.pyi +++ b/python/basix/_basixcpp.pyi @@ -84,6 +84,24 @@ class ElementFamily: @property def value(self) -> int: ... +class PolysetType: + __members__: ClassVar[dict] = ... # read-only + __entries: ClassVar[dict] = ... + default: ClassVar[PolysetType] = ... + macroedge: ClassVar[PolysetType] = ... + def __init__(self, value: int) -> None: ... + def __eq__(self, other: object) -> bool: ... + def __getstate__(self) -> int: ... + def __hash__(self) -> int: ... + def __index__(self) -> int: ... + def __int__(self) -> int: ... + def __ne__(self, other: object) -> bool: ... + def __setstate__(self, state: int) -> None: ... + @property + def name(self) -> str: ... + @property + def value(self) -> int: ... + class FiniteElement: def __hash__(self, object, int): ClassVar[None] = ... def __init__(self, *args, **kwargs) -> None: ... @@ -346,9 +364,9 @@ def index(arg0: int, arg1: int) -> int: ... @overload def index(arg0: int, arg1: int, arg2: int) -> int: ... @overload -def make_quadrature(arg0: QuadratureType, arg1: CellType, arg2: int) -> Tuple[npt.NDArray[numpy.float64],npt.NDArray[numpy.float64]]: ... +def make_quadrature(arg0: QuadratureType, arg1: CellType, arg2: PolysetType, arg3: int) -> Tuple[npt.NDArray[numpy.float64],npt.NDArray[numpy.float64]]: ... @overload -def make_quadrature(arg0: CellType, arg1: int) -> Tuple[npt.NDArray[numpy.float64],npt.NDArray[numpy.float64]]: ... +def make_quadrature(arg0: CellType, arg1: PolysetType, arg2: int) -> Tuple[npt.NDArray[numpy.float64],npt.NDArray[numpy.float64]]: ... def sub_entity_connectivity(arg0) -> List[List[List[List[int]]]]: ... def sub_entity_geometry(arg0, arg1: int, arg2: int) -> npt.NDArray[numpy.float64]: ... def tabulate_polynomial_set(arg0: CellType, arg1: int, arg2: int, arg3: npt.NDArray[numpy.float64]) -> npt.NDArray[numpy.float64]: ...