ngsolve 6.2.2502__cp313-cp313-macosx_10_15_universal2.whl → 6.2.2503__cp313-cp313-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.
- netgen/include/fespace.hpp +3 -2
- netgen/include/intrules_SauterSchwab.hpp +25 -0
- netgen/include/mptools.hpp +80 -16
- netgen/include/potentialtools.hpp +20 -0
- netgen/include/prolongation.hpp +126 -3
- netgen/include/sparsematrix_impl.hpp +71 -5
- netgen/include/tangentialfacetfespace.hpp +7 -22
- netgen/libngbla.dylib +0 -0
- netgen/libngcomp.dylib +0 -0
- netgen/libngfem.dylib +0 -0
- netgen/libngla.dylib +0 -0
- netgen/libngsbem.dylib +0 -0
- netgen/libngsolve.dylib +0 -0
- netgen/libngstd.dylib +0 -0
- ngsolve/__init__.pyi +2 -2
- ngsolve/cmake/NGSolveConfig.cmake +5 -5
- ngsolve/cmake/ngsolve-targets-release.cmake +10 -0
- ngsolve/cmake/ngsolve-targets.cmake +9 -2
- ngsolve/comp/__init__.pyi +5 -1
- ngsolve/config/__init__.pyi +6 -6
- ngsolve/config/config.py +5 -5
- ngsolve/config/config.pyi +6 -6
- ngsolve/directsolvers.pyi +1 -1
- ngsolve/fem.pyi +1 -118
- ngsolve/krylovspace.pyi +3 -3
- ngsolve/ngslib.so +0 -0
- ngsolve/nonlinearsolvers.pyi +1 -1
- ngsolve/timestepping.pyi +3 -3
- ngsolve/timing.pyi +1 -1
- ngsolve/utils.pyi +2 -14
- {ngsolve-6.2.2502.dist-info → ngsolve-6.2.2503.dist-info}/METADATA +2 -2
- {ngsolve-6.2.2502.dist-info → ngsolve-6.2.2503.dist-info}/RECORD +68 -65
- {ngsolve-6.2.2502.data → ngsolve-6.2.2503.data}/data/Netgen.icns +0 -0
- {ngsolve-6.2.2502.data → ngsolve-6.2.2503.data}/data/bin/ngscxx +0 -0
- {ngsolve-6.2.2502.data → ngsolve-6.2.2503.data}/data/bin/ngsld +0 -0
- {ngsolve-6.2.2502.data → ngsolve-6.2.2503.data}/data/bin/ngsolve.tcl +0 -0
- {ngsolve-6.2.2502.data → ngsolve-6.2.2503.data}/data/bin/ngspy +0 -0
- {ngsolve-6.2.2502.data → ngsolve-6.2.2503.data}/data/share/ngsolve/beam.geo +0 -0
- {ngsolve-6.2.2502.data → ngsolve-6.2.2503.data}/data/share/ngsolve/beam.vol +0 -0
- {ngsolve-6.2.2502.data → ngsolve-6.2.2503.data}/data/share/ngsolve/chip.in2d +0 -0
- {ngsolve-6.2.2502.data → ngsolve-6.2.2503.data}/data/share/ngsolve/chip.vol +0 -0
- {ngsolve-6.2.2502.data → ngsolve-6.2.2503.data}/data/share/ngsolve/coil.geo +0 -0
- {ngsolve-6.2.2502.data → ngsolve-6.2.2503.data}/data/share/ngsolve/coil.vol +0 -0
- {ngsolve-6.2.2502.data → ngsolve-6.2.2503.data}/data/share/ngsolve/coilshield.geo +0 -0
- {ngsolve-6.2.2502.data → ngsolve-6.2.2503.data}/data/share/ngsolve/coilshield.vol +0 -0
- {ngsolve-6.2.2502.data → ngsolve-6.2.2503.data}/data/share/ngsolve/cube.geo +0 -0
- {ngsolve-6.2.2502.data → ngsolve-6.2.2503.data}/data/share/ngsolve/cube.vol +0 -0
- {ngsolve-6.2.2502.data → ngsolve-6.2.2503.data}/data/share/ngsolve/d10_DGdoubleglazing.pde +0 -0
- {ngsolve-6.2.2502.data → ngsolve-6.2.2503.data}/data/share/ngsolve/d11_chip_nitsche.pde +0 -0
- {ngsolve-6.2.2502.data → ngsolve-6.2.2503.data}/data/share/ngsolve/d1_square.pde +0 -0
- {ngsolve-6.2.2502.data → ngsolve-6.2.2503.data}/data/share/ngsolve/d2_chip.pde +0 -0
- {ngsolve-6.2.2502.data → ngsolve-6.2.2503.data}/data/share/ngsolve/d3_helmholtz.pde +0 -0
- {ngsolve-6.2.2502.data → ngsolve-6.2.2503.data}/data/share/ngsolve/d4_cube.pde +0 -0
- {ngsolve-6.2.2502.data → ngsolve-6.2.2503.data}/data/share/ngsolve/d5_beam.pde +0 -0
- {ngsolve-6.2.2502.data → ngsolve-6.2.2503.data}/data/share/ngsolve/d6_shaft.pde +0 -0
- {ngsolve-6.2.2502.data → ngsolve-6.2.2503.data}/data/share/ngsolve/d7_coil.pde +0 -0
- {ngsolve-6.2.2502.data → ngsolve-6.2.2503.data}/data/share/ngsolve/d8_coilshield.pde +0 -0
- {ngsolve-6.2.2502.data → ngsolve-6.2.2503.data}/data/share/ngsolve/d9_hybridDG.pde +0 -0
- {ngsolve-6.2.2502.data → ngsolve-6.2.2503.data}/data/share/ngsolve/doubleglazing.in2d +0 -0
- {ngsolve-6.2.2502.data → ngsolve-6.2.2503.data}/data/share/ngsolve/doubleglazing.vol +0 -0
- {ngsolve-6.2.2502.data → ngsolve-6.2.2503.data}/data/share/ngsolve/piezo2d40round4.vol.gz +0 -0
- {ngsolve-6.2.2502.data → ngsolve-6.2.2503.data}/data/share/ngsolve/shaft.geo +0 -0
- {ngsolve-6.2.2502.data → ngsolve-6.2.2503.data}/data/share/ngsolve/shaft.vol +0 -0
- {ngsolve-6.2.2502.data → ngsolve-6.2.2503.data}/data/share/ngsolve/square.in2d +0 -0
- {ngsolve-6.2.2502.data → ngsolve-6.2.2503.data}/data/share/ngsolve/square.vol +0 -0
- {ngsolve-6.2.2502.dist-info → ngsolve-6.2.2503.dist-info}/LICENSE +0 -0
- {ngsolve-6.2.2502.dist-info → ngsolve-6.2.2503.dist-info}/WHEEL +0 -0
- {ngsolve-6.2.2502.dist-info → ngsolve-6.2.2503.dist-info}/top_level.txt +0 -0
|
@@ -45,6 +45,16 @@ set_target_properties(ngfem PROPERTIES
|
|
|
45
45
|
list(APPEND _cmake_import_check_targets ngfem )
|
|
46
46
|
list(APPEND _cmake_import_check_files_for_ngfem "${_IMPORT_PREFIX}/netgen/libngfem.dylib" )
|
|
47
47
|
|
|
48
|
+
# Import target "ngsbem" for configuration "Release"
|
|
49
|
+
set_property(TARGET ngsbem APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
|
|
50
|
+
set_target_properties(ngsbem PROPERTIES
|
|
51
|
+
IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/netgen/libngsbem.dylib"
|
|
52
|
+
IMPORTED_SONAME_RELEASE "@rpath/libngsbem.dylib"
|
|
53
|
+
)
|
|
54
|
+
|
|
55
|
+
list(APPEND _cmake_import_check_targets ngsbem )
|
|
56
|
+
list(APPEND _cmake_import_check_files_for_ngsbem "${_IMPORT_PREFIX}/netgen/libngsbem.dylib" )
|
|
57
|
+
|
|
48
58
|
# Import target "ngcomp" for configuration "Release"
|
|
49
59
|
set_property(TARGET ngcomp APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
|
|
50
60
|
set_target_properties(ngcomp PROPERTIES
|
|
@@ -19,7 +19,7 @@ set(CMAKE_IMPORT_FILE_VERSION 1)
|
|
|
19
19
|
set(_cmake_targets_defined "")
|
|
20
20
|
set(_cmake_targets_not_defined "")
|
|
21
21
|
set(_cmake_expected_targets "")
|
|
22
|
-
foreach(_cmake_expected_target IN ITEMS netgen_libs ngs_lapack netgen_python ngstd ngbla ngla ngfem ngcomp ngsolve)
|
|
22
|
+
foreach(_cmake_expected_target IN ITEMS netgen_libs ngs_lapack netgen_python ngstd ngbla ngla ngfem ngsbem ngcomp ngsolve)
|
|
23
23
|
list(APPEND _cmake_expected_targets "${_cmake_expected_target}")
|
|
24
24
|
if(TARGET "${_cmake_expected_target}")
|
|
25
25
|
list(APPEND _cmake_targets_defined "${_cmake_expected_target}")
|
|
@@ -105,6 +105,13 @@ set_target_properties(ngfem PROPERTIES
|
|
|
105
105
|
INTERFACE_LINK_LIBRARIES "ngbla;ngstd"
|
|
106
106
|
)
|
|
107
107
|
|
|
108
|
+
# Create imported target ngsbem
|
|
109
|
+
add_library(ngsbem SHARED IMPORTED)
|
|
110
|
+
|
|
111
|
+
set_target_properties(ngsbem PROPERTIES
|
|
112
|
+
INTERFACE_LINK_LIBRARIES "ngcomp;ngfem;ngla;ngbla;ngstd"
|
|
113
|
+
)
|
|
114
|
+
|
|
108
115
|
# Create imported target ngcomp
|
|
109
116
|
add_library(ngcomp SHARED IMPORTED)
|
|
110
117
|
|
|
@@ -116,7 +123,7 @@ set_target_properties(ngcomp PROPERTIES
|
|
|
116
123
|
add_library(ngsolve SHARED IMPORTED)
|
|
117
124
|
|
|
118
125
|
set_target_properties(ngsolve PROPERTIES
|
|
119
|
-
INTERFACE_LINK_LIBRARIES "netgen_libs;ngsolve;ngcomp;ngfem;ngbla;ngla;ngstd"
|
|
126
|
+
INTERFACE_LINK_LIBRARIES "netgen_libs;ngsolve;ngcomp;ngfem;ngsbem;ngbla;ngla;ngstd"
|
|
120
127
|
)
|
|
121
128
|
|
|
122
129
|
if(CMAKE_VERSION VERSION_LESS 3.0.0)
|
ngsolve/comp/__init__.pyi
CHANGED
|
@@ -938,7 +938,7 @@ class FESpace(NGS_Object):
|
|
|
938
938
|
region : ngsolve.comp.Region
|
|
939
939
|
input region
|
|
940
940
|
"""
|
|
941
|
-
def SetHarmonicProlongation(self,
|
|
941
|
+
def SetHarmonicProlongation(self, bf: ..., inverse: str = 'sparsecholesky') -> None:
|
|
942
942
|
"""
|
|
943
943
|
use harmonic prolongation w.r.t. bilinear-form
|
|
944
944
|
"""
|
|
@@ -3107,6 +3107,10 @@ class MultiGridPreconditioner(Preconditioner):
|
|
|
3107
3107
|
'block': Block smoother
|
|
3108
3108
|
coarsetype: string = direct
|
|
3109
3109
|
How to solve coarse problem.
|
|
3110
|
+
cycle: int = 1
|
|
3111
|
+
multigrid cycle (0 only smoothing, 1..V-cycle, 2..W-cycle.
|
|
3112
|
+
smoothingsteps: int = 1
|
|
3113
|
+
number of (pre and post-)smoothing steps
|
|
3110
3114
|
coarsesmoothingsteps: int = 1
|
|
3111
3115
|
If coarsetype is smoothing, then how many smoothingsteps will be done.
|
|
3112
3116
|
updatealways: bool = False
|
ngsolve/config/__init__.pyi
CHANGED
|
@@ -24,13 +24,13 @@ NGSOLVE_INSTALL_DIR_INCLUDE: str = 'netgen/include'
|
|
|
24
24
|
NGSOLVE_INSTALL_DIR_LIB: str = 'netgen'
|
|
25
25
|
NGSOLVE_INSTALL_DIR_PYTHON: str = '.'
|
|
26
26
|
NGSOLVE_INSTALL_DIR_RES: str = 'share'
|
|
27
|
-
NGSOLVE_VERSION: str = '6.2.
|
|
28
|
-
NGSOLVE_VERSION_GIT: str = 'v6.2.
|
|
29
|
-
NGSOLVE_VERSION_HASH: str = '
|
|
27
|
+
NGSOLVE_VERSION: str = '6.2.2503'
|
|
28
|
+
NGSOLVE_VERSION_GIT: str = 'v6.2.2503-0-ga44fe5348'
|
|
29
|
+
NGSOLVE_VERSION_HASH: str = 'ga44fe5348'
|
|
30
30
|
NGSOLVE_VERSION_MAJOR: str = '6'
|
|
31
31
|
NGSOLVE_VERSION_MINOR: str = '2'
|
|
32
|
-
NGSOLVE_VERSION_PATCH: str = '
|
|
33
|
-
NGSOLVE_VERSION_PYTHON: str = '6.2.
|
|
32
|
+
NGSOLVE_VERSION_PATCH: str = '2503'
|
|
33
|
+
NGSOLVE_VERSION_PYTHON: str = '6.2.2503'
|
|
34
34
|
NGSOLVE_VERSION_TWEAK: str = '0'
|
|
35
35
|
USE_CCACHE: bool = True
|
|
36
36
|
USE_HYPRE: bool = False
|
|
@@ -40,4 +40,4 @@ USE_MUMPS: bool = False
|
|
|
40
40
|
USE_PARDISO: bool = False
|
|
41
41
|
USE_UMFPACK: bool = True
|
|
42
42
|
is_python_package: bool = True
|
|
43
|
-
version: str = 'v6.2.
|
|
43
|
+
version: str = 'v6.2.2503-0-ga44fe5348'
|
ngsolve/config/config.py
CHANGED
|
@@ -29,15 +29,15 @@ NGSOLVE_INSTALL_DIR_INCLUDE = "netgen/include"
|
|
|
29
29
|
NGSOLVE_INSTALL_DIR_CMAKE = "ngsolve/cmake"
|
|
30
30
|
NGSOLVE_INSTALL_DIR_RES = "share"
|
|
31
31
|
|
|
32
|
-
NGSOLVE_VERSION = "6.2.
|
|
33
|
-
NGSOLVE_VERSION_GIT = "v6.2.
|
|
34
|
-
NGSOLVE_VERSION_PYTHON = "6.2.
|
|
32
|
+
NGSOLVE_VERSION = "6.2.2503"
|
|
33
|
+
NGSOLVE_VERSION_GIT = "v6.2.2503-0-ga44fe5348"
|
|
34
|
+
NGSOLVE_VERSION_PYTHON = "6.2.2503"
|
|
35
35
|
|
|
36
36
|
NGSOLVE_VERSION_MAJOR = "6"
|
|
37
37
|
NGSOLVE_VERSION_MINOR = "2"
|
|
38
38
|
NGSOLVE_VERSION_TWEAK = "0"
|
|
39
|
-
NGSOLVE_VERSION_PATCH = "
|
|
40
|
-
NGSOLVE_VERSION_HASH = "
|
|
39
|
+
NGSOLVE_VERSION_PATCH = "2503"
|
|
40
|
+
NGSOLVE_VERSION_HASH = "ga44fe5348"
|
|
41
41
|
|
|
42
42
|
CMAKE_CXX_COMPILER = "/Library/Developer/CommandLineTools/usr/bin/c++"
|
|
43
43
|
CMAKE_CUDA_COMPILER = ""
|
ngsolve/config/config.pyi
CHANGED
|
@@ -26,13 +26,13 @@ NGSOLVE_INSTALL_DIR_INCLUDE: str = 'netgen/include'
|
|
|
26
26
|
NGSOLVE_INSTALL_DIR_LIB: str = 'netgen'
|
|
27
27
|
NGSOLVE_INSTALL_DIR_PYTHON: str = '.'
|
|
28
28
|
NGSOLVE_INSTALL_DIR_RES: str = 'share'
|
|
29
|
-
NGSOLVE_VERSION: str = '6.2.
|
|
30
|
-
NGSOLVE_VERSION_GIT: str = 'v6.2.
|
|
31
|
-
NGSOLVE_VERSION_HASH: str = '
|
|
29
|
+
NGSOLVE_VERSION: str = '6.2.2503'
|
|
30
|
+
NGSOLVE_VERSION_GIT: str = 'v6.2.2503-0-ga44fe5348'
|
|
31
|
+
NGSOLVE_VERSION_HASH: str = 'ga44fe5348'
|
|
32
32
|
NGSOLVE_VERSION_MAJOR: str = '6'
|
|
33
33
|
NGSOLVE_VERSION_MINOR: str = '2'
|
|
34
|
-
NGSOLVE_VERSION_PATCH: str = '
|
|
35
|
-
NGSOLVE_VERSION_PYTHON: str = '6.2.
|
|
34
|
+
NGSOLVE_VERSION_PATCH: str = '2503'
|
|
35
|
+
NGSOLVE_VERSION_PYTHON: str = '6.2.2503'
|
|
36
36
|
NGSOLVE_VERSION_TWEAK: str = '0'
|
|
37
37
|
USE_CCACHE: bool = True
|
|
38
38
|
USE_HYPRE: bool = False
|
|
@@ -42,4 +42,4 @@ USE_MUMPS: bool = False
|
|
|
42
42
|
USE_PARDISO: bool = False
|
|
43
43
|
USE_UMFPACK: bool = True
|
|
44
44
|
is_python_package: bool = True
|
|
45
|
-
version: str = 'v6.2.
|
|
45
|
+
version: str = 'v6.2.2503-0-ga44fe5348'
|
ngsolve/directsolvers.pyi
CHANGED
|
@@ -9,7 +9,7 @@ import typing
|
|
|
9
9
|
__all__ = ['BaseMatrix', 'BaseVector', 'BilinearForm', 'BitArray', 'SuperLU']
|
|
10
10
|
class SuperLU(ngsolve.la.BaseMatrix):
|
|
11
11
|
__firstlineno__: typing.ClassVar[int] = 3
|
|
12
|
-
__static_attributes__: typing.ClassVar[tuple] = ('lu', '
|
|
12
|
+
__static_attributes__: typing.ClassVar[tuple] = ('lu', 'fd', 'freedofs', 'a')
|
|
13
13
|
def Mult(self, x: ngsolve.la.BaseVector, y: ngsolve.la.BaseVector):
|
|
14
14
|
...
|
|
15
15
|
def Update(self):
|
ngsolve/fem.pyi
CHANGED
|
@@ -8,7 +8,7 @@ import numpy
|
|
|
8
8
|
import os
|
|
9
9
|
import pyngcore.pyngcore
|
|
10
10
|
import typing
|
|
11
|
-
__all__ = ['BFI', 'BSpline', 'BSpline2D', 'BaseMappedIntegrationPoint', '
|
|
11
|
+
__all__ = ['BFI', 'BSpline', 'BSpline2D', 'BaseMappedIntegrationPoint', 'BlockBFI', 'BlockLFI', 'CELL', 'CacheCF', 'CoefficientFunction', 'Cof', 'CompilePythonModule', 'CompoundBFI', 'CompoundLFI', 'Conj', 'CoordCF', 'CoordinateTrafo', 'Cross', 'Det', 'DifferentialOperator', 'EDGE', 'ELEMENT', 'ET', 'Einsum', 'ElementTopology', 'ElementTransformation', 'FACE', 'FACET', 'FiniteElement', 'GenerateL2ElementCode', 'H1FE', 'HCurlFE', 'HDivDivFE', 'HDivFE', 'HEX', 'Id', 'IfPos', 'IntegrationPoint', 'IntegrationRule', 'Inv', 'L2FE', 'LFI', 'LeviCivitaSymbol', 'LoggingCF', 'MeshPoint', 'MinimizationCF', 'MixedFE', 'NODE_TYPE', 'NewtonCF', 'POINT', 'PRISM', 'PYRAMID', 'Parameter', 'ParameterC', 'PlaceholderCF', 'PointEvaluationFunctional', 'QUAD', 'SEGM', 'ScalarFE', 'SetPMLParameters', 'Skew', 'SpecialCFCreator', 'Sym', 'TET', 'TRIG', 'Trace', 'VERTEX', 'VoxelCoefficient', 'Zero', 'acos', 'asin', 'atan', 'atan2', 'ceil', 'cos', 'cosh', 'erf', 'exp', 'floor', 'log', 'pow', 'sin', 'sinh', 'specialcf', 'sqrt', 'tan']
|
|
12
12
|
class BFI:
|
|
13
13
|
"""
|
|
14
14
|
|
|
@@ -242,23 +242,6 @@ class BaseMappedIntegrationPoint:
|
|
|
242
242
|
"""
|
|
243
243
|
Transformation of the mapped integration point
|
|
244
244
|
"""
|
|
245
|
-
class BiotSavartCF(CoefficientFunction):
|
|
246
|
-
def AddCurrent(self, sp: ngsolve.bla.Vec3D, ep: ngsolve.bla.Vec3D, j: complex, num: int = 100) -> None:
|
|
247
|
-
...
|
|
248
|
-
def __init__(self, order: int, kappa: float, center: ngsolve.bla.Vec3D, scale: float = 1.0) -> None:
|
|
249
|
-
...
|
|
250
|
-
class BiotSavartRegularMLCF(CoefficientFunction):
|
|
251
|
-
def __init__(self, mp: BiotSavartSingularMLCF, center: ngsolve.bla.Vec3D, r: float, order: int = -1) -> None:
|
|
252
|
-
...
|
|
253
|
-
@property
|
|
254
|
-
def mlmp(self) -> ...:
|
|
255
|
-
...
|
|
256
|
-
class BiotSavartSingularMLCF(CoefficientFunction):
|
|
257
|
-
def __init__(self, center: ngsolve.bla.Vec3D, r: float, order: int = -1, kappa: float) -> None:
|
|
258
|
-
...
|
|
259
|
-
@property
|
|
260
|
-
def mlmp(self) -> SingularMLMP3:
|
|
261
|
-
...
|
|
262
245
|
class CoefficientFunction:
|
|
263
246
|
"""
|
|
264
247
|
A CoefficientFunction (CF) is some function defined on a mesh.
|
|
@@ -993,31 +976,6 @@ class PlaceholderCF(CoefficientFunction):
|
|
|
993
976
|
class PointEvaluationFunctional:
|
|
994
977
|
def Assemble(self) -> ngsolve.bla.SparseVector:
|
|
995
978
|
...
|
|
996
|
-
class RegularMLMP:
|
|
997
|
-
def Norm(self) -> float:
|
|
998
|
-
...
|
|
999
|
-
def Print(self) -> None:
|
|
1000
|
-
...
|
|
1001
|
-
def __str__(self) -> str:
|
|
1002
|
-
...
|
|
1003
|
-
class RegularMLMultiPoleCF(CoefficientFunction):
|
|
1004
|
-
def __init__(self, mp: SingularMLMultiPoleCF, center: ngsolve.bla.Vec3D, r: float, order: int = -1) -> None:
|
|
1005
|
-
...
|
|
1006
|
-
@property
|
|
1007
|
-
def mlmp(self) -> RegularMLMP:
|
|
1008
|
-
...
|
|
1009
|
-
class RegularMultiPoleCF(CoefficientFunction):
|
|
1010
|
-
def ShiftZ(self, arg0: float, arg1: RegularMultiPoleCF) -> None:
|
|
1011
|
-
...
|
|
1012
|
-
def Spectrum(self, scaled: bool) -> ngsolve.bla.VectorD:
|
|
1013
|
-
...
|
|
1014
|
-
def Transform(self, arg0: RegularMultiPoleCF) -> None:
|
|
1015
|
-
...
|
|
1016
|
-
def __init__(self, order: int, kappa: float, center: ngsolve.bla.Vec3D, scale: float = 1.0) -> None:
|
|
1017
|
-
...
|
|
1018
|
-
@property
|
|
1019
|
-
def sh(self) -> Sphericalharmonics:
|
|
1020
|
-
...
|
|
1021
979
|
class ScalarFE(FiniteElement):
|
|
1022
980
|
"""
|
|
1023
981
|
a scalar-valued finite element
|
|
@@ -1070,58 +1028,6 @@ class ScalarFE(FiniteElement):
|
|
|
1070
1028
|
mip : ngsolve.BaseMappedIntegrationPoint
|
|
1071
1029
|
input mapped integration point
|
|
1072
1030
|
"""
|
|
1073
|
-
class SingularMLMP:
|
|
1074
|
-
def AddCharge(self, arg0: ngsolve.bla.Vec3D, arg1: complex) -> None:
|
|
1075
|
-
...
|
|
1076
|
-
def AddDipole(self, arg0: ngsolve.bla.Vec3D, arg1: ngsolve.bla.Vec3D, arg2: complex) -> None:
|
|
1077
|
-
...
|
|
1078
|
-
def Calc(self) -> None:
|
|
1079
|
-
...
|
|
1080
|
-
def Norm(self) -> float:
|
|
1081
|
-
...
|
|
1082
|
-
def Print(self) -> None:
|
|
1083
|
-
...
|
|
1084
|
-
def __init__(self, arg0: ngsolve.bla.Vec3D, arg1: float, arg2: int, arg3: float) -> None:
|
|
1085
|
-
...
|
|
1086
|
-
def __str__(self) -> str:
|
|
1087
|
-
...
|
|
1088
|
-
class SingularMLMP3:
|
|
1089
|
-
def AddCurrent(self, sp: ngsolve.bla.Vec3D, ep: ngsolve.bla.Vec3D, j: complex, num: int = 100) -> None:
|
|
1090
|
-
...
|
|
1091
|
-
def Calc(self) -> None:
|
|
1092
|
-
...
|
|
1093
|
-
def __init__(self, arg0: ngsolve.bla.Vec3D, arg1: float, arg2: int, arg3: float) -> None:
|
|
1094
|
-
...
|
|
1095
|
-
class SingularMLMultiPoleCF(CoefficientFunction):
|
|
1096
|
-
def __init__(self, center: ngsolve.bla.Vec3D, r: float, order: int = -1, kappa: float) -> None:
|
|
1097
|
-
...
|
|
1098
|
-
@property
|
|
1099
|
-
def mlmp(self) -> SingularMLMP:
|
|
1100
|
-
...
|
|
1101
|
-
class SingularMultiPoleCF(CoefficientFunction):
|
|
1102
|
-
def AddCharge(self, arg0: ngsolve.bla.Vec3D, arg1: complex) -> None:
|
|
1103
|
-
...
|
|
1104
|
-
def AddDipole(self, arg0: ngsolve.bla.Vec3D, arg1: ngsolve.bla.Vec3D, arg2: complex) -> None:
|
|
1105
|
-
...
|
|
1106
|
-
@typing.overload
|
|
1107
|
-
def ShiftZ(self, arg0: float, arg1: RegularMultiPoleCF) -> None:
|
|
1108
|
-
...
|
|
1109
|
-
@typing.overload
|
|
1110
|
-
def ShiftZ(self, arg0: float, arg1: SingularMultiPoleCF) -> None:
|
|
1111
|
-
...
|
|
1112
|
-
def Spectrum(self, scaled: bool) -> ngsolve.bla.VectorD:
|
|
1113
|
-
...
|
|
1114
|
-
@typing.overload
|
|
1115
|
-
def Transform(self, arg0: RegularMultiPoleCF) -> None:
|
|
1116
|
-
...
|
|
1117
|
-
@typing.overload
|
|
1118
|
-
def Transform(self, arg0: SingularMultiPoleCF) -> None:
|
|
1119
|
-
...
|
|
1120
|
-
def __init__(self, order: int, kappa: float, center: ngsolve.bla.Vec3D, scale: float = 1.0) -> None:
|
|
1121
|
-
...
|
|
1122
|
-
@property
|
|
1123
|
-
def sh(self) -> Sphericalharmonics:
|
|
1124
|
-
...
|
|
1125
1031
|
class SpecialCFCreator:
|
|
1126
1032
|
def EdgeCurvature(self, dim: int) -> ...:
|
|
1127
1033
|
"""
|
|
@@ -1184,29 +1090,6 @@ class SpecialCFCreator:
|
|
|
1184
1090
|
"""
|
|
1185
1091
|
local mesh-size (approximate element diameter) as CF
|
|
1186
1092
|
"""
|
|
1187
|
-
class SphericalHarmonicsCF(CoefficientFunction):
|
|
1188
|
-
def __init__(self, arg0: int) -> None:
|
|
1189
|
-
...
|
|
1190
|
-
@property
|
|
1191
|
-
def sh(self) -> Sphericalharmonics:
|
|
1192
|
-
...
|
|
1193
|
-
class Sphericalharmonics:
|
|
1194
|
-
def RotateY(self, arg0: float) -> None:
|
|
1195
|
-
...
|
|
1196
|
-
def RotateZ(self, arg0: float) -> None:
|
|
1197
|
-
...
|
|
1198
|
-
def __getitem__(self, arg0: tuple[int, int]) -> complex:
|
|
1199
|
-
...
|
|
1200
|
-
def __setitem__(self, arg0: tuple[int, int], arg1: complex) -> None:
|
|
1201
|
-
...
|
|
1202
|
-
@property
|
|
1203
|
-
def coefs(self) -> ngsolve.bla.FlatVectorC:
|
|
1204
|
-
"""
|
|
1205
|
-
coefficient vector
|
|
1206
|
-
"""
|
|
1207
|
-
@property
|
|
1208
|
-
def order(self) -> int:
|
|
1209
|
-
...
|
|
1210
1093
|
def BlockBFI(bfi: BFI = 0, dim: int = 2, comp: int = 0) -> ...:
|
|
1211
1094
|
"""
|
|
1212
1095
|
Block Bilinear Form Integrator
|
ngsolve/krylovspace.pyi
CHANGED
|
@@ -35,7 +35,7 @@ class CGSolver(LinearSolver):
|
|
|
35
35
|
...
|
|
36
36
|
class GMResSolver(LinearSolver):
|
|
37
37
|
__firstlineno__: typing.ClassVar[int] = 740
|
|
38
|
-
__static_attributes__: typing.ClassVar[tuple] = ('norm', 'innerproduct', '
|
|
38
|
+
__static_attributes__: typing.ClassVar[tuple] = ('norm', 'innerproduct', 'iterations', 'restart')
|
|
39
39
|
name: typing.ClassVar[str] = 'GMRes'
|
|
40
40
|
def _SolveImpl(self, rhs: ngsolve.la.BaseVector, sol: ngsolve.la.BaseVector):
|
|
41
41
|
...
|
|
@@ -43,7 +43,7 @@ class GMResSolver(LinearSolver):
|
|
|
43
43
|
...
|
|
44
44
|
class LinearSolver(ngsolve.la.BaseMatrix):
|
|
45
45
|
__firstlineno__: typing.ClassVar[int] = 50
|
|
46
|
-
__static_attributes__: typing.ClassVar[tuple] = ('
|
|
46
|
+
__static_attributes__: typing.ClassVar[tuple] = ('callback', 'ax', 'mat', 'tol', 'fig', 'residuals', 'atol', 'plotrates', 'pre', 'maxiter', 'printrates', 'callback_sol', 'sol', '_final_residual', 'iterations', 'its', 'ress', 'plt', 'display', 'clear_output')
|
|
47
47
|
name: typing.ClassVar[str] = 'LinearSolver'
|
|
48
48
|
@staticmethod
|
|
49
49
|
def Solve(*args, **kwargs):
|
|
@@ -73,7 +73,7 @@ class MinResSolver(LinearSolver):
|
|
|
73
73
|
...
|
|
74
74
|
class QMRSolver(LinearSolver):
|
|
75
75
|
__firstlineno__: typing.ClassVar[int] = 295
|
|
76
|
-
__static_attributes__: typing.ClassVar[tuple] = ('
|
|
76
|
+
__static_attributes__: typing.ClassVar[tuple] = ('ep', 'pre2')
|
|
77
77
|
name: typing.ClassVar[str] = 'QMR'
|
|
78
78
|
def _SolveImpl(self, rhs: ngsolve.la.BaseVector, sol: ngsolve.la.BaseVector):
|
|
79
79
|
...
|
ngsolve/ngslib.so
CHANGED
|
Binary file
|
ngsolve/nonlinearsolvers.pyi
CHANGED
|
@@ -8,7 +8,7 @@ import typing
|
|
|
8
8
|
__all__ = ['InnerProduct', 'Newton', 'NewtonMinimization', 'NewtonSolver', 'Norm', 'Projector', 'TimeFunction', 'sqrt']
|
|
9
9
|
class NewtonSolver:
|
|
10
10
|
__firstlineno__: typing.ClassVar[int] = 6
|
|
11
|
-
__static_attributes__: typing.ClassVar[tuple] = ('
|
|
11
|
+
__static_attributes__: typing.ClassVar[tuple] = ('u', 'r', 'inv', 'uh', 'lin_solver_cls', 'lin_solver_args', 'freedofs', 'a', 'inverse', 'w', 'rhs')
|
|
12
12
|
@staticmethod
|
|
13
13
|
def Solve(*args, **kwargs):
|
|
14
14
|
...
|
ngsolve/timestepping.pyi
CHANGED
|
@@ -7,7 +7,7 @@ import typing
|
|
|
7
7
|
__all__ = ['CrankNicolson', 'ImplicitEuler', 'Newmark', 'ngs']
|
|
8
8
|
class CrankNicolson:
|
|
9
9
|
__firstlineno__: typing.ClassVar[int] = 129
|
|
10
|
-
__static_attributes__: typing.ClassVar[tuple] = ('
|
|
10
|
+
__static_attributes__: typing.ClassVar[tuple] = ('dt', '_lin_solver_args', 'c', 'gfu_old', '_lin_solver_cls', 'bfmstar', 'time')
|
|
11
11
|
def Integrate(self, u_start: ngsolve.comp.GridFunction, end_time: float, start_time: typing.Optional[float] = None, newton_args: typing.Optional[dict] = None, callback: typing.Optional[typing.Callable] = None):
|
|
12
12
|
...
|
|
13
13
|
def Step(self, u: ngsolve.comp.GridFunction, dt: typing.Optional[float] = None, newton_args: typing.Optional[dict] = None):
|
|
@@ -16,7 +16,7 @@ class CrankNicolson:
|
|
|
16
16
|
...
|
|
17
17
|
class ImplicitEuler:
|
|
18
18
|
__firstlineno__: typing.ClassVar[int] = 5
|
|
19
|
-
__static_attributes__: typing.ClassVar[tuple] = ('
|
|
19
|
+
__static_attributes__: typing.ClassVar[tuple] = ('dt', '_lin_solver_args', 'c', 'gfu_old', '_lin_solver_cls', 'bfmstar', 'time')
|
|
20
20
|
def Integrate(self, u_start: ngsolve.comp.GridFunction, end_time: float, start_time: typing.Optional[float] = None, newton_args: typing.Optional[dict] = None, callback: typing.Optional[typing.Callable] = None):
|
|
21
21
|
...
|
|
22
22
|
def Step(self, u: ngsolve.comp.GridFunction, dt: typing.Optional[float] = None, newton_args: typing.Optional[dict] = None):
|
|
@@ -25,7 +25,7 @@ class ImplicitEuler:
|
|
|
25
25
|
...
|
|
26
26
|
class Newmark:
|
|
27
27
|
__firstlineno__: typing.ClassVar[int] = 58
|
|
28
|
-
__static_attributes__: typing.ClassVar[tuple] = ('
|
|
28
|
+
__static_attributes__: typing.ClassVar[tuple] = ('dt', '_lin_solver_args', 'gfa_old', 'gfv_old', 'c', 'gfu_old', '_lin_solver_cls', 'bfmstar', 'time')
|
|
29
29
|
def Integrate(self, u: ngsolve.comp.GridFunction, end_time: float, v: typing.Optional[ngsolve.comp.GridFunction] = None, a: typing.Optional[ngsolve.comp.GridFunction] = None, start_time: typing.Optional[float] = None, newton_args: typing.Optional[dict] = None, callback: typing.Optional[typing.Callable] = None):
|
|
30
30
|
...
|
|
31
31
|
def Step(self, u: ngsolve.comp.GridFunction, v: ngsolve.comp.GridFunction, a: ngsolve.comp.GridFunction, dt: typing.Optional[float] = None, newton_args: typing.Optional[dict] = None):
|
ngsolve/timing.pyi
CHANGED
|
@@ -32,7 +32,7 @@ class Timing:
|
|
|
32
32
|
|
|
33
33
|
"""
|
|
34
34
|
__firstlineno__: typing.ClassVar[int] = 5
|
|
35
|
-
__static_attributes__: typing.ClassVar[tuple] = ('name', '
|
|
35
|
+
__static_attributes__: typing.ClassVar[tuple] = ('name', 'timings_par', 'timings')
|
|
36
36
|
def CompareTo(self, folder):
|
|
37
37
|
"""
|
|
38
38
|
|
ngsolve/utils.pyi
CHANGED
|
@@ -47,8 +47,8 @@ from ngsolve.comp import HDiv
|
|
|
47
47
|
from ngsolve.comp import HDivDiv
|
|
48
48
|
from ngsolve.comp import HDivDivSurface
|
|
49
49
|
from ngsolve.comp import HDivSurface
|
|
50
|
-
from ngsolve.comp import Hidden as PrivateSpace
|
|
51
50
|
from ngsolve.comp import Hidden
|
|
51
|
+
from ngsolve.comp import Hidden as PrivateSpace
|
|
52
52
|
from ngsolve.comp import Integral
|
|
53
53
|
from ngsolve.comp import Integrate
|
|
54
54
|
from ngsolve.comp import IntegrationRuleSpace
|
|
@@ -126,9 +126,6 @@ from ngsolve.fem import BFI
|
|
|
126
126
|
from ngsolve.fem import BSpline
|
|
127
127
|
from ngsolve.fem import BSpline2D
|
|
128
128
|
from ngsolve.fem import BaseMappedIntegrationPoint
|
|
129
|
-
from ngsolve.fem import BiotSavartCF
|
|
130
|
-
from ngsolve.fem import BiotSavartRegularMLCF
|
|
131
|
-
from ngsolve.fem import BiotSavartSingularMLCF
|
|
132
129
|
from ngsolve.fem import BlockBFI
|
|
133
130
|
from ngsolve.fem import BlockLFI
|
|
134
131
|
from ngsolve.fem import CacheCF
|
|
@@ -171,19 +168,10 @@ from ngsolve.fem import Parameter
|
|
|
171
168
|
from ngsolve.fem import ParameterC
|
|
172
169
|
from ngsolve.fem import PlaceholderCF
|
|
173
170
|
from ngsolve.fem import PointEvaluationFunctional
|
|
174
|
-
from ngsolve.fem import RegularMLMP
|
|
175
|
-
from ngsolve.fem import RegularMLMultiPoleCF
|
|
176
|
-
from ngsolve.fem import RegularMultiPoleCF
|
|
177
171
|
from ngsolve.fem import ScalarFE
|
|
178
172
|
from ngsolve.fem import SetPMLParameters
|
|
179
|
-
from ngsolve.fem import SingularMLMP
|
|
180
|
-
from ngsolve.fem import SingularMLMP3
|
|
181
|
-
from ngsolve.fem import SingularMLMultiPoleCF
|
|
182
|
-
from ngsolve.fem import SingularMultiPoleCF
|
|
183
173
|
from ngsolve.fem import Skew
|
|
184
174
|
from ngsolve.fem import SpecialCFCreator
|
|
185
|
-
from ngsolve.fem import SphericalHarmonicsCF
|
|
186
|
-
from ngsolve.fem import Sphericalharmonics
|
|
187
175
|
from ngsolve.fem import Sym
|
|
188
176
|
from ngsolve.fem import Trace
|
|
189
177
|
from ngsolve.fem import VoxelCoefficient
|
|
@@ -206,7 +194,7 @@ from ngsolve.fem import sqrt
|
|
|
206
194
|
from ngsolve.fem import tan
|
|
207
195
|
from ngsolve.ngstd import IntRange
|
|
208
196
|
from pyngcore.pyngcore import Timer
|
|
209
|
-
__all__ = ['APhiHCurlAMG', 'Array_N6ngcomp13COUPLING_TYPEE_S', 'BBBND', 'BBND', 'BDDCPreconditioner', 'BDDCPreconditioner_complex', 'BDDCPreconditioner_double', 'BFI', 'BND', 'BSpline', 'BSpline2D', 'BaseMappedIntegrationPoint', 'BilinearForm', '
|
|
197
|
+
__all__ = ['APhiHCurlAMG', 'Array_N6ngcomp13COUPLING_TYPEE_S', 'BBBND', 'BBND', 'BDDCPreconditioner', 'BDDCPreconditioner_complex', 'BDDCPreconditioner_double', 'BFI', 'BND', 'BSpline', 'BSpline2D', 'BaseMappedIntegrationPoint', 'BilinearForm', 'BlockBFI', 'BlockLFI', 'BndElementId', 'BoundaryFromVolumeCF', 'CELL', 'COUPLING_TYPE', 'CacheCF', 'CoefficientFunction', 'Cof', 'CompilePythonModule', 'ComponentGridFunction', 'CompoundBFI', 'CompoundLFI', 'Compress', 'CompressCompound', 'Conj', 'ConstantCF', 'ContactBoundary', 'ConvertOperator', 'CoordCF', 'CoordinateTrafo', 'Cross', 'Det', 'Deviator', 'DifferentialOperator', 'DifferentialSymbol', 'Discontinuous', 'DomainConstantCF', 'DualProxyFunction', 'EDGE', 'ELEMENT', 'ET', 'Einsum', 'ElementId', 'ElementRange', 'ElementTopology', 'ElementTransformation', 'FACE', 'FACET', 'FESpace', 'FESpaceElement', 'FESpaceElementRange', 'FacetFESpace', 'FacetSurface', 'FiniteElement', 'FlatArray_N6ngcomp13COUPLING_TYPEE_S', 'FromArchiveCF', 'FromArchiveFESpace', 'FromArchiveMesh', 'GenerateL2ElementCode', 'GlobalInterfaceSpace', 'GlobalSpace', 'GlobalVariables', 'Grad', 'GridFunction', 'GridFunctionC', 'GridFunctionCoefficientFunction', 'GridFunctionD', 'H1', 'H1FE', 'H1LumpingFESpace', 'HCurl', 'HCurlAMG', 'HCurlCurl', 'HCurlDiv', 'HCurlFE', 'HDiv', 'HDivDiv', 'HDivDivFE', 'HDivDivSurface', 'HDivFE', 'HDivSurface', 'HEX', 'Hidden', 'Id', 'IfPos', 'IntRange', 'Integral', 'Integrate', 'IntegrationPoint', 'IntegrationRule', 'IntegrationRuleSpace', 'IntegrationRuleSpaceSurface', 'Interpolate', 'InterpolateProxy', 'Inv', 'KSpaceCoeffs', 'L2', 'L2FE', 'LFI', 'Laplace', 'LeviCivitaSymbol', 'LinearForm', 'LocalPreconditioner', 'LoggingCF', 'Mass', 'MatrixFreeOperator', 'MatrixValued', 'Mesh', 'MeshNode', 'MeshNodeRange', 'MeshPoint', 'MinimizationCF', 'MixedFE', 'MultiGridPreconditioner', 'NGS_Object', 'NODE_TYPE', 'Neumann', 'NewtonCF', 'Ngs_Element', 'NodalFESpace', 'NodeId', 'NodeRange', 'Norm', 'NormalFacetFESpace', 'NormalFacetSurface', 'Normalize', 'NumberSpace', 'ORDER_POLICY', 'OuterProduct', 'POINT', 'PRISM', 'PYRAMID', 'Parameter', 'ParameterC', 'PatchwiseSolve', 'Periodic', 'PlaceholderCF', 'PlateauFESpace', 'PointEvaluationFunctional', 'Preconditioner', 'PrivateSpace', 'ProductSpace', 'Prolongate', 'ProlongateCoefficientFunction', 'Prolongation', 'ProxyFunction', 'PyCof', 'PyCross', 'PyDet', 'PyId', 'PyInv', 'PySkew', 'PySym', 'PyTrace', 'QUAD', 'QuasiPeriodicC', 'QuasiPeriodicD', 'Region', 'RegisterPreconditioner', 'Reorder', 'SEGM', 'ScalarFE', 'SetHeapSize', 'SetPMLParameters', 'SetTestoutFile', 'Skew', 'Source', 'SpecialCFCreator', 'SumOfIntegrals', 'SurfaceL2', 'Sym', 'SymbolTable_D', 'SymbolTable_sp_D', 'SymbolTable_sp_N5ngfem19CoefficientFunctionE', 'SymbolTable_sp_N6ngcomp10LinearFormE', 'SymbolTable_sp_N6ngcomp12BilinearFormE', 'SymbolTable_sp_N6ngcomp12GridFunctionE', 'SymbolTable_sp_N6ngcomp14PreconditionerE', 'SymbolTable_sp_N6ngcomp7FESpaceE', 'SymbolicBFI', 'SymbolicEnergy', 'SymbolicLFI', 'SymbolicTPBFI', 'TET', 'TRIG', 'TangentialFacetFESpace', 'TangentialSurfaceL2', 'TensorProductFESpace', 'TensorProductIntegrate', 'TimeFunction', 'Timer', 'ToArchive', 'Trace', 'Transfer2StdMesh', 'VERTEX', 'VOL', 'VTKOutput', 'Variation', 'VectorFacet', 'VectorFacetFESpace', 'VectorFacetSurface', 'VectorH1', 'VectorL2', 'VectorNodalFESpace', 'VectorSurfaceL2', 'VectorValued', 'VorB', 'VoxelCoefficient', 'Zero', 'acos', 'asin', 'atan', 'atan2', 'ceil', 'cos', 'cosh', 'curl', 'div', 'ds', 'dt', 'dx', 'erf', 'exp', 'floor', 'grad', 'log', 'ngsglobals', 'pml', 'pow', 'printonce', 'sin', 'sinh', 'specialcf', 'sqrt', 'tan', 'x', 'y', 'z']
|
|
210
198
|
def ConstantCF(val):
|
|
211
199
|
...
|
|
212
200
|
def Deviator(mat):
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: ngsolve
|
|
3
|
-
Version: 6.2.
|
|
3
|
+
Version: 6.2.2503
|
|
4
4
|
Summary: NGSolve
|
|
5
5
|
Author: The NGSolve team
|
|
6
6
|
License: LGPL2.1
|
|
7
7
|
License-File: LICENSE
|
|
8
|
-
Requires-Dist: netgen-mesher==6.2.
|
|
8
|
+
Requires-Dist: netgen-mesher==6.2.2503
|
|
9
9
|
|