ngsolve 6.2.2506.post73.dev0__cp312-cp312-macosx_10_15_universal2.whl → 6.2.2506.post85.dev0__cp312-cp312-macosx_10_15_universal2.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of ngsolve might be problematic. Click here for more details.

Files changed (69) hide show
  1. netgen/include/sparsefactorization_interface.hpp +153 -0
  2. netgen/include/statushandler.hpp +8 -8
  3. netgen/libngbla.dylib +0 -0
  4. netgen/libngcomp.dylib +0 -0
  5. netgen/libngfem.dylib +0 -0
  6. netgen/libngla.dylib +0 -0
  7. netgen/libngsbem.dylib +0 -0
  8. netgen/libngsolve.dylib +0 -0
  9. netgen/libngstd.dylib +0 -0
  10. ngsolve/__init__.pyi +59 -59
  11. ngsolve/bla.pyi +150 -94
  12. ngsolve/cmake/NGSolveConfig.cmake +5 -5
  13. ngsolve/cmake/ngsolve-targets.cmake +15 -8
  14. ngsolve/comp/__init__.pyi +386 -102
  15. ngsolve/comp/pml.pyi +4 -1
  16. ngsolve/config/__init__.pyi +6 -6
  17. ngsolve/config/config.py +5 -5
  18. ngsolve/config/config.pyi +6 -6
  19. ngsolve/directsolvers.py +9 -21
  20. ngsolve/directsolvers.pyi +5 -8
  21. ngsolve/eigenvalues.pyi +4 -4
  22. ngsolve/fem.pyi +194 -110
  23. ngsolve/krylovspace.pyi +9 -9
  24. ngsolve/la.pyi +268 -89
  25. ngsolve/ngslib.so +0 -0
  26. ngsolve/ngstd.pyi +23 -4
  27. ngsolve/nonlinearsolvers.pyi +2 -2
  28. ngsolve/solve.pyi +7 -6
  29. ngsolve/solvers/cudss.py +74 -0
  30. ngsolve/utils.pyi +70 -70
  31. {ngsolve-6.2.2506.post73.dev0.dist-info → ngsolve-6.2.2506.post85.dev0.dist-info}/METADATA +2 -2
  32. {ngsolve-6.2.2506.post73.dev0.dist-info → ngsolve-6.2.2506.post85.dev0.dist-info}/RECORD +69 -67
  33. /ngsolve/{solvers.py → solvers/__init__.py} +0 -0
  34. {ngsolve-6.2.2506.post73.dev0.data → ngsolve-6.2.2506.post85.dev0.data}/data/Netgen.icns +0 -0
  35. {ngsolve-6.2.2506.post73.dev0.data → ngsolve-6.2.2506.post85.dev0.data}/data/bin/ngscxx +0 -0
  36. {ngsolve-6.2.2506.post73.dev0.data → ngsolve-6.2.2506.post85.dev0.data}/data/bin/ngsld +0 -0
  37. {ngsolve-6.2.2506.post73.dev0.data → ngsolve-6.2.2506.post85.dev0.data}/data/bin/ngsolve.tcl +0 -0
  38. {ngsolve-6.2.2506.post73.dev0.data → ngsolve-6.2.2506.post85.dev0.data}/data/bin/ngspy +0 -0
  39. {ngsolve-6.2.2506.post73.dev0.data → ngsolve-6.2.2506.post85.dev0.data}/data/share/ngsolve/beam.geo +0 -0
  40. {ngsolve-6.2.2506.post73.dev0.data → ngsolve-6.2.2506.post85.dev0.data}/data/share/ngsolve/beam.vol +0 -0
  41. {ngsolve-6.2.2506.post73.dev0.data → ngsolve-6.2.2506.post85.dev0.data}/data/share/ngsolve/chip.in2d +0 -0
  42. {ngsolve-6.2.2506.post73.dev0.data → ngsolve-6.2.2506.post85.dev0.data}/data/share/ngsolve/chip.vol +0 -0
  43. {ngsolve-6.2.2506.post73.dev0.data → ngsolve-6.2.2506.post85.dev0.data}/data/share/ngsolve/coil.geo +0 -0
  44. {ngsolve-6.2.2506.post73.dev0.data → ngsolve-6.2.2506.post85.dev0.data}/data/share/ngsolve/coil.vol +0 -0
  45. {ngsolve-6.2.2506.post73.dev0.data → ngsolve-6.2.2506.post85.dev0.data}/data/share/ngsolve/coilshield.geo +0 -0
  46. {ngsolve-6.2.2506.post73.dev0.data → ngsolve-6.2.2506.post85.dev0.data}/data/share/ngsolve/coilshield.vol +0 -0
  47. {ngsolve-6.2.2506.post73.dev0.data → ngsolve-6.2.2506.post85.dev0.data}/data/share/ngsolve/cube.geo +0 -0
  48. {ngsolve-6.2.2506.post73.dev0.data → ngsolve-6.2.2506.post85.dev0.data}/data/share/ngsolve/cube.vol +0 -0
  49. {ngsolve-6.2.2506.post73.dev0.data → ngsolve-6.2.2506.post85.dev0.data}/data/share/ngsolve/d10_DGdoubleglazing.pde +0 -0
  50. {ngsolve-6.2.2506.post73.dev0.data → ngsolve-6.2.2506.post85.dev0.data}/data/share/ngsolve/d11_chip_nitsche.pde +0 -0
  51. {ngsolve-6.2.2506.post73.dev0.data → ngsolve-6.2.2506.post85.dev0.data}/data/share/ngsolve/d1_square.pde +0 -0
  52. {ngsolve-6.2.2506.post73.dev0.data → ngsolve-6.2.2506.post85.dev0.data}/data/share/ngsolve/d2_chip.pde +0 -0
  53. {ngsolve-6.2.2506.post73.dev0.data → ngsolve-6.2.2506.post85.dev0.data}/data/share/ngsolve/d3_helmholtz.pde +0 -0
  54. {ngsolve-6.2.2506.post73.dev0.data → ngsolve-6.2.2506.post85.dev0.data}/data/share/ngsolve/d4_cube.pde +0 -0
  55. {ngsolve-6.2.2506.post73.dev0.data → ngsolve-6.2.2506.post85.dev0.data}/data/share/ngsolve/d5_beam.pde +0 -0
  56. {ngsolve-6.2.2506.post73.dev0.data → ngsolve-6.2.2506.post85.dev0.data}/data/share/ngsolve/d6_shaft.pde +0 -0
  57. {ngsolve-6.2.2506.post73.dev0.data → ngsolve-6.2.2506.post85.dev0.data}/data/share/ngsolve/d7_coil.pde +0 -0
  58. {ngsolve-6.2.2506.post73.dev0.data → ngsolve-6.2.2506.post85.dev0.data}/data/share/ngsolve/d8_coilshield.pde +0 -0
  59. {ngsolve-6.2.2506.post73.dev0.data → ngsolve-6.2.2506.post85.dev0.data}/data/share/ngsolve/d9_hybridDG.pde +0 -0
  60. {ngsolve-6.2.2506.post73.dev0.data → ngsolve-6.2.2506.post85.dev0.data}/data/share/ngsolve/doubleglazing.in2d +0 -0
  61. {ngsolve-6.2.2506.post73.dev0.data → ngsolve-6.2.2506.post85.dev0.data}/data/share/ngsolve/doubleglazing.vol +0 -0
  62. {ngsolve-6.2.2506.post73.dev0.data → ngsolve-6.2.2506.post85.dev0.data}/data/share/ngsolve/piezo2d40round4.vol.gz +0 -0
  63. {ngsolve-6.2.2506.post73.dev0.data → ngsolve-6.2.2506.post85.dev0.data}/data/share/ngsolve/shaft.geo +0 -0
  64. {ngsolve-6.2.2506.post73.dev0.data → ngsolve-6.2.2506.post85.dev0.data}/data/share/ngsolve/shaft.vol +0 -0
  65. {ngsolve-6.2.2506.post73.dev0.data → ngsolve-6.2.2506.post85.dev0.data}/data/share/ngsolve/square.in2d +0 -0
  66. {ngsolve-6.2.2506.post73.dev0.data → ngsolve-6.2.2506.post85.dev0.data}/data/share/ngsolve/square.vol +0 -0
  67. {ngsolve-6.2.2506.post73.dev0.dist-info → ngsolve-6.2.2506.post85.dev0.dist-info}/LICENSE +0 -0
  68. {ngsolve-6.2.2506.post73.dev0.dist-info → ngsolve-6.2.2506.post85.dev0.dist-info}/WHEEL +0 -0
  69. {ngsolve-6.2.2506.post73.dev0.dist-info → ngsolve-6.2.2506.post85.dev0.dist-info}/top_level.txt +0 -0
ngsolve/comp/__init__.pyi CHANGED
@@ -2,13 +2,14 @@
2
2
  pybind comp
3
3
  """
4
4
  from __future__ import annotations
5
+ import collections.abc
5
6
  import netgen.libngpy._meshing
6
- import ngsolve.bla
7
7
  import ngsolve.fem
8
8
  import ngsolve.la
9
9
  import ngsolve.ngstd
10
10
  import ngsolve.solve_implementation
11
11
  import numpy
12
+ import numpy.typing
12
13
  import pyngcore.pyngcore
13
14
  import typing
14
15
  from . import pml
@@ -33,18 +34,24 @@ class APhiHCurlAMG(HCurlAMG):
33
34
  suported are 'direct', 'amg', 'local'
34
35
 
35
36
  """
37
+ @staticmethod
38
+ def _pybind11_conduit_v1_(*args, **kwargs):
39
+ ...
36
40
  def __init__(self, bf: BilinearForm, **kwargs) -> None:
37
41
  ...
38
42
  class Array_N6ngcomp13COUPLING_TYPEE_S(FlatArray_N6ngcomp13COUPLING_TYPEE_S):
43
+ @staticmethod
44
+ def _pybind11_conduit_v1_(*args, **kwargs):
45
+ ...
39
46
  def __getstate__(self) -> tuple:
40
47
  ...
41
48
  @typing.overload
42
- def __init__(self, n: int) -> None:
49
+ def __init__(self, n: typing.SupportsInt) -> None:
43
50
  """
44
51
  Makes array of given length
45
52
  """
46
53
  @typing.overload
47
- def __init__(self, vec: list[COUPLING_TYPE]) -> None:
54
+ def __init__(self, vec: collections.abc.Sequence[COUPLING_TYPE]) -> None:
48
55
  """
49
56
  Makes array with given list of elements
50
57
  """
@@ -66,6 +73,9 @@ class BDDCPreconditioner(Preconditioner):
66
73
  @staticmethod
67
74
  def __flags_doc__() -> dict:
68
75
  ...
76
+ @staticmethod
77
+ def _pybind11_conduit_v1_(*args, **kwargs):
78
+ ...
69
79
  def __init__(self, bf: BilinearForm, **kwargs) -> None:
70
80
  ...
71
81
  class BDDCPreconditioner_complex(BDDCPreconditioner):
@@ -77,6 +87,9 @@ class BDDCPreconditioner_complex(BDDCPreconditioner):
77
87
  coarseflags: {}
78
88
  flags for coarse preconditioner
79
89
  """
90
+ @staticmethod
91
+ def _pybind11_conduit_v1_(*args, **kwargs):
92
+ ...
80
93
  class BDDCPreconditioner_double(BDDCPreconditioner):
81
94
  """
82
95
 
@@ -86,6 +99,9 @@ class BDDCPreconditioner_double(BDDCPreconditioner):
86
99
  coarseflags: {}
87
100
  flags for coarse preconditioner
88
101
  """
102
+ @staticmethod
103
+ def _pybind11_conduit_v1_(*args, **kwargs):
104
+ ...
89
105
  class BilinearForm(NGS_Object):
90
106
  """
91
107
 
@@ -165,6 +181,9 @@ class BilinearForm(NGS_Object):
165
181
  @staticmethod
166
182
  def __flags_doc__() -> dict:
167
183
  ...
184
+ @staticmethod
185
+ def _pybind11_conduit_v1_(*args, **kwargs):
186
+ ...
168
187
  @typing.overload
169
188
  def Add(self, integrator: ngsolve.fem.BFI) -> BilinearForm:
170
189
  """
@@ -242,7 +261,7 @@ class BilinearForm(NGS_Object):
242
261
  gf : ngsolve.comp.GridFunction
243
262
  input GridFunction
244
263
  """
