ngsolve 6.2.2501.post82.dev1__cp313-cp313-macosx_10_15_universal2.whl → 6.2.2502__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/facetfespace.hpp +2 -0
- netgen/include/fespace.hpp +2 -1
- netgen/include/mptools.hpp +305 -84
- netgen/include/ngblas.hpp +14 -0
- netgen/include/prolongation.hpp +20 -1
- netgen/include/python_ngstd.hpp +1 -0
- netgen/include/sparsecholesky.hpp +1 -1
- netgen/include/tensor.hpp +1 -1
- netgen/libngbla.dylib +0 -0
- netgen/libngcomp.dylib +0 -0
- netgen/libngfem.dylib +0 -0
- netgen/libngla.dylib +0 -0
- netgen/libngstd.dylib +0 -0
- ngsolve/__init__.pyi +2 -2
- ngsolve/cmake/NGSolveConfig.cmake +1 -1
- ngsolve/comp/__init__.pyi +4 -0
- ngsolve/config/__init__.pyi +7 -7
- ngsolve/config/config.py +6 -6
- ngsolve/config/config.pyi +7 -7
- ngsolve/directsolvers.pyi +1 -1
- ngsolve/fem.pyi +29 -1
- ngsolve/krylovspace.pyi +2 -2
- ngsolve/nonlinearsolvers.pyi +1 -1
- ngsolve/timestepping.pyi +3 -3
- ngsolve/timing.pyi +1 -1
- ngsolve/utils.pyi +5 -1
- {ngsolve-6.2.2501.post82.dev1.dist-info → ngsolve-6.2.2502.dist-info}/METADATA +1 -1
- {ngsolve-6.2.2501.post82.dev1.dist-info → ngsolve-6.2.2502.dist-info}/RECORD +64 -64
- {ngsolve-6.2.2501.post82.dev1.data → ngsolve-6.2.2502.data}/data/Netgen.icns +0 -0
- {ngsolve-6.2.2501.post82.dev1.data → ngsolve-6.2.2502.data}/data/bin/ngscxx +0 -0
- {ngsolve-6.2.2501.post82.dev1.data → ngsolve-6.2.2502.data}/data/bin/ngsld +0 -0
- {ngsolve-6.2.2501.post82.dev1.data → ngsolve-6.2.2502.data}/data/bin/ngsolve.tcl +0 -0
- {ngsolve-6.2.2501.post82.dev1.data → ngsolve-6.2.2502.data}/data/bin/ngspy +0 -0
- {ngsolve-6.2.2501.post82.dev1.data → ngsolve-6.2.2502.data}/data/share/ngsolve/beam.geo +0 -0
- {ngsolve-6.2.2501.post82.dev1.data → ngsolve-6.2.2502.data}/data/share/ngsolve/beam.vol +0 -0
- {ngsolve-6.2.2501.post82.dev1.data → ngsolve-6.2.2502.data}/data/share/ngsolve/chip.in2d +0 -0
- {ngsolve-6.2.2501.post82.dev1.data → ngsolve-6.2.2502.data}/data/share/ngsolve/chip.vol +0 -0
- {ngsolve-6.2.2501.post82.dev1.data → ngsolve-6.2.2502.data}/data/share/ngsolve/coil.geo +0 -0
- {ngsolve-6.2.2501.post82.dev1.data → ngsolve-6.2.2502.data}/data/share/ngsolve/coil.vol +0 -0
- {ngsolve-6.2.2501.post82.dev1.data → ngsolve-6.2.2502.data}/data/share/ngsolve/coilshield.geo +0 -0
- {ngsolve-6.2.2501.post82.dev1.data → ngsolve-6.2.2502.data}/data/share/ngsolve/coilshield.vol +0 -0
- {ngsolve-6.2.2501.post82.dev1.data → ngsolve-6.2.2502.data}/data/share/ngsolve/cube.geo +0 -0
- {ngsolve-6.2.2501.post82.dev1.data → ngsolve-6.2.2502.data}/data/share/ngsolve/cube.vol +0 -0
- {ngsolve-6.2.2501.post82.dev1.data → ngsolve-6.2.2502.data}/data/share/ngsolve/d10_DGdoubleglazing.pde +0 -0
- {ngsolve-6.2.2501.post82.dev1.data → ngsolve-6.2.2502.data}/data/share/ngsolve/d11_chip_nitsche.pde +0 -0
- {ngsolve-6.2.2501.post82.dev1.data → ngsolve-6.2.2502.data}/data/share/ngsolve/d1_square.pde +0 -0
- {ngsolve-6.2.2501.post82.dev1.data → ngsolve-6.2.2502.data}/data/share/ngsolve/d2_chip.pde +0 -0
- {ngsolve-6.2.2501.post82.dev1.data → ngsolve-6.2.2502.data}/data/share/ngsolve/d3_helmholtz.pde +0 -0
- {ngsolve-6.2.2501.post82.dev1.data → ngsolve-6.2.2502.data}/data/share/ngsolve/d4_cube.pde +0 -0
- {ngsolve-6.2.2501.post82.dev1.data → ngsolve-6.2.2502.data}/data/share/ngsolve/d5_beam.pde +0 -0
- {ngsolve-6.2.2501.post82.dev1.data → ngsolve-6.2.2502.data}/data/share/ngsolve/d6_shaft.pde +0 -0
- {ngsolve-6.2.2501.post82.dev1.data → ngsolve-6.2.2502.data}/data/share/ngsolve/d7_coil.pde +0 -0
- {ngsolve-6.2.2501.post82.dev1.data → ngsolve-6.2.2502.data}/data/share/ngsolve/d8_coilshield.pde +0 -0
- {ngsolve-6.2.2501.post82.dev1.data → ngsolve-6.2.2502.data}/data/share/ngsolve/d9_hybridDG.pde +0 -0
- {ngsolve-6.2.2501.post82.dev1.data → ngsolve-6.2.2502.data}/data/share/ngsolve/doubleglazing.in2d +0 -0
- {ngsolve-6.2.2501.post82.dev1.data → ngsolve-6.2.2502.data}/data/share/ngsolve/doubleglazing.vol +0 -0
- {ngsolve-6.2.2501.post82.dev1.data → ngsolve-6.2.2502.data}/data/share/ngsolve/piezo2d40round4.vol.gz +0 -0
- {ngsolve-6.2.2501.post82.dev1.data → ngsolve-6.2.2502.data}/data/share/ngsolve/shaft.geo +0 -0
- {ngsolve-6.2.2501.post82.dev1.data → ngsolve-6.2.2502.data}/data/share/ngsolve/shaft.vol +0 -0
- {ngsolve-6.2.2501.post82.dev1.data → ngsolve-6.2.2502.data}/data/share/ngsolve/square.in2d +0 -0
- {ngsolve-6.2.2501.post82.dev1.data → ngsolve-6.2.2502.data}/data/share/ngsolve/square.vol +0 -0
- {ngsolve-6.2.2501.post82.dev1.dist-info → ngsolve-6.2.2502.dist-info}/LICENSE +0 -0
- {ngsolve-6.2.2501.post82.dev1.dist-info → ngsolve-6.2.2502.dist-info}/WHEEL +0 -0
- {ngsolve-6.2.2501.post82.dev1.dist-info → ngsolve-6.2.2502.dist-info}/top_level.txt +0 -0
netgen/include/ngblas.hpp
CHANGED
|
@@ -655,6 +655,20 @@ namespace ngbla
|
|
|
655
655
|
template <bool ADD, ORDERING ord>
|
|
656
656
|
extern NGS_DLL_HEADER
|
|
657
657
|
void NgGEMV (Complex s, BareSliceMatrix<double,ord> a, FlatVector<const Complex> x, FlatVector<Complex> y) NETGEN_NOEXCEPT;
|
|
658
|
+
|
|
659
|
+
|
|
660
|
+
|
|
661
|
+
template <bool ADD, ORDERING ord, int S>
|
|
662
|
+
void NgGEMV (Complex s, BareSliceMatrix<double,ord> a, SliceVector<Vec<S,Complex>> x, SliceVector<Vec<S,Complex>> y) NETGEN_NOEXCEPT
|
|
663
|
+
{
|
|
664
|
+
SliceMatrix<Complex> mx(x.Size(), S, S*x.Dist(), x.Data()->Data());
|
|
665
|
+
SliceMatrix<Complex> my(y.Size(), S, S*y.Dist(), y.Data()->Data());
|
|
666
|
+
if constexpr (ADD)
|
|
667
|
+
my += s * a.AddSize(y.Size(), x.Size()) * mx;
|
|
668
|
+
else
|
|
669
|
+
my = s * a.AddSize(y.Size(), x.Size()) * mx;
|
|
670
|
+
}
|
|
671
|
+
|
|
658
672
|
|
|
659
673
|
|
|
660
674
|
template <bool ADD, ORDERING ord>
|
netgen/include/prolongation.hpp
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/*********************************************************************/
|
|
9
9
|
|
|
10
10
|
namespace ngcomp { class NedelecFESpace; }
|
|
11
|
-
|
|
11
|
+
namespace ngla { class SparseFactorization; }
|
|
12
12
|
namespace ngmg
|
|
13
13
|
{
|
|
14
14
|
|
|
@@ -229,6 +229,25 @@ namespace ngmg
|
|
|
229
229
|
///
|
|
230
230
|
virtual void RestrictInline (int finelevel, BaseVector & v) const override;
|
|
231
231
|
};
|
|
232
|
+
|
|
233
|
+
class NGS_DLL_HEADER HarmonicProlongation : public Prolongation
|
|
234
|
+
{
|
|
235
|
+
shared_ptr<Prolongation> baseprol;
|
|
236
|
+
shared_ptr<BilinearForm> bfa;
|
|
237
|
+
Array<shared_ptr<BaseMatrix>> innerinverses;
|
|
238
|
+
Array<size_t> edges_on_level;
|
|
239
|
+
public:
|
|
240
|
+
HarmonicProlongation (shared_ptr<Prolongation> abaseprol,
|
|
241
|
+
shared_ptr<BilinearForm> abfa);
|
|
242
|
+
|
|
243
|
+
virtual void Update (const FESpace & fes) override;
|
|
244
|
+
|
|
245
|
+
virtual size_t GetNDofLevel (int level) override { return baseprol->GetNDofLevel(level); }
|
|
246
|
+
|
|
247
|
+
virtual shared_ptr<SparseMatrix< double >> CreateProlongationMatrix( int finelevel ) const override;
|
|
248
|
+
virtual void ProlongateInline (int finelevel, BaseVector & v) const override;
|
|
249
|
+
virtual void RestrictInline (int finelevel, BaseVector & v) const override;
|
|
250
|
+
};
|
|
232
251
|
}
|
|
233
252
|
|
|
234
253
|
|
netgen/include/python_ngstd.hpp
CHANGED
|
@@ -34,7 +34,7 @@ namespace ngla
|
|
|
34
34
|
|
|
35
35
|
void DoArchive(Archive& ar) override;
|
|
36
36
|
|
|
37
|
-
virtual bool IsComplex() const override { return matrix.lock()->IsComplex(); }
|
|
37
|
+
// virtual bool IsComplex() const override { return matrix.lock()->IsComplex(); }
|
|
38
38
|
|
|
39
39
|
virtual void Smooth (BaseVector & u, const BaseVector & f, BaseVector & y) const;
|
|
40
40
|
|
netgen/include/tensor.hpp
CHANGED
netgen/libngbla.dylib
CHANGED
|
Binary file
|
netgen/libngcomp.dylib
CHANGED
|
Binary file
|
netgen/libngfem.dylib
CHANGED
|
Binary file
|
netgen/libngla.dylib
CHANGED
|
Binary file
|
netgen/libngstd.dylib
CHANGED
|
Binary file
|
ngsolve/__init__.pyi
CHANGED
|
@@ -88,8 +88,8 @@ from ngsolve.fem import BSpline
|
|
|
88
88
|
from ngsolve.fem import BlockBFI
|
|
89
89
|
from ngsolve.fem import BlockLFI
|
|
90
90
|
from ngsolve.fem import CacheCF
|
|
91
|
-
from ngsolve.fem import CoefficientFunction
|
|
92
91
|
from ngsolve.fem import CoefficientFunction as CF
|
|
92
|
+
from ngsolve.fem import CoefficientFunction
|
|
93
93
|
from ngsolve.fem import Cof
|
|
94
94
|
from ngsolve.fem import CompoundBFI
|
|
95
95
|
from ngsolve.fem import CompoundLFI
|
|
@@ -217,7 +217,7 @@ TET: fem.ET # value = <ET.TET: 20>
|
|
|
217
217
|
TRIG: fem.ET # value = <ET.TRIG: 10>
|
|
218
218
|
VERTEX: fem.NODE_TYPE # value = <NODE_TYPE.VERTEX: 0>
|
|
219
219
|
VOL: comp.VorB # value = <VorB.VOL: 0>
|
|
220
|
-
__version__: str = '6.2.
|
|
220
|
+
__version__: str = '6.2.2502'
|
|
221
221
|
ds: comp.DifferentialSymbol # value = <ngsolve.comp.DifferentialSymbol object>
|
|
222
222
|
dx: comp.DifferentialSymbol # value = <ngsolve.comp.DifferentialSymbol object>
|
|
223
223
|
ngsglobals: comp.GlobalVariables # value = <ngsolve.comp.GlobalVariables object>
|
ngsolve/comp/__init__.pyi
CHANGED
|
@@ -938,6 +938,10 @@ class FESpace(NGS_Object):
|
|
|
938
938
|
region : ngsolve.comp.Region
|
|
939
939
|
input region
|
|
940
940
|
"""
|
|
941
|
+
def SetHarmonicProlongation(self, arg0: ...) -> None:
|
|
942
|
+
"""
|
|
943
|
+
use harmonic prolongation w.r.t. bilinear-form
|
|
944
|
+
"""
|
|
941
945
|
@typing.overload
|
|
942
946
|
def SetOrder(self, element_type: ngsolve.fem.ET, order: int) -> None:
|
|
943
947
|
"""
|
ngsolve/config/__init__.pyi
CHANGED
|
@@ -24,14 +24,14 @@ 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.2502'
|
|
28
|
+
NGSOLVE_VERSION_GIT: str = 'v6.2.2502-0-g984bf8ae2'
|
|
29
|
+
NGSOLVE_VERSION_HASH: str = 'g984bf8ae2'
|
|
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.
|
|
34
|
-
NGSOLVE_VERSION_TWEAK: str = '
|
|
32
|
+
NGSOLVE_VERSION_PATCH: str = '2502'
|
|
33
|
+
NGSOLVE_VERSION_PYTHON: str = '6.2.2502'
|
|
34
|
+
NGSOLVE_VERSION_TWEAK: str = '0'
|
|
35
35
|
USE_CCACHE: bool = True
|
|
36
36
|
USE_HYPRE: bool = False
|
|
37
37
|
USE_LAPACK: bool = True
|
|
@@ -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.2502-0-g984bf8ae2'
|
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.2502"
|
|
33
|
+
NGSOLVE_VERSION_GIT = "v6.2.2502-0-g984bf8ae2"
|
|
34
|
+
NGSOLVE_VERSION_PYTHON = "6.2.2502"
|
|
35
35
|
|
|
36
36
|
NGSOLVE_VERSION_MAJOR = "6"
|
|
37
37
|
NGSOLVE_VERSION_MINOR = "2"
|
|
38
|
-
NGSOLVE_VERSION_TWEAK = "
|
|
39
|
-
NGSOLVE_VERSION_PATCH = "
|
|
40
|
-
NGSOLVE_VERSION_HASH = "
|
|
38
|
+
NGSOLVE_VERSION_TWEAK = "0"
|
|
39
|
+
NGSOLVE_VERSION_PATCH = "2502"
|
|
40
|
+
NGSOLVE_VERSION_HASH = "g984bf8ae2"
|
|
41
41
|
|
|
42
42
|
CMAKE_CXX_COMPILER = "/Library/Developer/CommandLineTools/usr/bin/c++"
|
|
43
43
|
CMAKE_CUDA_COMPILER = ""
|
ngsolve/config/config.pyi
CHANGED
|
@@ -26,14 +26,14 @@ 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.2502'
|
|
30
|
+
NGSOLVE_VERSION_GIT: str = 'v6.2.2502-0-g984bf8ae2'
|
|
31
|
+
NGSOLVE_VERSION_HASH: str = 'g984bf8ae2'
|
|
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.
|
|
36
|
-
NGSOLVE_VERSION_TWEAK: str = '
|
|
34
|
+
NGSOLVE_VERSION_PATCH: str = '2502'
|
|
35
|
+
NGSOLVE_VERSION_PYTHON: str = '6.2.2502'
|
|
36
|
+
NGSOLVE_VERSION_TWEAK: str = '0'
|
|
37
37
|
USE_CCACHE: bool = True
|
|
38
38
|
USE_HYPRE: bool = False
|
|
39
39
|
USE_LAPACK: bool = True
|
|
@@ -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.2502-0-g984bf8ae2'
|
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', 'freedofs', 'a', 'fd')
|
|
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', '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', 'RegularMLMP', 'RegularMLMultiPoleCF', 'RegularMultiPoleCF', 'SEGM', 'ScalarFE', 'SetPMLParameters', 'SingularMLMP', 'SingularMLMultiPoleCF', 'SingularMultiPoleCF', 'Skew', 'SpecialCFCreator', 'SphericalHarmonicsCF', 'Sphericalharmonics', 'Sym', 'TET', 'TRIG', 'Trace', 'VERTEX', 'VoxelCoefficient', 'Zero', 'acos', 'asin', 'atan', 'atan2', 'ceil', 'cos', 'cosh', 'erf', 'exp', 'floor', 'log', 'pow', 'sin', 'sinh', 'specialcf', 'sqrt', 'tan']
|
|
11
|
+
__all__ = ['BFI', 'BSpline', 'BSpline2D', 'BaseMappedIntegrationPoint', 'BiotSavartCF', 'BiotSavartRegularMLCF', 'BiotSavartSingularMLCF', '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', 'RegularMLMP', 'RegularMLMultiPoleCF', 'RegularMultiPoleCF', 'SEGM', 'ScalarFE', 'SetPMLParameters', 'SingularMLMP', 'SingularMLMP3', 'SingularMLMultiPoleCF', 'SingularMultiPoleCF', 'Skew', 'SpecialCFCreator', 'SphericalHarmonicsCF', 'Sphericalharmonics', '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,6 +242,23 @@ 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
|
+
...
|
|
245
262
|
class CoefficientFunction:
|
|
246
263
|
"""
|
|
247
264
|
A CoefficientFunction (CF) is some function defined on a mesh.
|
|
@@ -979,6 +996,8 @@ class PointEvaluationFunctional:
|
|
|
979
996
|
class RegularMLMP:
|
|
980
997
|
def Norm(self) -> float:
|
|
981
998
|
...
|
|
999
|
+
def Print(self) -> None:
|
|
1000
|
+
...
|
|
982
1001
|
def __str__(self) -> str:
|
|
983
1002
|
...
|
|
984
1003
|
class RegularMLMultiPoleCF(CoefficientFunction):
|
|
@@ -1060,10 +1079,19 @@ class SingularMLMP:
|
|
|
1060
1079
|
...
|
|
1061
1080
|
def Norm(self) -> float:
|
|
1062
1081
|
...
|
|
1082
|
+
def Print(self) -> None:
|
|
1083
|
+
...
|
|
1063
1084
|
def __init__(self, arg0: ngsolve.bla.Vec3D, arg1: float, arg2: int, arg3: float) -> None:
|
|
1064
1085
|
...
|
|
1065
1086
|
def __str__(self) -> str:
|
|
1066
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
|
+
...
|
|
1067
1095
|
class SingularMLMultiPoleCF(CoefficientFunction):
|
|
1068
1096
|
def __init__(self, center: ngsolve.bla.Vec3D, r: float, order: int = -1, kappa: float) -> None:
|
|
1069
1097
|
...
|
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] = ('
|
|
38
|
+
__static_attributes__: typing.ClassVar[tuple] = ('norm', 'innerproduct', 'restart', 'iterations')
|
|
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] = ('maxiter', 'mat', 'atol', 'callback', 'printrates', 'tol', 'ress', 'ax', 'display', 'its', 'plotrates', 'residuals', 'plt', 'iterations', 'fig', 'callback_sol', 'pre', '_final_residual', 'clear_output', 'sol')
|
|
47
47
|
name: typing.ClassVar[str] = 'LinearSolver'
|
|
48
48
|
@staticmethod
|
|
49
49
|
def Solve(*args, **kwargs):
|
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] = ('w', 'inv', 'u', 'lin_solver_args', 'uh', 'a', 'lin_solver_cls', 'freedofs', 'r', 'inverse', '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] = ('time', '_lin_solver_cls', 'bfmstar', 'dt', '_lin_solver_args', 'gfu_old', 'c')
|
|
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] = ('time', '_lin_solver_cls', 'bfmstar', 'dt', '_lin_solver_args', 'gfu_old', 'c')
|
|
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] = ('time', '_lin_solver_cls', 'bfmstar', 'dt', 'gfv_old', '_lin_solver_args', 'gfu_old', 'gfa_old', 'c')
|
|
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] = ('
|
|
35
|
+
__static_attributes__: typing.ClassVar[tuple] = ('name', 'timings', 'timings_par')
|
|
36
36
|
def CompareTo(self, folder):
|
|
37
37
|
"""
|
|
38
38
|
|
ngsolve/utils.pyi
CHANGED
|
@@ -126,6 +126,9 @@ 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
|
|
129
132
|
from ngsolve.fem import BlockBFI
|
|
130
133
|
from ngsolve.fem import BlockLFI
|
|
131
134
|
from ngsolve.fem import CacheCF
|
|
@@ -174,6 +177,7 @@ from ngsolve.fem import RegularMultiPoleCF
|
|
|
174
177
|
from ngsolve.fem import ScalarFE
|
|
175
178
|
from ngsolve.fem import SetPMLParameters
|
|
176
179
|
from ngsolve.fem import SingularMLMP
|
|
180
|
+
from ngsolve.fem import SingularMLMP3
|
|
177
181
|
from ngsolve.fem import SingularMLMultiPoleCF
|
|
178
182
|
from ngsolve.fem import SingularMultiPoleCF
|
|
179
183
|
from ngsolve.fem import Skew
|
|
@@ -202,7 +206,7 @@ from ngsolve.fem import sqrt
|
|
|
202
206
|
from ngsolve.fem import tan
|
|
203
207
|
from ngsolve.ngstd import IntRange
|
|
204
208
|
from pyngcore.pyngcore import Timer
|
|
205
|
-
__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', 'RegularMLMP', 'RegularMLMultiPoleCF', 'RegularMultiPoleCF', 'Reorder', 'SEGM', 'ScalarFE', 'SetHeapSize', 'SetPMLParameters', 'SetTestoutFile', 'SingularMLMP', 'SingularMLMultiPoleCF', 'SingularMultiPoleCF', 'Skew', 'Source', 'SpecialCFCreator', 'SphericalHarmonicsCF', 'Sphericalharmonics', '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']
|
|
209
|
+
__all__ = ['APhiHCurlAMG', 'Array_N6ngcomp13COUPLING_TYPEE_S', 'BBBND', 'BBND', 'BDDCPreconditioner', 'BDDCPreconditioner_complex', 'BDDCPreconditioner_double', 'BFI', 'BND', 'BSpline', 'BSpline2D', 'BaseMappedIntegrationPoint', 'BilinearForm', 'BiotSavartCF', 'BiotSavartRegularMLCF', 'BiotSavartSingularMLCF', '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', 'RegularMLMP', 'RegularMLMultiPoleCF', 'RegularMultiPoleCF', 'Reorder', 'SEGM', 'ScalarFE', 'SetHeapSize', 'SetPMLParameters', 'SetTestoutFile', 'SingularMLMP', 'SingularMLMP3', 'SingularMLMultiPoleCF', 'SingularMultiPoleCF', 'Skew', 'Source', 'SpecialCFCreator', 'SphericalHarmonicsCF', 'Sphericalharmonics', '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']
|
|
206
210
|
def ConstantCF(val):
|
|
207
211
|
...
|
|
208
212
|
def Deviator(mat):
|