245
- def GetMatrixLevel(self, level: int | None = None) -> BaseMatrix:
264
+ def GetMatrixLevel(self, level: typing.SupportsInt | None = None) -> BaseMatrix:
246
265
  """
247
266
  returns matrix from multigrid level, default is finest level
248
267
  """
@@ -404,6 +423,9 @@ class COUPLING_TYPE:
404
423
  VISIBLE_DOF: typing.ClassVar[COUPLING_TYPE] # value = <COUPLING_TYPE.VISIBLE_DOF: 14>
405
424
  WIREBASKET_DOF: typing.ClassVar[COUPLING_TYPE] # value = <COUPLING_TYPE.WIREBASKET_DOF: 8>
406
425
  __members__: typing.ClassVar[dict[str, COUPLING_TYPE]] # value = {'UNUSED_DOF': <COUPLING_TYPE.UNUSED_DOF: 0>, 'HIDDEN_DOF': <COUPLING_TYPE.HIDDEN_DOF: 1>, 'LOCAL_DOF': <COUPLING_TYPE.LOCAL_DOF: 2>, 'CONDENSABLE_DOF': <COUPLING_TYPE.CONDENSABLE_DOF: 3>, 'INTERFACE_DOF': <COUPLING_TYPE.INTERFACE_DOF: 4>, 'NONWIREBASKET_DOF': <COUPLING_TYPE.NONWIREBASKET_DOF: 6>, 'WIREBASKET_DOF': <COUPLING_TYPE.WIREBASKET_DOF: 8>, 'EXTERNAL_DOF': <COUPLING_TYPE.EXTERNAL_DOF: 12>, 'VISIBLE_DOF': <COUPLING_TYPE.VISIBLE_DOF: 14>, 'ANY_DOF': <COUPLING_TYPE.ANY_DOF: 15>}
426
+ @staticmethod
427
+ def _pybind11_conduit_v1_(*args, **kwargs):
428
+ ...
407
429
  def __eq__(self, other: typing.Any) -> bool:
408
430
  ...
409
431
  def __getstate__(self) -> int:
@@ -412,7 +434,7 @@ class COUPLING_TYPE:
412
434
  ...
413
435
  def __index__(self) -> int:
414
436
  ...
415
- def __init__(self, value: int) -> None:
437
+ def __init__(self, value: typing.SupportsInt) -> None:
416
438
  ...
417
439
  def __int__(self) -> int:
418
440
  ...
@@ -420,7 +442,7 @@ class COUPLING_TYPE:
420
442
  ...
421
443
  def __repr__(self) -> str:
422
444
  ...
423
- def __setstate__(self, state: int) -> None:
445
+ def __setstate__(self, state: typing.SupportsInt) -> None:
424
446
  ...
425
447
  def __str__(self) -> str:
426
448
  ...
@@ -442,6 +464,9 @@ class ComponentGridFunction(GridFunction):
442
464
  autoupdate:
443
465
  Automatically update on FE space update
444
466
  """
467
+ @staticmethod
468
+ def _pybind11_conduit_v1_(*args, **kwargs):
469
+ ...
445
470
  def __getstate__(self) -> tuple:
446
471
  ...
447
472
  def __setstate__(self, arg0: tuple) -> None:
@@ -513,6 +538,9 @@ class Compress(FESpace):
513
538
  prismorder: none
514
539
  pyramidorder: none
515
540
  """
541
+ @staticmethod
542
+ def _pybind11_conduit_v1_(*args, **kwargs):
543
+ ...
516
544
  def GetActiveDofs(self) -> pyngcore.pyngcore.BitArray:
517
545
  ...
518
546
  def GetBaseSpace(self) -> FESpace:
@@ -526,11 +554,14 @@ class Compress(FESpace):
526
554
  def __setstate__(self, arg0: tuple) -> None:
527
555
  ...
528
556
  class ContactBoundary:
557
+ @staticmethod
558
+ def _pybind11_conduit_v1_(*args, **kwargs):
559
+ ...
529
560
  def AddEnergy(self, form: ngsolve.fem.CoefficientFunction, deformed: bool = False) -> None:
530
561
  ...
531
562
  def AddIntegrator(self, form: ngsolve.fem.CoefficientFunction, deformed: bool = False) -> None:
532
563
  ...
533
- def Update(self, gf: GridFunction = None, bf: BilinearForm = None, intorder: int = 4, maxdist: float = 0.0, both_sides: bool = False) -> None:
564
+ def Update(self, gf: GridFunction = None, bf: BilinearForm = None, intorder: typing.SupportsInt = 4, maxdist: typing.SupportsFloat = 0.0, both_sides: bool = False) -> None:
534
565
  """
535
566
  Update searchtree for gap function.
536
567
  If bf is given add specialelements corresponding to
@@ -558,7 +589,10 @@ class ContactBoundary:
558
589
  def normal(self) -> ngsolve.fem.CoefficientFunction:
559
590
  ...
560
591
  class DifferentialSymbol:
561
- def __call__(self, definedon: Region | str | None = None, element_boundary: bool = False, element_vb: VorB = ..., skeleton: bool = False, bonus_intorder: int = 0, intrules: dict[ngsolve.fem.ET, ngsolve.fem.IntegrationRule] = {}, deformation: GridFunction = None, definedonelements: pyngcore.pyngcore.BitArray = None) -> DifferentialSymbol:
592
+ @staticmethod
593
+ def _pybind11_conduit_v1_(*args, **kwargs):
594
+ ...
595
+ def __call__(self, definedon: ngsolve.comp.Region | str | None = None, element_boundary: bool = False, element_vb: VorB = ..., skeleton: bool = False, bonus_intorder: typing.SupportsInt = 0, intrules: collections.abc.Mapping[ngsolve.fem.ET, ngsolve.fem.IntegrationRule] = {}, deformation: GridFunction = None, definedonelements: pyngcore.pyngcore.BitArray = None) -> DifferentialSymbol:
562
596
  ...
563
597
  def __init__(self, arg0: VorB) -> None:
564
598
  ...
@@ -627,6 +661,9 @@ class Discontinuous(FESpace, NGS_Object):
627
661
  prismorder: none
628
662
  pyramidorder: none
629
663
  """
664
+ @staticmethod
665
+ def _pybind11_conduit_v1_(*args, **kwargs):
666
+ ...
630
667
  def __getstate__(self) -> tuple:
631
668
  ...
632
669
  def __init__(self, fespace: FESpace, **kwargs) -> None:
@@ -634,6 +671,9 @@ class Discontinuous(FESpace, NGS_Object):
634
671
  def __setstate__(self, arg0: tuple) -> None:
635
672
  ...
636
673
  class DualProxyFunction(ProxyFunction):
674
+ @staticmethod
675
+ def _pybind11_conduit_v1_(*args, **kwargs):
676
+ ...
637
677
  def __call__(self, arg0: ngsolve.fem.CoefficientFunction) -> ...:
638
678
  ...
639
679
  class ElementId:
@@ -670,6 +710,9 @@ class ElementId:
670
710
  input Ngs element
671
711
 
672
712
  """
713
+ @staticmethod
714
+ def _pybind11_conduit_v1_(*args, **kwargs):
715
+ ...
673
716
  def VB(self) -> VorB:
674
717
  """
675
718
  VorB of element
@@ -679,10 +722,10 @@ class ElementId:
679
722
  def __hash__(self) -> int:
680
723
  ...
681
724
  @typing.overload
682
- def __init__(self, vb: VorB, nr: int) -> None:
725
+ def __init__(self, vb: VorB, nr: typing.SupportsInt) -> None:
683
726
  ...
684
727
  @typing.overload
685
- def __init__(self, nr: int) -> None:
728
+ def __init__(self, nr: typing.SupportsInt) -> None:
686
729
  ...
687
730
  @typing.overload
688
731
  def __init__(self, el: ...) -> None:
@@ -702,9 +745,12 @@ class ElementId:
702
745
  is element valid
703
746
  """
704
747
  class ElementRange(ngsolve.ngstd.IntRange):
748
+ @staticmethod
749
+ def _pybind11_conduit_v1_(*args, **kwargs):
750
+ ...
705
751
  def __init__(self, mesh: Mesh, vb: VorB, range: ngsolve.ngstd.IntRange) -> None:
706
752
  ...
707
- def __iter__(self) -> typing.Iterator[Ngs_Element]:
753
+ def __iter__(self) -> collections.abc.Iterator[Ngs_Element]:
708
754
  ...
709
755
  class FESpace(NGS_Object):
710
756
  """
@@ -804,13 +850,16 @@ class FESpace(NGS_Object):
804
850
  @staticmethod
805
851
  def __special_treated_flags__() -> dict:
806
852
  ...
853
+ @staticmethod
854
+ def _pybind11_conduit_v1_(*args, **kwargs):
855
+ ...
807
856
  def ApplyM(self, vec: ngsolve.la.BaseVector, rho: ngsolve.fem.CoefficientFunction = None, definedon: Region = None) -> None:
808
857
  """
809
858
  Apply mass-matrix. Available only for L2-like spaces
810
859
  """
811
860
  def ConvertL2Operator(self, l2space: FESpace) -> BaseMatrix:
812
861
  ...
813
- def CouplingType(self, dofnr: int) -> COUPLING_TYPE:
862
+ def CouplingType(self, dofnr: typing.SupportsInt) -> COUPLING_TYPE:
814
863
  """
815
864
  Get coupling type of a degree of freedom.
816
865
 
@@ -849,7 +898,7 @@ class FESpace(NGS_Object):
849
898
  input VOL, BND, BBND,...
850
899
  """
851
900
  @typing.overload
852
- def Elements(self, arg0: Region) -> typing.Iterator[FESpaceElement]:
901
+ def Elements(self, arg0: Region) -> collections.abc.Iterator[FESpaceElement]:
853
902
  ...
854
903
  def FinalizeUpdate(self) -> None:
855
904
  """
@@ -915,7 +964,7 @@ class FESpace(NGS_Object):
915
964
  """
916
965
  def InvM(self, rho: ngsolve.fem.CoefficientFunction = None) -> BaseMatrix:
917
966
  ...
918
- def Mass(self, rho: ngsolve.fem.CoefficientFunction = None, definedon: Region | None = None) -> BaseMatrix:
967
+ def Mass(self, rho: ngsolve.fem.CoefficientFunction = None, definedon: ngsolve.comp.Region | None = None) -> BaseMatrix:
919
968
  ...
920
969
  def ParallelDofs(self) -> ngsolve.la.ParallelDofs:
921
970
  """
@@ -925,12 +974,12 @@ class FESpace(NGS_Object):
925
974
  """
926
975
  Return prolongation operator for use in multi-grid
927
976
  """
928
- def Range(self, arg0: int) -> ngsolve.la.DofRange:
977
+ def Range(self, arg0: typing.SupportsInt) -> ngsolve.la.DofRange:
929
978
  """
930
979
  deprecated, will be only available for ProductSpace
931
980
  """
932
981
  @typing.overload
933
- def SetCouplingType(self, dofnr: int, coupling_type: COUPLING_TYPE) -> None:
982
+ def SetCouplingType(self, dofnr: typing.SupportsInt, coupling_type: COUPLING_TYPE) -> None:
934
983
  """
935
984
  Set coupling type of a degree of freedom.
936
985
 
@@ -969,7 +1018,7 @@ class FESpace(NGS_Object):
969
1018
  use harmonic prolongation w.r.t. bilinear-form
970
1019
  """
971
1020
  @typing.overload
972
- def SetOrder(self, element_type: ngsolve.fem.ET, order: int) -> None:
1021
+ def SetOrder(self, element_type: ngsolve.fem.ET, order: typing.SupportsInt) -> None:
973
1022
  """
974
1023
  Parameters:
975
1024
 
@@ -980,7 +1029,7 @@ class FESpace(NGS_Object):
980
1029
  input polynomial order
981
1030
  """
982
1031
  @typing.overload
983
- def SetOrder(self, nodeid: NodeId, order: int) -> None:
1032
+ def SetOrder(self, nodeid: NodeId, order: typing.SupportsInt) -> None:
984
1033
  """
985
1034
  Parameters:
986
1035
 
@@ -1040,7 +1089,7 @@ class FESpace(NGS_Object):
1040
1089
  """
1041
1090
  def __mul__(self, arg0: FESpace) -> ...:
1042
1091
  ...
1043
- def __pow__(self, arg0: int) -> ...:
1092
+ def __pow__(self, arg0: typing.SupportsInt) -> ...:
1044
1093
  ...
1045
1094
  def __setstate__(self, arg0: tuple) -> None:
1046
1095
  ...
@@ -1099,6 +1148,9 @@ class FESpace(NGS_Object):
1099
1148
  type of finite element space
1100
1149
  """
1101
1150
  class FESpaceElement(Ngs_Element):
1151
+ @staticmethod
1152
+ def _pybind11_conduit_v1_(*args, **kwargs):
1153
+ ...
1102
1154
  def GetFE(self) -> ngsolve.fem.FiniteElement:
1103
1155
  """
1104
1156
  the finite element containing shape functions
@@ -1113,7 +1165,10 @@ class FESpaceElement(Ngs_Element):
1113
1165
  degrees of freedom of element
1114
1166
  """
1115
1167
  class FESpaceElementRange(ngsolve.ngstd.IntRange):
1116
- def __iter__(self) -> typing.Iterator[...]:
1168
+ @staticmethod
1169
+ def _pybind11_conduit_v1_(*args, **kwargs):
1170
+ ...
1171
+ def __iter__(self) -> collections.abc.Iterator[...]:
1117
1172
  ...
1118
1173
  class FacetFESpace(FESpace):
1119
1174
  """
@@ -1195,6 +1250,9 @@ class FacetFESpace(FESpace):
1195
1250
  @staticmethod
1196
1251
  def __flags_doc__() -> dict:
1197
1252
  ...
1253
+ @staticmethod
1254
+ def _pybind11_conduit_v1_(*args, **kwargs):
1255
+ ...
1198
1256
  def __getstate__(self) -> tuple:
1199
1257
  ...
1200
1258
  def __init__(self, mesh: Mesh, **kwargs) -> None:
@@ -1255,6 +1313,9 @@ class FacetSurface(FESpace):
1255
1313
  @staticmethod
1256
1314
  def __flags_doc__() -> dict:
1257
1315
  ...
1316
+ @staticmethod
1317
+ def _pybind11_conduit_v1_(*args, **kwargs):
1318
+ ...
1258
1319
  def __getstate__(self) -> tuple:
1259
1320
  ...
1260
1321
  def __init__(self, mesh: Mesh, **kwargs) -> None:
@@ -1262,15 +1323,18 @@ class FacetSurface(FESpace):
1262
1323
  def __setstate__(self, arg0: tuple) -> None:
1263
1324
  ...
1264
1325
  class FlatArray_N6ngcomp13COUPLING_TYPEE_S:
1326
+ @staticmethod
1327
+ def _pybind11_conduit_v1_(*args, **kwargs):
1328
+ ...
1265
1329
  def NumPy(self) -> typing.Any:
1266
1330
  ...
1267
1331
  def __buffer__(self, flags):
1268
1332
  """
1269
1333
  Return a buffer object that exposes the underlying memory of the object.
1270
1334
  """
1271
- def __getitem__(self, arg0: int) -> COUPLING_TYPE:
1335
+ def __getitem__(self, arg0: typing.SupportsInt) -> COUPLING_TYPE:
1272
1336
  ...
1273
- def __iter__(self) -> typing.Iterator[COUPLING_TYPE]:
1337
+ def __iter__(self) -> collections.abc.Iterator[COUPLING_TYPE]:
1274
1338
  ...
1275
1339
  def __len__(self) -> int:
1276
1340
  ...
@@ -1279,7 +1343,7 @@ class FlatArray_N6ngcomp13COUPLING_TYPEE_S:
1279
1343
  Release the buffer object that exposes the underlying memory of the object.
1280
1344
  """
1281
1345
  @typing.overload
1282
- def __setitem__(self, arg0: int, arg1: COUPLING_TYPE) -> COUPLING_TYPE:
1346
+ def __setitem__(self, arg0: typing.SupportsInt, arg1: COUPLING_TYPE) -> COUPLING_TYPE:
1283
1347
  ...
1284
1348
  @typing.overload
1285
1349
  def __setitem__(self, arg0: slice, arg1: COUPLING_TYPE) -> None:
@@ -1341,7 +1405,10 @@ class GlobalInterfaceSpace(FESpace):
1341
1405
  prismorder: none
1342
1406
  pyramidorder: none
1343
1407
  """
1344
- def __init__(self, mesh: Mesh, mapping: ngsolve.fem.CoefficientFunction, definedon: Region | None = None, periodic: bool = False, periodicu: bool = False, periodicv: bool = False, order: int = 3, complex: bool = False, polar: bool = False, autoupdate: bool = False) -> None:
1408
+ @staticmethod
1409
+ def _pybind11_conduit_v1_(*args, **kwargs):
1410
+ ...
1411
+ def __init__(self, mesh: Mesh, mapping: ngsolve.fem.CoefficientFunction, definedon: ngsolve.comp.Region | None = None, periodic: bool = False, periodicu: bool = False, periodicv: bool = False, order: typing.SupportsInt = 3, complex: bool = False, polar: bool = False, autoupdate: bool = False) -> None:
1345
1412
  ...
1346
1413
  class GlobalSpace(FESpace):
1347
1414
  """
@@ -1401,6 +1468,9 @@ class GlobalSpace(FESpace):
1401
1468
  @staticmethod
1402
1469
  def __special_treated_flags__() -> dict:
1403
1470
  ...
1471
+ @staticmethod
1472
+ def _pybind11_conduit_v1_(*args, **kwargs):
1473
+ ...
1404
1474
  def AddOperator(self, arg0: str, arg1: VorB, arg2: ngsolve.fem.CoefficientFunction) -> None:
1405
1475
  ...
1406
1476
  def __getstate__(self) -> tuple:
@@ -1410,7 +1480,9 @@ class GlobalSpace(FESpace):
1410
1480
  def __setstate__(self, arg0: tuple) -> None:
1411
1481
  ...
1412
1482
  class GlobalVariables:
1413
- numthreads: int
1483
+ @staticmethod
1484
+ def _pybind11_conduit_v1_(*args, **kwargs):
1485
+ ...
1414
1486
  @property
1415
1487
  def code_uses_tensors(self) -> bool:
1416
1488
  """
@@ -1425,13 +1497,19 @@ class GlobalVariables:
1425
1497
  message level
1426
1498
  """
1427
1499
  @msg_level.setter
1428
- def msg_level(self, arg1: int) -> None:
1500
+ def msg_level(self, arg1: typing.SupportsInt) -> None:
1501
+ ...
1502
+ @property
1503
+ def numthreads(self) -> int:
1504
+ ...
1505
+ @numthreads.setter
1506
+ def numthreads(self, arg1: typing.SupportsInt) -> None:
1429
1507
  ...
1430
1508
  @property
1431
1509
  def pajetrace(self) -> str:
1432
1510
  ...
1433
1511
  @pajetrace.setter
1434
- def pajetrace(self, arg1: int) -> None:
1512
+ def pajetrace(self, arg1: typing.SupportsInt) -> None:
1435
1513
  ...
1436
1514
  @property
1437
1515
  def symbolic_integrator_uses_diff(self) -> bool:
@@ -1464,6 +1542,9 @@ class GridFunction(ngsolve.fem.CoefficientFunction):
1464
1542
  @staticmethod
1465
1543
  def __flags_doc__() -> dict:
1466
1544
  ...
1545
+ @staticmethod
1546
+ def _pybind11_conduit_v1_(*args, **kwargs):
1547
+ ...
1467
1548
  def AddMultiDimComponent(self, arg0: ngsolve.la.BaseVector) -> None:
1468
1549
  ...
1469
1550
  def CF(self, diffop: ngsolve.fem.DifferentialOperator) -> ngsolve.fem.CoefficientFunction:
@@ -1477,7 +1558,7 @@ class GridFunction(ngsolve.fem.CoefficientFunction):
1477
1558
  """
1478
1559
  Returns the canonical derivative of the space behind the GridFunction if possible.
1479
1560
  """
1480
- def Interpolate(self, coefficient: ngsolve.fem.CoefficientFunction, definedon: typing.Any = ..., mdcomp: int = 0) -> None:
1561
+ def Interpolate(self, coefficient: ngsolve.fem.CoefficientFunction, definedon: typing.Any = ..., mdcomp: typing.SupportsInt = 0) -> None:
1481
1562
  ...
1482
1563
  def Load(self, filename: str, parallel: bool = False) -> None:
1483
1564
  """
@@ -1491,11 +1572,11 @@ class GridFunction(ngsolve.fem.CoefficientFunction):
1491
1572
  parallel : bool
1492
1573
  input parallel
1493
1574
  """
1494
- def MDComponent(self, mdcomp: int) -> GridFunctionCoefficientFunction:
1575
+ def MDComponent(self, mdcomp: typing.SupportsInt) -> GridFunctionCoefficientFunction:
1495
1576
  """
1496
1577
  select component of multidim GridFunction
1497
1578
  """
1498
- def Operator(self, name: str, VOL_or_BND: VorB | None = None) -> GridFunctionCoefficientFunction:
1579
+ def Operator(self, name: str, VOL_or_BND: ngsolve.comp.VorB | None = None) -> GridFunctionCoefficientFunction:
1499
1580
  """
1500
1581
  Get access to an operator depending on the FESpace.
1501
1582
 
@@ -1523,7 +1604,7 @@ class GridFunction(ngsolve.fem.CoefficientFunction):
1523
1604
  parallel : bool
1524
1605
  input parallel
1525
1606
  """
1526
- def Set(self, coefficient: ngsolve.fem.CoefficientFunction, VOL_or_BND: VorB = ..., definedon: typing.Any = ..., dual: bool = False, use_simd: bool = True, mdcomp: int = 0, definedonelements: pyngcore.pyngcore.BitArray | None = None, bonus_intorder: int = 0) -> None:
1607
+ def Set(self, coefficient: ngsolve.fem.CoefficientFunction, VOL_or_BND: VorB = ..., definedon: typing.Any = ..., dual: bool = False, use_simd: bool = True, mdcomp: typing.SupportsInt = 0, definedonelements: pyngcore.pyngcore.BitArray | None = None, bonus_intorder: typing.SupportsInt = 0) -> None:
1527
1608
  """
1528
1609
  Set values
1529
1610
 
@@ -1563,7 +1644,7 @@ class GridFunction(ngsolve.fem.CoefficientFunction):
1563
1644
  update vector size to finite element space dimension after mesh refinement
1564
1645
  """
1565
1646
  @typing.overload
1566
- def __call__(self, x: float = 0.0, y: float = 0.0, z: float = 0.0, VOL_or_BND: VorB = ...) -> typing.Any:
1647
+ def __call__(self, x: typing.SupportsFloat = 0.0, y: typing.SupportsFloat = 0.0, z: typing.SupportsFloat = 0.0, VOL_or_BND: VorB = ...) -> typing.Any:
1567
1648
  ...
1568
1649
  @typing.overload
1569
1650
  def __call__(self, *args, **kwargs) -> typing.Any:
@@ -1623,11 +1704,17 @@ class GridFunctionC(GridFunction):
1623
1704
  autoupdate:
1624
1705
  Automatically update on FE space update
1625
1706
  """
1707
+ @staticmethod
1708
+ def _pybind11_conduit_v1_(*args, **kwargs):
1709
+ ...
1626
1710
  def __getstate__(self) -> tuple:
1627
1711
  ...
1628
1712
  def __setstate__(self, arg0: tuple) -> None:
1629
1713
  ...
1630
1714
  class GridFunctionCoefficientFunction(ngsolve.fem.CoefficientFunction):
1715
+ @staticmethod
1716
+ def _pybind11_conduit_v1_(*args, **kwargs):
1717
+ ...
1631
1718
  def Trace(self) -> GridFunctionCoefficientFunction:
1632
1719
  """
1633
1720
  take canonical boundary trace.
@@ -1648,6 +1735,9 @@ class GridFunctionD(GridFunction):
1648
1735
  autoupdate:
1649
1736
  Automatically update on FE space update
1650
1737
  """
1738
+ @staticmethod
1739
+ def _pybind11_conduit_v1_(*args, **kwargs):
1740
+ ...
1651
1741
  def __getstate__(self) -> tuple:
1652
1742
  ...
1653
1743
  def __setstate__(self, arg0: tuple) -> None:
@@ -1730,6 +1820,9 @@ class H1(FESpace):
1730
1820
  @staticmethod
1731
1821
  def __flags_doc__() -> dict:
1732
1822
  ...
1823
+ @staticmethod
1824
+ def _pybind11_conduit_v1_(*args, **kwargs):
1825
+ ...
1733
1826
  def __getstate__(self) -> tuple:
1734
1827
  ...
1735
1828
  def __init__(self, mesh: Mesh, **kwargs) -> None:
@@ -1746,6 +1839,9 @@ class H1AMG(Preconditioner):
1746
1839
  @staticmethod
1747
1840
  def __flags_doc__() -> dict:
1748
1841
  ...
1842
+ @staticmethod
1843
+ def _pybind11_conduit_v1_(*args, **kwargs):
1844
+ ...
1749
1845
  def __init__(self, bf: BilinearForm, **kwargs) -> None:
1750
1846
  ...
1751
1847
  class H1LumpingFESpace(FESpace):
@@ -1803,6 +1899,9 @@ class H1LumpingFESpace(FESpace):
1803
1899
  @staticmethod
1804
1900
  def __flags_doc__() -> dict:
1805
1901
  ...
1902
+ @staticmethod
1903
+ def _pybind11_conduit_v1_(*args, **kwargs):
1904
+ ...
1806
1905
  def GetIntegrationRules(self) -> dict[ngsolve.fem.ET, ngsolve.fem.IntegrationRule]:
1807
1906
  ...
1808
1907
  def __getstate__(self) -> tuple:
@@ -1881,6 +1980,9 @@ class HCurl(FESpace):
1881
1980
  @staticmethod
1882
1981
  def __flags_doc__() -> dict:
1883
1982
  ...
1983
+ @staticmethod
1984
+ def _pybind11_conduit_v1_(*args, **kwargs):
1985
+ ...
1884
1986
  def CreateGradient(self) -> tuple:
1885
1987
  ...
1886
1988
  def __getstate__(self) -> tuple:
@@ -1912,6 +2014,9 @@ class HCurlAMG(Preconditioner):
1912
2014
  @staticmethod
1913
2015
  def __flags_doc__() -> dict:
1914
2016
  ...
2017
+ @staticmethod
2018
+ def _pybind11_conduit_v1_(*args, **kwargs):
2019
+ ...
1915
2020
  def __init__(self, bf: BilinearForm, **kwargs) -> None:
1916
2021
  ...
1917
2022
  class HCurlCurl(FESpace):
@@ -1991,6 +2096,9 @@ class HCurlCurl(FESpace):
1991
2096
  @staticmethod
1992
2097
  def __flags_doc__() -> dict:
1993
2098
  ...
2099
+ @staticmethod
2100
+ def _pybind11_conduit_v1_(*args, **kwargs):
2101
+ ...
1994
2102
  def __getstate__(self) -> tuple:
1995
2103
  ...
1996
2104
  def __init__(self, mesh: Mesh, **kwargs) -> None:
@@ -2059,6 +2167,9 @@ class HCurlDiv(FESpace):
2059
2167
  @staticmethod
2060
2168
  def __flags_doc__() -> dict:
2061
2169
  ...
2170
+ @staticmethod
2171
+ def _pybind11_conduit_v1_(*args, **kwargs):
2172
+ ...
2062
2173
  def __getstate__(self) -> tuple:
2063
2174
  ...
2064
2175
  def __init__(self, mesh: Mesh, **kwargs) -> None:
@@ -2132,6 +2243,9 @@ class HDiv(FESpace):
2132
2243
  @staticmethod
2133
2244
  def __flags_doc__() -> dict:
2134
2245
  ...
2246
+ @staticmethod
2247
+ def _pybind11_conduit_v1_(*args, **kwargs):
2248
+ ...
2135
2249
  def Average(self, vector: ngsolve.la.BaseVector) -> None:
2136
2250
  ...
2137
2251
  def __getstate__(self) -> tuple:
@@ -2198,6 +2312,9 @@ class HDivDiv(FESpace):
2198
2312
  @staticmethod
2199
2313
  def __flags_doc__() -> dict:
2200
2314
  ...
2315
+ @staticmethod
2316
+ def _pybind11_conduit_v1_(*args, **kwargs):
2317
+ ...
2201
2318
  def __getstate__(self) -> tuple:
2202
2319
  ...
2203
2320
  def __init__(self, mesh: Mesh, **kwargs) -> None:
@@ -2260,6 +2377,9 @@ class HDivDivSurface(FESpace):
2260
2377
  @staticmethod
2261
2378
  def __flags_doc__() -> dict:
2262
2379
  ...
2380
+ @staticmethod
2381
+ def _pybind11_conduit_v1_(*args, **kwargs):
2382
+ ...
2263
2383
  def __getstate__(self) -> tuple:
2264
2384
  ...
2265
2385
  def __init__(self, mesh: Mesh, **kwargs) -> None:
@@ -2328,6 +2448,9 @@ class HDivSurface(FESpace):
2328
2448
  @staticmethod
2329
2449
  def __flags_doc__() -> dict:
2330
2450
  ...
2451
+ @staticmethod
2452
+ def _pybind11_conduit_v1_(*args, **kwargs):
2453
+ ...
2331
2454
  def Average(self, vector: ngsolve.la.BaseVector) -> None:
2332
2455
  ...
2333
2456
  def __getstate__(self) -> tuple:
@@ -2398,14 +2521,20 @@ class Hidden(FESpace, NGS_Object):
2398
2521
  prismorder: none
2399
2522
  pyramidorder: none
2400
2523
  """
2524
+ @staticmethod
2525
+ def _pybind11_conduit_v1_(*args, **kwargs):
2526
+ ...
2401
2527
  def __init__(self, fespace: FESpace, **kwargs) -> None:
2402
2528
  ...
2403
2529
  class Integral:
2530
+ @staticmethod
2531
+ def _pybind11_conduit_v1_(*args, **kwargs):
2532
+ ...
2404
2533
  def MakeBFI(self) -> ngsolve.fem.BFI:
2405
2534
  ...
2406
2535
  def MakeLFI(self) -> ngsolve.fem.LFI:
2407
2536
  ...
2408
- def __radd__(self, arg0: int) -> ...:
2537
+ def __radd__(self, arg0: typing.SupportsInt) -> ...:
2409
2538
  ...
2410
2539
  @property
2411
2540
  def coef(self) -> ngsolve.fem.CoefficientFunction:
@@ -2467,6 +2596,9 @@ class IntegrationRuleSpace(FESpace):
2467
2596
  @staticmethod
2468
2597
  def __flags_doc__() -> dict:
2469
2598
  ...
2599
+ @staticmethod
2600
+ def _pybind11_conduit_v1_(*args, **kwargs):
2601
+ ...
2470
2602
  def GetIntegrationRules(self) -> dict[ngsolve.fem.ET, ngsolve.fem.IntegrationRule]:
2471
2603
  ...
2472
2604
  def __getstate__(self) -> tuple:
@@ -2529,6 +2661,9 @@ class IntegrationRuleSpaceSurface(FESpace):
2529
2661
  @staticmethod
2530
2662
  def __flags_doc__() -> dict:
2531
2663
  ...
2664
+ @staticmethod
2665
+ def _pybind11_conduit_v1_(*args, **kwargs):
2666
+ ...
2532
2667
  def GetIntegrationRules(self) -> dict[ngsolve.fem.ET, ngsolve.fem.IntegrationRule]:
2533
2668
  ...
2534
2669
  def __getstate__(self) -> tuple:
@@ -2538,7 +2673,9 @@ class IntegrationRuleSpaceSurface(FESpace):
2538
2673
  def __setstate__(self, arg0: tuple) -> None:
2539
2674
  ...
2540
2675
  class InterpolateProxy(ProxyFunction):
2541
- pass
2676
+ @staticmethod
2677
+ def _pybind11_conduit_v1_(*args, **kwargs):
2678
+ ...
2542
2679
  class L2(FESpace):
2543
2680
  """
2544
2681
  An L2-conforming finite element space.
@@ -2620,6 +2757,9 @@ class L2(FESpace):
2620
2757
  @staticmethod
2621
2758
  def __flags_doc__() -> dict:
2622
2759
  ...
2760
+ @staticmethod
2761
+ def _pybind11_conduit_v1_(*args, **kwargs):
2762
+ ...
2623
2763
  def __getstate__(self) -> tuple:
2624
2764
  ...
2625
2765
  def __init__(self, mesh: Mesh, **kwargs) -> None:
@@ -2658,6 +2798,9 @@ class LinearForm(NGS_Object):
2658
2798
  @staticmethod
2659
2799
  def __flags_doc__() -> dict:
2660
2800
  ...
2801
+ @staticmethod
2802
+ def _pybind11_conduit_v1_(*args, **kwargs):
2803
+ ...
2661
2804
  @typing.overload
2662
2805
  def Add(self, integrator: ngsolve.fem.LFI) -> LinearForm:
2663
2806
  """
@@ -2730,6 +2873,9 @@ class LocalPreconditioner(Preconditioner):
2730
2873
  @staticmethod
2731
2874
  def __flags_doc__() -> dict:
2732
2875
  ...
2876
+ @staticmethod
2877
+ def _pybind11_conduit_v1_(*args, **kwargs):
2878
+ ...
2733
2879
  def __init__(self, bf: BilinearForm, **kwargs) -> None:
2734
2880
  ...
2735
2881
  class MatrixValued(ProductSpace):
@@ -2787,7 +2933,10 @@ class MatrixValued(ProductSpace):
2787
2933
  prismorder: none
2788
2934
  pyramidorder: none
2789
2935
  """
2790
- def __init__(self, space: FESpace, dim: int | None = None, symmetric: bool = False, deviatoric: bool = False, skewsymmetric: bool = False, autoupdate: bool = False) -> None:
2936
+ @staticmethod
2937
+ def _pybind11_conduit_v1_(*args, **kwargs):
2938
+ ...
2939
+ def __init__(self, space: FESpace, dim: typing.SupportsInt | None = None, symmetric: bool = False, deviatoric: bool = False, skewsymmetric: bool = False, autoupdate: bool = False) -> None:
2791
2940
  ...
2792
2941
  class Mesh:
2793
2942
  """
@@ -2802,6 +2951,9 @@ class Mesh:
2802
2951
 
2803
2952
  """
2804
2953
  __hash__: typing.ClassVar[None] = None
2954
+ @staticmethod
2955
+ def _pybind11_conduit_v1_(*args, **kwargs):
2956
+ ...
2805
2957
  def BBBoundaries(self, pattern: str) -> Region:
2806
2958
  """
2807
2959
  Return co dim 3 boundary mesh-region matching the given regex pattern
@@ -2816,7 +2968,7 @@ class Mesh:
2816
2968
  Return boundary mesh-region matching the given regex pattern
2817
2969
  """
2818
2970
  @typing.overload
2819
- def Boundaries(self, bnds: list[int]) -> Region:
2971
+ def Boundaries(self, bnds: collections.abc.Sequence[typing.SupportsInt]) -> Region:
2820
2972
  """
2821
2973
  Generate boundary mesh-region by boundary condition numbers
2822
2974
  """
@@ -2831,11 +2983,11 @@ class Mesh:
2831
2983
  """
2832
2984
  def BuildRefinementTree(self) -> pyngcore.pyngcore.Array_y_S:
2833
2985
  ...
2834
- def Contains(self, x: float = 0.0, y: float = 0.0, z: float = 0.0) -> bool:
2986
+ def Contains(self, x: typing.SupportsFloat = 0.0, y: typing.SupportsFloat = 0.0, z: typing.SupportsFloat = 0.0) -> bool:
2835
2987
  """
2836
2988
  Check if the point (x,y,z) is in the meshed domain (is inside a volume element)
2837
2989
  """
2838
- def Curve(self, order: int) -> Mesh:
2990
+ def Curve(self, order: typing.SupportsInt) -> Mesh:
2839
2991
  """
2840
2992
  Curve the mesh elements for geometry approximation of given order
2841
2993
  """
@@ -2872,7 +3024,7 @@ class Mesh:
2872
3024
  """
2873
3025
  Return number of elements of codimension VorB.
2874
3026
  """
2875
- def GetPMLTrafo(self, dom: int = 1) -> pml.PML:
3027
+ def GetPMLTrafo(self, dom: typing.SupportsInt = 1) -> pml.PML:
2876
3028
  """
2877
3029
  Return pml transformation on domain dom
2878
3030
  """
@@ -2884,11 +3036,11 @@ class Mesh:
2884
3036
  """
2885
3037
  Return parent element id on refined mesh
2886
3038
  """
2887
- def GetParentFaces(self, fnum: int) -> tuple:
3039
+ def GetParentFaces(self, fnum: typing.SupportsInt) -> tuple:
2888
3040
  """
2889
3041
  Return parent faces
2890
3042
  """
2891
- def GetParentVertices(self, vnum: int) -> tuple:
3043
+ def GetParentVertices(self, vnum: typing.SupportsInt) -> tuple:
2892
3044
  """
2893
3045
  Return parent vertex numbers on refined mesh
2894
3046
  """
@@ -2903,10 +3055,10 @@ class Mesh:
2903
3055
  def LocalHCF(self) -> ngsolve.fem.CoefficientFunction:
2904
3056
  ...
2905
3057
  @typing.overload
2906
- def MapToAllElements(self, arg0: ngsolve.fem.IntegrationRule, arg1: VorB | Region) -> numpy.ndarray[ngsolve.fem.MeshPoint]:
3058
+ def MapToAllElements(self, arg0: ngsolve.fem.IntegrationRule, arg1: ngsolve.comp.VorB | ngsolve.comp.Region) -> numpy.typing.NDArray[ngsolve.fem.MeshPoint]:
2907
3059
  ...
2908
3060
  @typing.overload
2909
- def MapToAllElements(self, arg0: dict[ngsolve.fem.ET, ngsolve.fem.IntegrationRule], arg1: VorB | Region) -> numpy.ndarray[ngsolve.fem.MeshPoint]:
3061
+ def MapToAllElements(self, arg0: collections.abc.Mapping[ngsolve.fem.ET, ngsolve.fem.IntegrationRule], arg1: ngsolve.comp.VorB | ngsolve.comp.Region) -> numpy.typing.NDArray[ngsolve.fem.MeshPoint]:
2910
3062
  ...
2911
3063
  def MaterialCF(self, values: dict, default: ngsolve.fem.CoefficientFunction = None) -> ngsolve.fem.CoefficientFunction:
2912
3064
  """
@@ -2923,7 +3075,7 @@ class Mesh:
2923
3075
  Return mesh-region matching the given regex pattern
2924
3076
  """
2925
3077
  @typing.overload
2926
- def Materials(self, domains: list[int]) -> Region:
3078
+ def Materials(self, domains: collections.abc.Sequence[typing.SupportsInt]) -> Region:
2927
3079
  """
2928
3080
  Generate mesh-region by domain numbers
2929
3081
  """
@@ -2933,7 +3085,7 @@ class Mesh:
2933
3085
  """
2934
3086
  def RefineFromTree(self, arg0: pyngcore.pyngcore.Array_y_S) -> None:
2935
3087
  ...
2936
- def RefineHP(self, levels: int, factor: float = 0.125) -> None:
3088
+ def RefineHP(self, levels: typing.SupportsInt, factor: typing.SupportsFloat = 0.125) -> None:
2937
3089
  """
2938
3090
  Geometric mesh refinement towards marked vertices and edges, uses factor for placement of new points
2939
3091
  """
@@ -2955,11 +3107,11 @@ class Mesh:
2955
3107
  """
2956
3108
  Deform the mesh with the given GridFunction
2957
3109
  """
2958
- def SetElementOrder(self, eid: ElementId, order: int) -> None:
3110
+ def SetElementOrder(self, eid: ElementId, order: typing.SupportsInt) -> None:
2959
3111
  """
2960
3112
  For backward compatibility, not recommended to use
2961
3113
  """
2962
- def SetElementOrders(self, eid: ElementId, orders: tuple[int, int, int]) -> None:
3114
+ def SetElementOrders(self, eid: ElementId, orders: tuple[typing.SupportsInt, typing.SupportsInt, typing.SupportsInt]) -> None:
2963
3115
  """
2964
3116
  Set anisotropic element order (expert only)
2965
3117
  """
@@ -2971,7 +3123,7 @@ class Mesh:
2971
3123
  """
2972
3124
  Set refinementflag for mesh-refinement
2973
3125
  """
2974
- def SetRefinementFlags(self, refine: list[bool]) -> None:
3126
+ def SetRefinementFlags(self, refine: collections.abc.Sequence[bool]) -> None:
2975
3127
  """
2976
3128
  Set refinementflags for mesh-refinement
2977
3129
  """
@@ -2985,7 +3137,7 @@ class Mesh:
2985
3137
  """
2986
3138
  Unset the deformation
2987
3139
  """
2988
- def __call__(self, x: numpy.ndarray[numpy.float64] = 0.0, y: numpy.ndarray[numpy.float64] = 0.0, z: numpy.ndarray[numpy.float64] = 0.0, VOL_or_BND: VorB = ..., tol: numpy.ndarray[numpy.float64] = 0.0001) -> typing.Any:
3140
+ def __call__(self, x: typing.Annotated[numpy.typing.ArrayLike, numpy.float64] = 0.0, y: typing.Annotated[numpy.typing.ArrayLike, numpy.float64] = 0.0, z: typing.Annotated[numpy.typing.ArrayLike, numpy.float64] = 0.0, VOL_or_BND: VorB = ..., tol: typing.Annotated[numpy.typing.ArrayLike, numpy.float64] = 0.0001) -> typing.Any:
2989
3141
  """
2990
3142
  Get a MappedIntegrationPoint in the point (x,y,z) on the matching volume (VorB=VOL, default) or surface (VorB=BND) element. BBND elements aren't supported
2991
3143
  """
@@ -3105,6 +3257,9 @@ class MeshNode(NodeId):
3105
3257
  """
3106
3258
  a node within a mesh
3107
3259
  """
3260
+ @staticmethod
3261
+ def _pybind11_conduit_v1_(*args, **kwargs):
3262
+ ...
3108
3263
  @property
3109
3264
  def edges(self) -> tuple:
3110
3265
  """
@@ -3131,9 +3286,12 @@ class MeshNode(NodeId):
3131
3286
  tuple of global vertex numbers
3132
3287
  """
3133
3288
  class MeshNodeRange:
3134
- def __getitem__(self, arg0: int) -> MeshNode:
3289
+ @staticmethod
3290
+ def _pybind11_conduit_v1_(*args, **kwargs):
3135
3291
  ...
3136
- def __iter__(self) -> typing.Iterator[MeshNode]:
3292
+ def __getitem__(self, arg0: typing.SupportsInt) -> MeshNode:
3293
+ ...
3294
+ def __iter__(self) -> collections.abc.Iterator[MeshNode]:
3137
3295
  ...
3138
3296
  def __len__(self) -> int:
3139
3297
  ...
@@ -3172,12 +3330,18 @@ class MultiGridPreconditioner(Preconditioner):
3172
3330
  @staticmethod
3173
3331
  def __flags_doc__() -> dict:
3174
3332
  ...
3333
+ @staticmethod
3334
+ def _pybind11_conduit_v1_(*args, **kwargs):
3335
+ ...
3175
3336
  def SetDirectSolverCluster(self, arg0: list) -> None:
3176
3337
  ...
3177
3338
  def __init__(self, bf: BilinearForm, name: str = 'multigrid', lo_preconditioner: BaseMatrix | None = None, **kwargs) -> None:
3178
3339
  ...
3179
3340
  class NGS_Object:
3180
3341
  name: str
3342
+ @staticmethod
3343
+ def _pybind11_conduit_v1_(*args, **kwargs):
3344
+ ...
3181
3345
  @property
3182
3346
  def __memory__(self) -> list[tuple[str, int, int]]:
3183
3347
  ...
@@ -3185,6 +3349,9 @@ class NGS_Object:
3185
3349
  def flags(self) -> pyngcore.pyngcore.Flags:
3186
3350
  ...
3187
3351
  class Ngs_Element:
3352
+ @staticmethod
3353
+ def _pybind11_conduit_v1_(*args, **kwargs):
3354
+ ...
3188
3355
  def VB(self) -> VorB:
3189
3356
  """
3190
3357
  VorB of element
@@ -3293,6 +3460,9 @@ class NodalFESpace(FESpace):
3293
3460
  @staticmethod
3294
3461
  def __flags_doc__() -> dict:
3295
3462
  ...
3463
+ @staticmethod
3464
+ def _pybind11_conduit_v1_(*args, **kwargs):
3465
+ ...
3296
3466
  def __getstate__(self) -> tuple:
3297
3467
  ...
3298
3468
  def __init__(self, mesh: Mesh, **kwargs) -> None:
@@ -3303,11 +3473,14 @@ class NodeId:
3303
3473
  """
3304
3474
  an node identifier containing node type and node nr
3305
3475
  """
3476
+ @staticmethod
3477
+ def _pybind11_conduit_v1_(*args, **kwargs):
3478
+ ...
3306
3479
  def __eq__(self, arg0: NodeId) -> bool:
3307
3480
  ...
3308
3481
  def __hash__(self) -> int:
3309
3482
  ...
3310
- def __init__(self, type: ngsolve.fem.NODE_TYPE, nr: int) -> None:
3483
+ def __init__(self, type: ngsolve.fem.NODE_TYPE, nr: typing.SupportsInt) -> None:
3311
3484
  ...
3312
3485
  def __ne__(self, arg0: NodeId) -> bool:
3313
3486
  ...
@@ -3326,7 +3499,10 @@ class NodeId:
3326
3499
  the node type
3327
3500
  """
3328
3501
  class NodeRange:
3329
- def __iter__(self) -> typing.Iterator[NodeId]:
3502
+ @staticmethod
3503
+ def _pybind11_conduit_v1_(*args, **kwargs):
3504
+ ...
3505
+ def __iter__(self) -> collections.abc.Iterator[NodeId]:
3330
3506
  ...
3331
3507
  def __len__(self) -> int:
3332
3508
  ...
@@ -3392,6 +3568,9 @@ class NormalFacetFESpace(FESpace):
3392
3568
  @staticmethod
3393
3569
  def __flags_doc__() -> dict:
3394
3570
  ...
3571
+ @staticmethod
3572
+ def _pybind11_conduit_v1_(*args, **kwargs):
3573
+ ...
3395
3574
  def __getstate__(self) -> tuple:
3396
3575
  ...
3397
3576
  def __init__(self, mesh: Mesh, **kwargs) -> None:
@@ -3452,6 +3631,9 @@ class NormalFacetSurface(FESpace):
3452
3631
  @staticmethod
3453
3632
  def __flags_doc__() -> dict:
3454
3633
  ...
3634
+ @staticmethod
3635
+ def _pybind11_conduit_v1_(*args, **kwargs):
3636
+ ...
3455
3637
  def __getstate__(self) -> tuple:
3456
3638
  ...
3457
3639
  def __init__(self, mesh: Mesh, **kwargs) -> None:
@@ -3512,6 +3694,9 @@ class NumberSpace(FESpace):
3512
3694
  @staticmethod
3513
3695
  def __flags_doc__() -> dict:
3514
3696
  ...
3697
+ @staticmethod
3698
+ def _pybind11_conduit_v1_(*args, **kwargs):
3699
+ ...
3515
3700
  def __getstate__(self) -> tuple:
3516
3701
  ...
3517
3702
  def __init__(self, mesh: Mesh, **kwargs) -> None:
@@ -3537,6 +3722,9 @@ class ORDER_POLICY:
3537
3722
  OLDSTYLE: typing.ClassVar[ORDER_POLICY] # value = <ORDER_POLICY.OLDSTYLE: 3>
3538
3723
  VARIABLE: typing.ClassVar[ORDER_POLICY] # value = <ORDER_POLICY.VARIABLE: 2>
3539
3724
  __members__: typing.ClassVar[dict[str, ORDER_POLICY]] # value = {'CONSTANT': <ORDER_POLICY.CONSTANT: 0>, 'NODETYPE': <ORDER_POLICY.NODETYPE: 1>, 'VARIABLE': <ORDER_POLICY.VARIABLE: 2>, 'OLDSTYLE': <ORDER_POLICY.OLDSTYLE: 3>}
3725
+ @staticmethod
3726
+ def _pybind11_conduit_v1_(*args, **kwargs):
3727
+ ...
3540
3728
  def __eq__(self, other: typing.Any) -> bool:
3541
3729
  ...
3542
3730
  def __getstate__(self) -> int:
@@ -3545,7 +3733,7 @@ class ORDER_POLICY:
3545
3733
  ...
3546
3734
  def __index__(self) -> int:
3547
3735
  ...
3548
- def __init__(self, value: int) -> None:
3736
+ def __init__(self, value: typing.SupportsInt) -> None:
3549
3737
  ...
3550
3738
  def __int__(self) -> int:
3551
3739
  ...
@@ -3553,7 +3741,7 @@ class ORDER_POLICY:
3553
3741
  ...
3554
3742
  def __repr__(self) -> str:
3555
3743
  ...
3556
- def __setstate__(self, state: int) -> None:
3744
+ def __setstate__(self, state: typing.SupportsInt) -> None:
3557
3745
  ...
3558
3746
  def __str__(self) -> str:
3559
3747
  ...
@@ -3642,6 +3830,9 @@ class Periodic(FESpace):
3642
3830
  prismorder: none
3643
3831
  pyramidorder: none
3644
3832
  """
3833
+ @staticmethod
3834
+ def _pybind11_conduit_v1_(*args, **kwargs):
3835
+ ...
3645
3836
  def __getstate__(self) -> tuple:
3646
3837
  ...
3647
3838
  def __init__(self, fespace: FESpace, phase: list | None = None, use_idnrs: typing.Any = [], autoupdate: bool = False) -> None:
@@ -3706,7 +3897,10 @@ class PlateauFESpace(FESpace):
3706
3897
  prismorder: none
3707
3898
  pyramidorder: none
3708
3899
  """
3709
- def __init__(self, arg0: FESpace, arg1: list[Region]) -> None:
3900
+ @staticmethod
3901
+ def _pybind11_conduit_v1_(*args, **kwargs):
3902
+ ...
3903
+ def __init__(self, arg0: FESpace, arg1: collections.abc.Sequence[Region]) -> None:
3710
3904
  ...
3711
3905
  class Preconditioner(ngsolve.la.BaseMatrix, NGS_Object):
3712
3906
  """
@@ -3725,6 +3919,9 @@ class Preconditioner(ngsolve.la.BaseMatrix, NGS_Object):
3725
3919
  @staticmethod
3726
3920
  def __flags_doc__() -> dict:
3727
3921
  ...
3922
+ @staticmethod
3923
+ def _pybind11_conduit_v1_(*args, **kwargs):
3924
+ ...
3728
3925
  def Test(self) -> None:
3729
3926
  ...
3730
3927
  def Update(self) -> None:
@@ -3793,11 +3990,14 @@ class ProductSpace(FESpace):
3793
3990
  prismorder: none
3794
3991
  pyramidorder: none
3795
3992
  """
3796
- def Embedding(self, component: int) -> BaseMatrix:
3993
+ @staticmethod
3994
+ def _pybind11_conduit_v1_(*args, **kwargs):
3995
+ ...
3996
+ def Embedding(self, component: typing.SupportsInt) -> BaseMatrix:
3797
3997
  """
3798
3998
  create embedding operator for this component
3799
3999
  """
3800
- def Range(self, component: int) -> ngsolve.la.DofRange:
4000
+ def Range(self, component: typing.SupportsInt) -> ngsolve.la.DofRange:
3801
4001
  """
3802
4002
  Return interval of dofs of a component of a product space.
3803
4003
 
@@ -3806,7 +4006,7 @@ class ProductSpace(FESpace):
3806
4006
  component : int
3807
4007
  input component
3808
4008
  """
3809
- def Restriction(self, component: int) -> BaseMatrix:
4009
+ def Restriction(self, component: typing.SupportsInt) -> BaseMatrix:
3810
4010
  """
3811
4011
  create restriction operator onto this component
3812
4012
  """
@@ -3838,15 +4038,18 @@ class ProductSpace(FESpace):
3838
4038
  returns a list of restrictions onto the component spaces
3839
4039
  """
3840
4040
  class Prolongation:
3841
- def CreateMatrix(self, finelevel: int) -> ngsolve.la.SparseMatrixd:
4041
+ @staticmethod
4042
+ def _pybind11_conduit_v1_(*args, **kwargs):
3842
4043
  ...
3843
- def LevelDofs(self, level: int) -> ngsolve.la.DofRange:
4044
+ def CreateMatrix(self, finelevel: typing.SupportsInt) -> ngsolve.la.SparseMatrixd:
3844
4045
  ...
3845
- def Operator(self, finelevel: int) -> BaseMatrix:
4046
+ def LevelDofs(self, level: typing.SupportsInt) -> ngsolve.la.DofRange:
3846
4047
  ...
3847
- def Prolongate(self, finelevel: int, vec: ngsolve.la.BaseVector) -> None:
4048
+ def Operator(self, finelevel: typing.SupportsInt) -> BaseMatrix:
3848
4049
  ...
3849
- def Restrict(self, finelevel: int, vec: ngsolve.la.BaseVector) -> None:
4050
+ def Prolongate(self, finelevel: typing.SupportsInt, vec: ngsolve.la.BaseVector) -> None:
4051
+ ...
4052
+ def Restrict(self, finelevel: typing.SupportsInt, vec: ngsolve.la.BaseVector) -> None:
3850
4053
  ...
3851
4054
  class ProxyFunction(ngsolve.fem.CoefficientFunction):
3852
4055
  """
@@ -3857,6 +4060,9 @@ class ProxyFunction(ngsolve.fem.CoefficientFunction):
3857
4060
  when building the system matrices.
3858
4061
 
3859
4062
  """
4063
+ @staticmethod
4064
+ def _pybind11_conduit_v1_(*args, **kwargs):
4065
+ ...
3860
4066
  def Deriv(self) -> ProxyFunction:
3861
4067
  """
3862
4068
  take canonical derivative (grad, curl, div)
@@ -3974,6 +4180,9 @@ class QuasiPeriodicC(Periodic):
3974
4180
  prismorder: none
3975
4181
  pyramidorder: none
3976
4182
  """
4183
+ @staticmethod
4184
+ def _pybind11_conduit_v1_(*args, **kwargs):
4185
+ ...
3977
4186
  def __getstate__(self) -> tuple:
3978
4187
  ...
3979
4188
  def __setstate__(self, arg0: tuple) -> None:
@@ -4033,6 +4242,9 @@ class QuasiPeriodicD(Periodic):
4033
4242
  prismorder: none
4034
4243
  pyramidorder: none
4035
4244
  """
4245
+ @staticmethod
4246
+ def _pybind11_conduit_v1_(*args, **kwargs):
4247
+ ...
4036
4248
  def __getstate__(self) -> tuple:
4037
4249
  ...
4038
4250
  def __setstate__(self, arg0: tuple) -> None:
@@ -4041,9 +4253,12 @@ class Region:
4041
4253
  """
4042
4254
  a subset of volume or boundary elements
4043
4255
  """
4256
+ @staticmethod
4257
+ def _pybind11_conduit_v1_(*args, **kwargs):
4258
+ ...
4044
4259
  def Boundaries(self) -> Region:
4045
4260
  ...
4046
- def Elements(self) -> typing.Iterator[Ngs_Element]:
4261
+ def Elements(self) -> collections.abc.Iterator[Ngs_Element]:
4047
4262
  ...
4048
4263
  def Mask(self) -> pyngcore.pyngcore.BitArray:
4049
4264
  """
@@ -4065,7 +4280,7 @@ class Region:
4065
4280
  @typing.overload
4066
4281
  def __add__(self, arg0: str) -> Region:
4067
4282
  ...
4068
- def __call__(self, x: numpy.ndarray[numpy.float64], y: numpy.ndarray[numpy.float64] = 0.0, z: numpy.ndarray[numpy.float64] = 0.0) -> typing.Any:
4283
+ def __call__(self, x: typing.Annotated[numpy.typing.ArrayLike, numpy.float64], y: typing.Annotated[numpy.typing.ArrayLike, numpy.float64] = 0.0, z: typing.Annotated[numpy.typing.ArrayLike, numpy.float64] = 0.0) -> typing.Any:
4069
4284
  ...
4070
4285
  def __eq__(self, arg0: Region) -> bool:
4071
4286
  ...
@@ -4155,11 +4370,17 @@ class Reorder(FESpace):
4155
4370
  prismorder: none
4156
4371
  pyramidorder: none
4157
4372
  """
4373
+ @staticmethod
4374
+ def _pybind11_conduit_v1_(*args, **kwargs):
4375
+ ...
4158
4376
  def GetClusters(self) -> pyngcore.pyngcore.Table_I:
4159
4377
  ...
4160
4378
  def __init__(self, fespace: FESpace, autoupdate: bool = False) -> None:
4161
4379
  ...
4162
4380
  class SumOfIntegrals:
4381
+ @staticmethod
4382
+ def _pybind11_conduit_v1_(*args, **kwargs):
4383
+ ...
4163
4384
  def Compile(self, realcompile: bool = False, wait: bool = False, keep_files: bool = False) -> SumOfIntegrals:
4164
4385
  ...
4165
4386
  def Derive(self, arg0: ngsolve.fem.CoefficientFunction, arg1: ngsolve.fem.CoefficientFunction) -> SumOfIntegrals:
@@ -4172,20 +4393,20 @@ class SumOfIntegrals:
4172
4393
  ...
4173
4394
  def GetProxies(self, trial: bool = True) -> Array[ProxyFunction]:
4174
4395
  ...
4175
- def Replace(self, arg0: dict[ngsolve.fem.CoefficientFunction, ngsolve.fem.CoefficientFunction]) -> SumOfIntegrals:
4396
+ def Replace(self, arg0: collections.abc.Mapping[ngsolve.fem.CoefficientFunction, ngsolve.fem.CoefficientFunction]) -> SumOfIntegrals:
4176
4397
  ...
4177
4398
  def SetDefinedOnElements(self, arg0: pyngcore.pyngcore.BitArray) -> None:
4178
4399
  ...
4179
4400
  def __add__(self, arg0: SumOfIntegrals) -> SumOfIntegrals:
4180
4401
  ...
4181
- def __getitem__(self, arg0: int) -> Integral:
4402
+ def __getitem__(self, arg0: typing.SupportsInt) -> Integral:
4182
4403
  ...
4183
4404
  def __len__(self) -> int:
4184
4405
  ...
4185
- def __radd__(self, arg0: int) -> SumOfIntegrals:
4406
+ def __radd__(self, arg0: typing.SupportsInt) -> SumOfIntegrals:
4186
4407
  ...
4187
4408
  @typing.overload
4188
- def __rmul__(self, arg0: float) -> SumOfIntegrals:
4409
+ def __rmul__(self, arg0: typing.SupportsFloat) -> SumOfIntegrals:
4189
4410
  ...
4190
4411
  @typing.overload
4191
4412
  def __rmul__(self, arg0: complex) -> SumOfIntegrals:
@@ -4272,6 +4493,9 @@ class SurfaceL2(FESpace):
4272
4493
  @staticmethod
4273
4494
  def __flags_doc__() -> dict:
4274
4495
  ...
4496
+ @staticmethod
4497
+ def _pybind11_conduit_v1_(*args, **kwargs):
4498
+ ...
4275
4499
  def __getstate__(self) -> tuple:
4276
4500
  ...
4277
4501
  def __init__(self, mesh: Mesh, **kwargs) -> None:
@@ -4279,7 +4503,10 @@ class SurfaceL2(FESpace):
4279
4503
  def __setstate__(self, arg0: tuple) -> None:
4280
4504
  ...
4281
4505
  class SymbolTable_D:
4282
- def GetName(self, arg0: int) -> str:
4506
+ @staticmethod
4507
+ def _pybind11_conduit_v1_(*args, **kwargs):
4508
+ ...
4509
+ def GetName(self, arg0: typing.SupportsInt) -> str:
4283
4510
  ...
4284
4511
  def __contains__(self, arg0: str) -> bool:
4285
4512
  ...
@@ -4287,14 +4514,17 @@ class SymbolTable_D:
4287
4514
  def __getitem__(self, name: str) -> float:
4288
4515
  ...
4289
4516
  @typing.overload
4290
- def __getitem__(self, pos: int) -> float:
4517
+ def __getitem__(self, pos: typing.SupportsInt) -> float:
4291
4518
  ...
4292
4519
  def __len__(self) -> int:
4293
4520
  ...
4294
4521
  def __str__(self) -> str:
4295
4522
  ...
4296
4523
  class SymbolTable_sp_D:
4297
- def GetName(self, pos: int) -> str:
4524
+ @staticmethod
4525
+ def _pybind11_conduit_v1_(*args, **kwargs):
4526
+ ...
4527
+ def GetName(self, pos: typing.SupportsInt) -> str:
4298
4528
  ...
4299
4529
  def __contains__(self, arg0: str) -> bool:
4300
4530
  ...
@@ -4302,14 +4532,17 @@ class SymbolTable_sp_D:
4302
4532
  def __getitem__(self, name: str) -> float:
4303
4533
  ...
4304
4534
  @typing.overload
4305
- def __getitem__(self, pos: int) -> float:
4535
+ def __getitem__(self, pos: typing.SupportsInt) -> float:
4306
4536
  ...
4307
4537
  def __len__(self) -> int:
4308
4538
  ...
4309
4539
  def __str__(self) -> str:
4310
4540
  ...
4311
4541
  class SymbolTable_sp_N5ngfem19CoefficientFunctionE:
4312
- def GetName(self, arg0: int) -> str:
4542
+ @staticmethod
4543
+ def _pybind11_conduit_v1_(*args, **kwargs):
4544
+ ...
4545
+ def GetName(self, arg0: typing.SupportsInt) -> str:
4313
4546
  ...
4314
4547
  def __contains__(self, arg0: str) -> bool:
4315
4548
  ...
@@ -4317,14 +4550,17 @@ class SymbolTable_sp_N5ngfem19CoefficientFunctionE:
4317
4550
  def __getitem__(self, name: str) -> ngsolve.fem.CoefficientFunction:
4318
4551
  ...
4319
4552
  @typing.overload
4320
- def __getitem__(self, pos: int) -> ngsolve.fem.CoefficientFunction:
4553
+ def __getitem__(self, pos: typing.SupportsInt) -> ngsolve.fem.CoefficientFunction:
4321
4554
  ...
4322
4555
  def __len__(self) -> int:
4323
4556
  ...
4324
4557
  def __str__(self) -> str:
4325
4558
  ...
4326
4559
  class SymbolTable_sp_N6ngcomp10LinearFormE:
4327
- def GetName(self, arg0: int) -> str:
4560
+ @staticmethod
4561
+ def _pybind11_conduit_v1_(*args, **kwargs):
4562
+ ...
4563
+ def GetName(self, arg0: typing.SupportsInt) -> str:
4328
4564
  ...
4329
4565
  def __contains__(self, arg0: str) -> bool:
4330
4566
  ...
@@ -4332,14 +4568,17 @@ class SymbolTable_sp_N6ngcomp10LinearFormE:
4332
4568
  def __getitem__(self, name: str) -> LinearForm:
4333
4569
  ...
4334
4570
  @typing.overload
4335
- def __getitem__(self, pos: int) -> LinearForm:
4571
+ def __getitem__(self, pos: typing.SupportsInt) -> LinearForm:
4336
4572
  ...
4337
4573
  def __len__(self) -> int:
4338
4574
  ...
4339
4575
  def __str__(self) -> str:
4340
4576
  ...
4341
4577
  class SymbolTable_sp_N6ngcomp12BilinearFormE:
4342
- def GetName(self, arg0: int) -> str:
4578
+ @staticmethod
4579
+ def _pybind11_conduit_v1_(*args, **kwargs):
4580
+ ...
4581
+ def GetName(self, arg0: typing.SupportsInt) -> str:
4343
4582
  ...
4344
4583
  def __contains__(self, arg0: str) -> bool:
4345
4584
  ...
@@ -4347,14 +4586,17 @@ class SymbolTable_sp_N6ngcomp12BilinearFormE:
4347
4586
  def __getitem__(self, name: str) -> BilinearForm:
4348
4587
  ...
4349
4588
  @typing.overload
4350
- def __getitem__(self, pos: int) -> BilinearForm:
4589
+ def __getitem__(self, pos: typing.SupportsInt) -> BilinearForm:
4351
4590
  ...
4352
4591
  def __len__(self) -> int:
4353
4592
  ...
4354
4593
  def __str__(self) -> str:
4355
4594
  ...
4356
4595
  class SymbolTable_sp_N6ngcomp12GridFunctionE:
4357
- def GetName(self, arg0: int) -> str:
4596
+ @staticmethod
4597
+ def _pybind11_conduit_v1_(*args, **kwargs):
4598
+ ...
4599
+ def GetName(self, arg0: typing.SupportsInt) -> str:
4358
4600
  ...
4359
4601
  def __contains__(self, arg0: str) -> bool:
4360
4602
  ...
@@ -4362,14 +4604,17 @@ class SymbolTable_sp_N6ngcomp12GridFunctionE:
4362
4604
  def __getitem__(self, name: str) -> GridFunction:
4363
4605
  ...
4364
4606
  @typing.overload
4365
- def __getitem__(self, pos: int) -> GridFunction:
4607
+ def __getitem__(self, pos: typing.SupportsInt) -> GridFunction:
4366
4608
  ...
4367
4609
  def __len__(self) -> int:
4368
4610
  ...
4369
4611
  def __str__(self) -> str:
4370
4612
  ...
4371
4613
  class SymbolTable_sp_N6ngcomp14PreconditionerE:
4372
- def GetName(self, arg0: int) -> str:
4614
+ @staticmethod
4615
+ def _pybind11_conduit_v1_(*args, **kwargs):
4616
+ ...
4617
+ def GetName(self, arg0: typing.SupportsInt) -> str:
4373
4618
  ...
4374
4619
  def __contains__(self, arg0: str) -> bool:
4375
4620
  ...
@@ -4377,14 +4622,17 @@ class SymbolTable_sp_N6ngcomp14PreconditionerE:
4377
4622
  def __getitem__(self, name: str) -> Preconditioner:
4378
4623
  ...
4379
4624
  @typing.overload
4380
- def __getitem__(self, pos: int) -> Preconditioner:
4625
+ def __getitem__(self, pos: typing.SupportsInt) -> Preconditioner:
4381
4626
  ...
4382
4627
  def __len__(self) -> int:
4383
4628
  ...
4384
4629
  def __str__(self) -> str:
4385
4630
  ...
4386
4631
  class SymbolTable_sp_N6ngcomp7FESpaceE:
4387
- def GetName(self, arg0: int) -> str:
4632
+ @staticmethod
4633
+ def _pybind11_conduit_v1_(*args, **kwargs):
4634
+ ...
4635
+ def GetName(self, arg0: typing.SupportsInt) -> str:
4388
4636
  ...
4389
4637
  def __contains__(self, arg0: str) -> bool:
4390
4638
  ...
@@ -4392,7 +4640,7 @@ class SymbolTable_sp_N6ngcomp7FESpaceE:
4392
4640
  def __getitem__(self, name: str) -> FESpace:
4393
4641
  ...
4394
4642
  @typing.overload
4395
- def __getitem__(self, pos: int) -> FESpace:
4643
+ def __getitem__(self, pos: typing.SupportsInt) -> FESpace:
4396
4644
  ...
4397
4645
  def __len__(self) -> int:
4398
4646
  ...
@@ -4460,6 +4708,9 @@ class TangentialFacetFESpace(FESpace):
4460
4708
  @staticmethod
4461
4709
  def __flags_doc__() -> dict:
4462
4710
  ...
4711
+ @staticmethod
4712
+ def _pybind11_conduit_v1_(*args, **kwargs):
4713
+ ...
4463
4714
  def __getstate__(self) -> tuple:
4464
4715
  ...
4465
4716
  def __init__(self, mesh: Mesh, **kwargs) -> None:
@@ -4535,6 +4786,9 @@ class TangentialSurfaceL2(FESpace):
4535
4786
  @staticmethod
4536
4787
  def __flags_doc__() -> dict:
4537
4788
  ...
4789
+ @staticmethod
4790
+ def _pybind11_conduit_v1_(*args, **kwargs):
4791
+ ...
4538
4792
  def __getstate__(self) -> tuple:
4539
4793
  ...
4540
4794
  def __init__(self, mesh: Mesh, **kwargs) -> None:
@@ -4542,8 +4796,11 @@ class TangentialSurfaceL2(FESpace):
4542
4796
  def __setstate__(self, arg0: tuple) -> None:
4543
4797
  ...
4544
4798
  class VTKOutput:
4799
+ @staticmethod
4800
+ def _pybind11_conduit_v1_(*args, **kwargs):
4801
+ ...
4545
4802
  @typing.overload
4546
- def Do(self, time: float = -1, vb: VorB = ...) -> str:
4803
+ def Do(self, time: typing.SupportsFloat = -1, vb: VorB = ...) -> str:
4547
4804
  """
4548
4805
  Write mesh and fields to file. When called several times on the same object
4549
4806
  an index is added to the output file name. A meta file (.pvd) is written
@@ -4561,7 +4818,7 @@ class VTKOutput:
4561
4818
  .
4562
4819
  """
4563
4820
  @typing.overload
4564
- def Do(self, time: float = -1, vb: VorB = ..., drawelems: pyngcore.pyngcore.BitArray) -> str:
4821
+ def Do(self, time: typing.SupportsFloat = -1, vb: VorB = ..., drawelems: pyngcore.pyngcore.BitArray) -> str:
4565
4822
  """
4566
4823
  Write mesh and fields to file. When called several times on the same object
4567
4824
  an index is added to the output file name. A meta file (.pvd) is written
@@ -4581,7 +4838,7 @@ class VTKOutput:
4581
4838
  defines the submesh (set of elements) that are (only) used for drawing.
4582
4839
  .
4583
4840
  """
4584
- def __init__(self, ma: Mesh, coefs: list = [], names: list = [], filename: str = 'vtkout', subdivision: int = 0, only_element: int = -1, floatsize: str = 'double', legacy: bool = False, order: int = 1) -> None:
4841
+ def __init__(self, ma: Mesh, coefs: list = [], names: list = [], filename: str = 'vtkout', subdivision: typing.SupportsInt = 0, only_element: typing.SupportsInt = -1, floatsize: str = 'double', legacy: bool = False, order: typing.SupportsInt = 1) -> None:
4585
4842
  """
4586
4843
  VTK output class. Allows to put mesh and field information of several CoefficientFunctions into a VTK file.
4587
4844
  (Can be used by independent visualization software, e.g. ParaView).
@@ -4624,6 +4881,9 @@ class VTKOutput:
4624
4881
  .
4625
4882
  """
4626
4883
  class Variation:
4884
+ @staticmethod
4885
+ def _pybind11_conduit_v1_(*args, **kwargs):
4886
+ ...
4627
4887
  def Compile(self, realcompile: bool = False, wait: bool = False, keep_files: bool = False) -> Variation:
4628
4888
  ...
4629
4889
  def __init__(self, arg0: SumOfIntegrals) -> None:
@@ -4682,6 +4942,9 @@ class VectorFacetFESpace(FESpace):
4682
4942
  @staticmethod
4683
4943
  def __flags_doc__() -> dict:
4684
4944
  ...
4945
+ @staticmethod
4946
+ def _pybind11_conduit_v1_(*args, **kwargs):
4947
+ ...
4685
4948
  def __getstate__(self) -> tuple:
4686
4949
  ...
4687
4950
  def __init__(self, mesh: Mesh, **kwargs) -> None:
@@ -4742,6 +5005,9 @@ class VectorFacetSurface(FESpace):
4742
5005
  @staticmethod
4743
5006
  def __flags_doc__() -> dict:
4744
5007
  ...
5008
+ @staticmethod
5009
+ def _pybind11_conduit_v1_(*args, **kwargs):
5010
+ ...
4745
5011
  def __getstate__(self) -> tuple:
4746
5012
  ...
4747
5013
  def __init__(self, mesh: Mesh, **kwargs) -> None:
@@ -4831,6 +5097,9 @@ class VectorH1(ProductSpace):
4831
5097
  @staticmethod
4832
5098
  def __flags_doc__() -> dict:
4833
5099
  ...
5100
+ @staticmethod
5101
+ def _pybind11_conduit_v1_(*args, **kwargs):
5102
+ ...
4834
5103
  def __getstate__(self) -> tuple:
4835
5104
  ...
4836
5105
  def __init__(self, mesh: Mesh, **kwargs) -> None:
@@ -4911,6 +5180,9 @@ class VectorL2(ProductSpace):
4911
5180
  @staticmethod
4912
5181
  def __flags_doc__() -> dict:
4913
5182
  ...
5183
+ @staticmethod
5184
+ def _pybind11_conduit_v1_(*args, **kwargs):
5185
+ ...
4914
5186
  def __getstate__(self) -> tuple:
4915
5187
  ...
4916
5188
  def __init__(self, mesh: Mesh, **kwargs) -> None:
@@ -4971,6 +5243,9 @@ class VectorNodalFESpace(FESpace):
4971
5243
  @staticmethod
4972
5244
  def __flags_doc__() -> dict:
4973
5245
  ...
5246
+ @staticmethod
5247
+ def _pybind11_conduit_v1_(*args, **kwargs):
5248
+ ...
4974
5249
  def __getstate__(self) -> tuple:
4975
5250
  ...
4976
5251
  def __init__(self, mesh: Mesh, **kwargs) -> None:
@@ -5031,6 +5306,9 @@ class VectorSurfaceL2(FESpace):
5031
5306
  @staticmethod
5032
5307
  def __flags_doc__() -> dict:
5033
5308
  ...
5309
+ @staticmethod
5310
+ def _pybind11_conduit_v1_(*args, **kwargs):
5311
+ ...
5034
5312
  def __getstate__(self) -> tuple:
5035
5313
  ...
5036
5314
  def __init__(self, mesh: Mesh, **kwargs) -> None:
@@ -5092,9 +5370,12 @@ class VectorValued(ProductSpace):
5092
5370
  prismorder: none
5093
5371
  pyramidorder: none
5094
5372
  """
5373
+ @staticmethod
5374
+ def _pybind11_conduit_v1_(*args, **kwargs):
5375
+ ...
5095
5376
  def __getstate__(self) -> tuple:
5096
5377
  ...
5097
- def __init__(self, space: FESpace, dim: int | None = None, interleaved: bool = False, autoupdate: bool = False) -> None:
5378
+ def __init__(self, space: FESpace, dim: typing.SupportsInt | None = None, interleaved: bool = False, autoupdate: bool = False) -> None:
5098
5379
  ...
5099
5380
  def __setstate__(self, arg0: tuple) -> None:
5100
5381
  ...
@@ -5117,6 +5398,9 @@ class VorB:
5117
5398
  BND: typing.ClassVar[VorB] # value = <VorB.BND: 1>
5118
5399
  VOL: typing.ClassVar[VorB] # value = <VorB.VOL: 0>
5119
5400
  __members__: typing.ClassVar[dict[str, VorB]] # value = {'VOL': <VorB.VOL: 0>, 'BND': <VorB.BND: 1>, 'BBND': <VorB.BBND: 2>, 'BBBND': <VorB.BBBND: 3>}
5401
+ @staticmethod
5402
+ def _pybind11_conduit_v1_(*args, **kwargs):
5403
+ ...
5120
5404
  def __eq__(self, other: typing.Any) -> bool:
5121
5405
  ...
5122
5406
  def __getstate__(self) -> int:
@@ -5125,7 +5409,7 @@ class VorB:
5125
5409
  ...
5126
5410
  def __index__(self) -> int:
5127
5411
  ...
5128
- def __init__(self, value: int) -> None:
5412
+ def __init__(self, value: typing.SupportsInt) -> None:
5129
5413
  ...
5130
5414
  def __int__(self) -> int:
5131
5415
  ...
@@ -5133,7 +5417,7 @@ class VorB:
5133
5417
  ...
5134
5418
  def __repr__(self) -> str:
5135
5419
  ...
5136
- def __setstate__(self, state: int) -> None:
5420
+ def __setstate__(self, state: typing.SupportsInt) -> None:
5137
5421
  ...
5138
5422
  def __str__(self) -> str:
5139
5423
  ...
@@ -5143,7 +5427,7 @@ class VorB:
5143
5427
  @property
5144
5428
  def value(self) -> int:
5145
5429
  ...
5146
- def BndElementId(nr: int) -> ElementId:
5430
+ def BndElementId(nr: typing.SupportsInt) -> ElementId:
5147
5431
  """
5148
5432
  Creates an element-id for a boundary element
5149
5433
 
@@ -5173,7 +5457,7 @@ def BoundaryFromVolumeCF(vol_cf: ngsolve.fem.CoefficientFunction) -> ngsolve.fem
5173
5457
  """
5174
5458
  def CompressCompound(fespace: FESpace, active_dofs: typing.Any = ...) -> FESpace:
5175
5459
  ...
5176
- def ConvertOperator(spacea: FESpace, spaceb: FESpace, trial_proxy: ProxyFunction = None, trial_cf: ngsolve.fem.CoefficientFunction = None, definedon: Region | None = None, vb: VorB = ..., range_dofs: pyngcore.pyngcore.BitArray = None, localop: bool = False, parmat: bool = True, use_simd: bool = True, bonus_intorder_ab: int = 0, bonus_intorder_bb: int = 0, geom_free: bool = False) -> BaseMatrix:
5460
+ def ConvertOperator(spacea: FESpace, spaceb: FESpace, trial_proxy: ProxyFunction = None, trial_cf: ngsolve.fem.CoefficientFunction = None, definedon: ngsolve.comp.Region | None = None, vb: VorB = ..., range_dofs: pyngcore.pyngcore.BitArray = None, localop: bool = False, parmat: bool = True, use_simd: bool = True, bonus_intorder_ab: typing.SupportsInt = 0, bonus_intorder_bb: typing.SupportsInt = 0, geom_free: bool = False) -> BaseMatrix:
5177
5461
  """
5178
5462
  A conversion operator between FESpaces. Embedding if spacea is a subspace of spaceb, otherwise an interpolation operator defined by element-wise application of dual shapes (and averaging between elements).
5179
5463
 
@@ -5223,7 +5507,7 @@ def FromArchiveFESpace(arg0: str, arg1: bool) -> FESpace:
5223
5507
  def FromArchiveMesh(arg0: str, arg1: bool) -> netgen.libngpy._meshing.Mesh:
5224
5508
  ...
5225
5509
  @typing.overload
5226
- def Integrate(cf: ngsolve.fem.CoefficientFunction, mesh: Mesh | Region, VOL_or_BND: VorB = ..., order: int = 5, definedon: Region = None, region_wise: bool = False, element_wise: bool = False) -> typing.Any:
5510
+ def Integrate(cf: ngsolve.fem.CoefficientFunction, mesh: ngsolve.comp.Mesh | ngsolve.comp.Region, VOL_or_BND: VorB = ..., order: typing.SupportsInt = 5, definedon: Region = None, region_wise: bool = False, element_wise: bool = False) -> typing.Any:
5227
5511
  """
5228
5512
  Parameters
5229
5513
  ----------
@@ -5258,14 +5542,14 @@ def Integrate(cf: ngsolve.fem.CoefficientFunction, mesh: Mesh | Region, VOL_or_B
5258
5542
  @typing.overload
5259
5543
  def Integrate(igls: SumOfIntegrals, mesh: Mesh, element_wise: bool = False) -> typing.Any:
5260
5544
  ...
5261
- def Interpolate(cf: ngsolve.fem.CoefficientFunction, space: FESpace, bonus_intorder: int = 0, operator: str | None = None) -> ngsolve.fem.CoefficientFunction:
5545
+ def Interpolate(cf: ngsolve.fem.CoefficientFunction, space: FESpace, bonus_intorder: typing.SupportsInt = 0, operator: str | None = None) -> ngsolve.fem.CoefficientFunction:
5262
5546
  """
5263
5547
  Interpolate a CoefficientFunction into the finite element space.
5264
5548
  The interpolation is canonical interpolation using dual shapes.
5265
5549
  The result is a CoefficientFunction.
5266
5550
  Interpolation is done on the fly for each element, no global GridFunction is allocated.
5267
5551
  """
5268
- def KSpaceCoeffs(arg0: GridFunction, arg1: GridFunction, arg2: float, arg3: float) -> None:
5552
+ def KSpaceCoeffs(arg0: GridFunction, arg1: GridFunction, arg2: typing.SupportsFloat, arg3: typing.SupportsFloat) -> None:
5269
5553
  ...
5270
5554
  def MatrixFreeOperator(arg0: FESpace, arg1: typing.Any) -> BaseMatrix:
5271
5555
  ...
@@ -5273,13 +5557,13 @@ def PatchwiseSolve(bf: SumOfIntegrals, lf: SumOfIntegrals, gf: GridFunction) ->
5273
5557
  ...
5274
5558
  def Prolongate(arg0: GridFunction, arg1: GridFunction) -> None:
5275
5559
  ...
5276
- def ProlongateCoefficientFunction(arg0: ngsolve.fem.CoefficientFunction, arg1: int, arg2: FESpace) -> ngsolve.fem.CoefficientFunction:
5560
+ def ProlongateCoefficientFunction(arg0: ngsolve.fem.CoefficientFunction, arg1: typing.SupportsInt, arg2: FESpace) -> ngsolve.fem.CoefficientFunction:
5277
5561
  ...
5278
5562
  def RegisterPreconditioner(name: str, makepre: typing.Any, docflags: dict = {}) -> None:
5279
5563
  """
5280
5564
  register creator-function makepre(BaseMatrix,FreeDofs)->BaseMatrix
5281
5565
  """
5282
- def SetHeapSize(size: int) -> None:
5566
+ def SetHeapSize(size: typing.SupportsInt) -> None:
5283
5567
  """
5284
5568
  Set a new heapsize.
5285
5569
 
@@ -5297,7 +5581,7 @@ def SetTestoutFile(file: str) -> None:
5297
5581
  file : string
5298
5582
  input file name
5299
5583
  """
5300
- def SymbolicBFI(form: ngsolve.fem.CoefficientFunction, VOL_or_BND: VorB = ..., element_boundary: bool = False, skeleton: bool = False, definedon: Region | list | None = None, intrule: ngsolve.fem.IntegrationRule = ..., bonus_intorder: int = 0, definedonelements: pyngcore.pyngcore.BitArray = None, simd_evaluate: bool = True, element_vb: VorB = ..., geom_free: bool = False, deformation: GridFunction = None) -> ngsolve.fem.BFI:
5584
+ def SymbolicBFI(form: ngsolve.fem.CoefficientFunction, VOL_or_BND: VorB = ..., element_boundary: bool = False, skeleton: bool = False, definedon: ngsolve.comp.Region | list | None = None, intrule: ngsolve.fem.IntegrationRule = ..., bonus_intorder: typing.SupportsInt = 0, definedonelements: pyngcore.pyngcore.BitArray = None, simd_evaluate: bool = True, element_vb: VorB = ..., geom_free: bool = False, deformation: GridFunction = None) -> ngsolve.fem.BFI:
5301
5585
  """
5302
5586
  A symbolic bilinear form integrator, where test and trial functions, CoefficientFunctions, etc. can be used to formulate PDEs in a symbolic way.
5303
5587
 
@@ -5336,7 +5620,7 @@ def SymbolicBFI(form: ngsolve.fem.CoefficientFunction, VOL_or_BND: VorB = ..., e
5336
5620
  deformation : ngsolve.comp.GridFunction
5337
5621
  input GridFunction to transform/deform the bilinear form with
5338
5622
  """
5339
- def SymbolicEnergy(form: ngsolve.fem.CoefficientFunction, VOL_or_BND: VorB = ..., definedon: typing.Any = ..., element_boundary: bool = False, bonus_intorder: int = 0, definedonelements: typing.Any = ..., simd_evaluate: bool = True, element_vb: VorB = ..., deformation: GridFunction = None) -> ngsolve.fem.BFI:
5623
+ def SymbolicEnergy(form: ngsolve.fem.CoefficientFunction, VOL_or_BND: VorB = ..., definedon: typing.Any = ..., element_boundary: bool = False, bonus_intorder: typing.SupportsInt = 0, definedonelements: typing.Any = ..., simd_evaluate: bool = True, element_vb: VorB = ..., deformation: GridFunction = None) -> ngsolve.fem.BFI:
5340
5624
  """
5341
5625
  A symbolic energy form integrator, where test and trial functions, CoefficientFunctions, etc. can be used to formulate PDEs in a symbolic way.
5342
5626
 
@@ -5369,7 +5653,7 @@ def SymbolicEnergy(form: ngsolve.fem.CoefficientFunction, VOL_or_BND: VorB = ...
5369
5653
  deformation : ngsolve.comp.GridFunction
5370
5654
  input GridFunction to transform/deform the bilinear form with
5371
5655
  """
5372
- def SymbolicLFI(form: ngsolve.fem.CoefficientFunction, VOL_or_BND: VorB = ..., element_boundary: bool = False, skeleton: bool = False, definedon: Region | list | None = None, intrule: ngsolve.fem.IntegrationRule = ..., bonus_intorder: int = 0, definedonelements: pyngcore.pyngcore.BitArray = None, simd_evaluate: bool = True, element_vb: VorB = ..., deformation: GridFunction = None) -> ngsolve.fem.LFI:
5656
+ def SymbolicLFI(form: ngsolve.fem.CoefficientFunction, VOL_or_BND: VorB = ..., element_boundary: bool = False, skeleton: bool = False, definedon: ngsolve.comp.Region | list | None = None, intrule: ngsolve.fem.IntegrationRule = ..., bonus_intorder: typing.SupportsInt = 0, definedonelements: pyngcore.pyngcore.BitArray = None, simd_evaluate: bool = True, element_vb: VorB = ..., deformation: GridFunction = None) -> ngsolve.fem.LFI:
5373
5657
  """
5374
5658
  A symbolic linear form integrator, where test and trial functions, CoefficientFunctions, etc. can be used to formulate right hand sides in a symbolic way.
5375
5659