ngsolve 6.2.2504__cp313-cp313-macosx_10_15_universal2.whl → 6.2.2504.post44.dev0__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/blockjacobi.hpp +17 -5
- netgen/include/cholesky.hpp +2 -2
- netgen/include/h1amg.hpp +62 -2
- netgen/include/hdiv_equations.hpp +15 -0
- netgen/include/intrule.hpp +2 -1
- netgen/include/jacobi.hpp +35 -18
- netgen/include/meshaccess.hpp +3 -2
- netgen/include/potentialtools.hpp +2 -0
- netgen/include/preconditioner.hpp +21 -21
- netgen/include/sparsematrix_dyn.hpp +6 -7
- netgen/include/sparsematrix_impl.hpp +4 -2
- netgen/include/special_matrix.hpp +2 -0
- netgen/include/symbolicintegrator.hpp +1 -1
- 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/libngstd.dylib +0 -0
- ngsolve/__init__.pyi +3 -3
- ngsolve/cmake/NGSolveConfig.cmake +5 -5
- ngsolve/cmake/ngsolve-targets.cmake +1 -8
- ngsolve/comp/__init__.pyi +49 -20
- 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 -1
- ngsolve/krylovspace.pyi +2 -2
- ngsolve/la.pyi +2 -2
- ngsolve/nonlinearsolvers.pyi +1 -1
- ngsolve/preconditioners.py +1 -0
- ngsolve/preconditioners.pyi +2 -1
- ngsolve/solve_implementation.py +11 -2
- ngsolve/solve_implementation.pyi +4 -4
- ngsolve/timestepping.pyi +3 -3
- ngsolve/timing.pyi +1 -1
- ngsolve/utils.pyi +3 -2
- ngsolve/webgui.py +1 -0
- {ngsolve-6.2.2504.dist-info → ngsolve-6.2.2504.post44.dev0.dist-info}/METADATA +2 -2
- {ngsolve-6.2.2504.dist-info → ngsolve-6.2.2504.post44.dev0.dist-info}/RECORD +77 -77
- {ngsolve-6.2.2504.data → ngsolve-6.2.2504.post44.dev0.data}/data/Netgen.icns +0 -0
- {ngsolve-6.2.2504.data → ngsolve-6.2.2504.post44.dev0.data}/data/bin/ngscxx +0 -0
- {ngsolve-6.2.2504.data → ngsolve-6.2.2504.post44.dev0.data}/data/bin/ngsld +0 -0
- {ngsolve-6.2.2504.data → ngsolve-6.2.2504.post44.dev0.data}/data/bin/ngsolve.tcl +0 -0
- {ngsolve-6.2.2504.data → ngsolve-6.2.2504.post44.dev0.data}/data/bin/ngspy +0 -0
- {ngsolve-6.2.2504.data → ngsolve-6.2.2504.post44.dev0.data}/data/share/ngsolve/beam.geo +0 -0
- {ngsolve-6.2.2504.data → ngsolve-6.2.2504.post44.dev0.data}/data/share/ngsolve/beam.vol +0 -0
- {ngsolve-6.2.2504.data → ngsolve-6.2.2504.post44.dev0.data}/data/share/ngsolve/chip.in2d +0 -0
- {ngsolve-6.2.2504.data → ngsolve-6.2.2504.post44.dev0.data}/data/share/ngsolve/chip.vol +0 -0
- {ngsolve-6.2.2504.data → ngsolve-6.2.2504.post44.dev0.data}/data/share/ngsolve/coil.geo +0 -0
- {ngsolve-6.2.2504.data → ngsolve-6.2.2504.post44.dev0.data}/data/share/ngsolve/coil.vol +0 -0
- {ngsolve-6.2.2504.data → ngsolve-6.2.2504.post44.dev0.data}/data/share/ngsolve/coilshield.geo +0 -0
- {ngsolve-6.2.2504.data → ngsolve-6.2.2504.post44.dev0.data}/data/share/ngsolve/coilshield.vol +0 -0
- {ngsolve-6.2.2504.data → ngsolve-6.2.2504.post44.dev0.data}/data/share/ngsolve/cube.geo +0 -0
- {ngsolve-6.2.2504.data → ngsolve-6.2.2504.post44.dev0.data}/data/share/ngsolve/cube.vol +0 -0
- {ngsolve-6.2.2504.data → ngsolve-6.2.2504.post44.dev0.data}/data/share/ngsolve/d10_DGdoubleglazing.pde +0 -0
- {ngsolve-6.2.2504.data → ngsolve-6.2.2504.post44.dev0.data}/data/share/ngsolve/d11_chip_nitsche.pde +0 -0
- {ngsolve-6.2.2504.data → ngsolve-6.2.2504.post44.dev0.data}/data/share/ngsolve/d1_square.pde +0 -0
- {ngsolve-6.2.2504.data → ngsolve-6.2.2504.post44.dev0.data}/data/share/ngsolve/d2_chip.pde +0 -0
- {ngsolve-6.2.2504.data → ngsolve-6.2.2504.post44.dev0.data}/data/share/ngsolve/d3_helmholtz.pde +0 -0
- {ngsolve-6.2.2504.data → ngsolve-6.2.2504.post44.dev0.data}/data/share/ngsolve/d4_cube.pde +0 -0
- {ngsolve-6.2.2504.data → ngsolve-6.2.2504.post44.dev0.data}/data/share/ngsolve/d5_beam.pde +0 -0
- {ngsolve-6.2.2504.data → ngsolve-6.2.2504.post44.dev0.data}/data/share/ngsolve/d6_shaft.pde +0 -0
- {ngsolve-6.2.2504.data → ngsolve-6.2.2504.post44.dev0.data}/data/share/ngsolve/d7_coil.pde +0 -0
- {ngsolve-6.2.2504.data → ngsolve-6.2.2504.post44.dev0.data}/data/share/ngsolve/d8_coilshield.pde +0 -0
- {ngsolve-6.2.2504.data → ngsolve-6.2.2504.post44.dev0.data}/data/share/ngsolve/d9_hybridDG.pde +0 -0
- {ngsolve-6.2.2504.data → ngsolve-6.2.2504.post44.dev0.data}/data/share/ngsolve/doubleglazing.in2d +0 -0
- {ngsolve-6.2.2504.data → ngsolve-6.2.2504.post44.dev0.data}/data/share/ngsolve/doubleglazing.vol +0 -0
- {ngsolve-6.2.2504.data → ngsolve-6.2.2504.post44.dev0.data}/data/share/ngsolve/piezo2d40round4.vol.gz +0 -0
- {ngsolve-6.2.2504.data → ngsolve-6.2.2504.post44.dev0.data}/data/share/ngsolve/shaft.geo +0 -0
- {ngsolve-6.2.2504.data → ngsolve-6.2.2504.post44.dev0.data}/data/share/ngsolve/shaft.vol +0 -0
- {ngsolve-6.2.2504.data → ngsolve-6.2.2504.post44.dev0.data}/data/share/ngsolve/square.in2d +0 -0
- {ngsolve-6.2.2504.data → ngsolve-6.2.2504.post44.dev0.data}/data/share/ngsolve/square.vol +0 -0
- {ngsolve-6.2.2504.dist-info → ngsolve-6.2.2504.post44.dev0.dist-info}/LICENSE +0 -0
- {ngsolve-6.2.2504.dist-info → ngsolve-6.2.2504.post44.dev0.dist-info}/WHEEL +0 -0
- {ngsolve-6.2.2504.dist-info → ngsolve-6.2.2504.post44.dev0.dist-info}/top_level.txt +0 -0
ngsolve/comp/__init__.pyi
CHANGED
|
@@ -12,20 +12,26 @@ import numpy
|
|
|
12
12
|
import pyngcore.pyngcore
|
|
13
13
|
import typing
|
|
14
14
|
from . import pml
|
|
15
|
-
__all__ = ['APhiHCurlAMG', 'Array_N6ngcomp13COUPLING_TYPEE_S', 'BBBND', 'BBND', 'BDDCPreconditioner', 'BDDCPreconditioner_complex', 'BDDCPreconditioner_double', 'BND', 'BilinearForm', 'BndElementId', 'BoundaryFromVolumeCF', 'COUPLING_TYPE', 'ComponentGridFunction', 'Compress', 'CompressCompound', 'ContactBoundary', 'ConvertOperator', 'DifferentialSymbol', 'Discontinuous', 'DualProxyFunction', 'ElementId', 'ElementRange', 'FESpace', 'FESpaceElement', 'FESpaceElementRange', 'FacetFESpace', 'FacetSurface', 'FlatArray_N6ngcomp13COUPLING_TYPEE_S', 'FromArchiveCF', 'FromArchiveFESpace', 'FromArchiveMesh', 'GlobalInterfaceSpace', 'GlobalSpace', 'GlobalVariables', 'GridFunction', 'GridFunctionC', 'GridFunctionCoefficientFunction', 'GridFunctionD', 'H1', 'H1LumpingFESpace', 'HCurl', 'HCurlAMG', 'HCurlCurl', 'HCurlDiv', 'HDiv', 'HDivDiv', 'HDivDivSurface', 'HDivSurface', 'Hidden', 'Integral', 'Integrate', 'IntegrationRuleSpace', 'IntegrationRuleSpaceSurface', 'Interpolate', 'InterpolateProxy', 'KSpaceCoeffs', 'L2', 'LinearForm', 'LocalPreconditioner', 'MatrixFreeOperator', 'MatrixValued', 'Mesh', 'MeshNode', 'MeshNodeRange', 'MultiGridPreconditioner', 'NGS_Object', 'Ngs_Element', 'NodalFESpace', 'NodeId', 'NodeRange', 'NormalFacetFESpace', 'NormalFacetSurface', 'NumberSpace', 'ORDER_POLICY', 'PatchwiseSolve', 'Periodic', 'PlateauFESpace', 'Preconditioner', 'ProductSpace', 'Prolongate', 'ProlongateCoefficientFunction', 'Prolongation', 'ProxyFunction', 'QuasiPeriodicC', 'QuasiPeriodicD', 'Region', 'RegisterPreconditioner', 'Reorder', 'SetHeapSize', 'SetTestoutFile', 'SumOfIntegrals', 'SurfaceL2', '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', 'TangentialFacetFESpace', 'TangentialSurfaceL2', 'TensorProductFESpace', 'TensorProductIntegrate', 'ToArchive', 'Transfer2StdMesh', 'VOL', 'VTKOutput', 'Variation', 'VectorFacetFESpace', 'VectorFacetSurface', 'VectorH1', 'VectorL2', 'VectorNodalFESpace', 'VectorSurfaceL2', 'VectorValued', 'VorB', 'ngsglobals', 'pml']
|
|
15
|
+
__all__ = ['APhiHCurlAMG', 'Array_N6ngcomp13COUPLING_TYPEE_S', 'BBBND', 'BBND', 'BDDCPreconditioner', 'BDDCPreconditioner_complex', 'BDDCPreconditioner_double', 'BND', 'BilinearForm', 'BndElementId', 'BoundaryFromVolumeCF', 'COUPLING_TYPE', 'ComponentGridFunction', 'Compress', 'CompressCompound', 'ContactBoundary', 'ConvertOperator', 'DifferentialSymbol', 'Discontinuous', 'DualProxyFunction', 'ElementId', 'ElementRange', 'FESpace', 'FESpaceElement', 'FESpaceElementRange', 'FacetFESpace', 'FacetSurface', 'FlatArray_N6ngcomp13COUPLING_TYPEE_S', 'FromArchiveCF', 'FromArchiveFESpace', 'FromArchiveMesh', 'GlobalInterfaceSpace', 'GlobalSpace', 'GlobalVariables', 'GridFunction', 'GridFunctionC', 'GridFunctionCoefficientFunction', 'GridFunctionD', 'H1', 'H1AMG', 'H1LumpingFESpace', 'HCurl', 'HCurlAMG', 'HCurlCurl', 'HCurlDiv', 'HDiv', 'HDivDiv', 'HDivDivSurface', 'HDivSurface', 'Hidden', 'Integral', 'Integrate', 'IntegrationRuleSpace', 'IntegrationRuleSpaceSurface', 'Interpolate', 'InterpolateProxy', 'KSpaceCoeffs', 'L2', 'LinearForm', 'LocalPreconditioner', 'MatrixFreeOperator', 'MatrixValued', 'Mesh', 'MeshNode', 'MeshNodeRange', 'MultiGridPreconditioner', 'NGS_Object', 'Ngs_Element', 'NodalFESpace', 'NodeId', 'NodeRange', 'NormalFacetFESpace', 'NormalFacetSurface', 'NumberSpace', 'ORDER_POLICY', 'PatchwiseSolve', 'Periodic', 'PlateauFESpace', 'Preconditioner', 'ProductSpace', 'Prolongate', 'ProlongateCoefficientFunction', 'Prolongation', 'ProxyFunction', 'QuasiPeriodicC', 'QuasiPeriodicD', 'Region', 'RegisterPreconditioner', 'Reorder', 'SetHeapSize', 'SetTestoutFile', 'SumOfIntegrals', 'SurfaceL2', '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', 'TangentialFacetFESpace', 'TangentialSurfaceL2', 'TensorProductFESpace', 'TensorProductIntegrate', 'ToArchive', 'Transfer2StdMesh', 'VOL', 'VTKOutput', 'Variation', 'VectorFacetFESpace', 'VectorFacetSurface', 'VectorH1', 'VectorL2', 'VectorNodalFESpace', 'VectorSurfaceL2', 'VectorValued', 'VorB', 'ngsglobals', 'pml']
|
|
16
16
|
class APhiHCurlAMG(HCurlAMG):
|
|
17
17
|
"""
|
|
18
18
|
|
|
19
19
|
Keyword arguments can be:
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
20
|
+
smoothingsteps: int = 3
|
|
21
|
+
number of pre and post-smoothing steps
|
|
22
|
+
smoothedprolongation: bool = true
|
|
23
|
+
use smoothed prolongation
|
|
24
|
+
maxcoarse: int = 10
|
|
25
|
+
maximal dofs on level to switch to direct solver
|
|
26
|
+
|
|
27
|
+
maxlevel: int = 20
|
|
28
|
+
maximal refinement levels to switch to direct solver
|
|
29
|
+
|
|
30
|
+
verbose: int = 3
|
|
31
|
+
verbosity level, 0..no output, 5..most output
|
|
32
|
+
potentialsmoother: string = 'amg'
|
|
33
|
+
suported are 'direct', 'amg', 'local'
|
|
34
|
+
|
|
29
35
|
"""
|
|
30
36
|
def __init__(self, bf: BilinearForm, **kwargs) -> None:
|
|
31
37
|
...
|
|
@@ -1717,6 +1723,18 @@ class H1(FESpace):
|
|
|
1717
1723
|
...
|
|
1718
1724
|
def __setstate__(self, arg0: tuple) -> None:
|
|
1719
1725
|
...
|
|
1726
|
+
class H1AMG(Preconditioner):
|
|
1727
|
+
"""
|
|
1728
|
+
|
|
1729
|
+
Keyword arguments can be:
|
|
1730
|
+
blockjustfortest: bool = false
|
|
1731
|
+
use block Jacobi/Gauss-Seidel
|
|
1732
|
+
"""
|
|
1733
|
+
@staticmethod
|
|
1734
|
+
def __flags_doc__() -> dict:
|
|
1735
|
+
...
|
|
1736
|
+
def __init__(self, bf: BilinearForm, **kwargs) -> None:
|
|
1737
|
+
...
|
|
1720
1738
|
class H1LumpingFESpace(FESpace):
|
|
1721
1739
|
"""
|
|
1722
1740
|
H1-FESpace with nodal basis for mass lumping.
|
|
@@ -1862,16 +1880,25 @@ class HCurlAMG(Preconditioner):
|
|
|
1862
1880
|
"""
|
|
1863
1881
|
|
|
1864
1882
|
Keyword arguments can be:
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1883
|
+
smoothingsteps: int = 3
|
|
1884
|
+
number of pre and post-smoothing steps
|
|
1885
|
+
smoothedprolongation: bool = true
|
|
1886
|
+
use smoothed prolongation
|
|
1887
|
+
maxcoarse: int = 10
|
|
1888
|
+
maximal dofs on level to switch to direct solver
|
|
1889
|
+
|
|
1890
|
+
maxlevel: int = 20
|
|
1891
|
+
maximal refinement levels to switch to direct solver
|
|
1892
|
+
|
|
1893
|
+
verbose: int = 3
|
|
1894
|
+
verbosity level, 0..no output, 5..most output
|
|
1895
|
+
potentialsmoother: string = 'amg'
|
|
1896
|
+
suported are 'direct', 'amg', 'local'
|
|
1897
|
+
|
|
1874
1898
|
"""
|
|
1899
|
+
@staticmethod
|
|
1900
|
+
def __flags_doc__() -> dict:
|
|
1901
|
+
...
|
|
1875
1902
|
def __init__(self, bf: BilinearForm, **kwargs) -> None:
|
|
1876
1903
|
...
|
|
1877
1904
|
class HCurlCurl(FESpace):
|
|
@@ -2684,6 +2711,8 @@ class LocalPreconditioner(Preconditioner):
|
|
|
2684
2711
|
use block Jacobi/Gauss-Seidel
|
|
2685
2712
|
GS: bool = false
|
|
2686
2713
|
use Gauss-Seidel instead of Jacobi
|
|
2714
|
+
blocktype: string = undefined
|
|
2715
|
+
uses block Jacobi with blocks defined by space
|
|
2687
2716
|
"""
|
|
2688
2717
|
@staticmethod
|
|
2689
2718
|
def __flags_doc__() -> dict:
|
|
@@ -2939,7 +2968,7 @@ class Mesh:
|
|
|
2939
2968
|
"""
|
|
2940
2969
|
Unset the deformation
|
|
2941
2970
|
"""
|
|
2942
|
-
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 =
|
|
2971
|
+
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:
|
|
2943
2972
|
"""
|
|
2944
2973
|
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
|
|
2945
2974
|
"""
|
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.2504'
|
|
28
|
-
NGSOLVE_VERSION_GIT: str = 'v6.2.2504-
|
|
29
|
-
NGSOLVE_VERSION_HASH: str = '
|
|
27
|
+
NGSOLVE_VERSION: str = '6.2.2504-44-g8fbbbc389'
|
|
28
|
+
NGSOLVE_VERSION_GIT: str = 'v6.2.2504-44-g8fbbbc389'
|
|
29
|
+
NGSOLVE_VERSION_HASH: str = 'g8fbbbc389'
|
|
30
30
|
NGSOLVE_VERSION_MAJOR: str = '6'
|
|
31
31
|
NGSOLVE_VERSION_MINOR: str = '2'
|
|
32
32
|
NGSOLVE_VERSION_PATCH: str = '2504'
|
|
33
|
-
NGSOLVE_VERSION_PYTHON: str = '6.2.2504'
|
|
34
|
-
NGSOLVE_VERSION_TWEAK: str = '
|
|
33
|
+
NGSOLVE_VERSION_PYTHON: str = '6.2.2504.post44.dev0'
|
|
34
|
+
NGSOLVE_VERSION_TWEAK: str = '44'
|
|
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.2504-
|
|
43
|
+
version: str = 'v6.2.2504-44-g8fbbbc389'
|
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.2504"
|
|
33
|
-
NGSOLVE_VERSION_GIT = "v6.2.2504-
|
|
34
|
-
NGSOLVE_VERSION_PYTHON = "6.2.2504"
|
|
32
|
+
NGSOLVE_VERSION = "6.2.2504-44-g8fbbbc389"
|
|
33
|
+
NGSOLVE_VERSION_GIT = "v6.2.2504-44-g8fbbbc389"
|
|
34
|
+
NGSOLVE_VERSION_PYTHON = "6.2.2504.post44.dev0"
|
|
35
35
|
|
|
36
36
|
NGSOLVE_VERSION_MAJOR = "6"
|
|
37
37
|
NGSOLVE_VERSION_MINOR = "2"
|
|
38
|
-
NGSOLVE_VERSION_TWEAK = "
|
|
38
|
+
NGSOLVE_VERSION_TWEAK = "44"
|
|
39
39
|
NGSOLVE_VERSION_PATCH = "2504"
|
|
40
|
-
NGSOLVE_VERSION_HASH = "
|
|
40
|
+
NGSOLVE_VERSION_HASH = "g8fbbbc389"
|
|
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.2504'
|
|
30
|
-
NGSOLVE_VERSION_GIT: str = 'v6.2.2504-
|
|
31
|
-
NGSOLVE_VERSION_HASH: str = '
|
|
29
|
+
NGSOLVE_VERSION: str = '6.2.2504-44-g8fbbbc389'
|
|
30
|
+
NGSOLVE_VERSION_GIT: str = 'v6.2.2504-44-g8fbbbc389'
|
|
31
|
+
NGSOLVE_VERSION_HASH: str = 'g8fbbbc389'
|
|
32
32
|
NGSOLVE_VERSION_MAJOR: str = '6'
|
|
33
33
|
NGSOLVE_VERSION_MINOR: str = '2'
|
|
34
34
|
NGSOLVE_VERSION_PATCH: str = '2504'
|
|
35
|
-
NGSOLVE_VERSION_PYTHON: str = '6.2.2504'
|
|
36
|
-
NGSOLVE_VERSION_TWEAK: str = '
|
|
35
|
+
NGSOLVE_VERSION_PYTHON: str = '6.2.2504.post44.dev0'
|
|
36
|
+
NGSOLVE_VERSION_TWEAK: str = '44'
|
|
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.2504-
|
|
45
|
+
version: str = 'v6.2.2504-44-g8fbbbc389'
|
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] = ('
|
|
12
|
+
__static_attributes__: typing.ClassVar[tuple] = ('fd', 'lu', 'a', 'freedofs')
|
|
13
13
|
def Mult(self, x: ngsolve.la.BaseVector, y: ngsolve.la.BaseVector):
|
|
14
14
|
...
|
|
15
15
|
def Update(self):
|
ngsolve/fem.pyi
CHANGED
|
@@ -406,7 +406,7 @@ class CoefficientFunction:
|
|
|
406
406
|
def __or__(self, cf: CoefficientFunction) -> CoefficientFunction:
|
|
407
407
|
...
|
|
408
408
|
@typing.overload
|
|
409
|
-
def __or__(self, cf: ...) ->
|
|
409
|
+
def __or__(self, cf: ...) -> typing.Any:
|
|
410
410
|
...
|
|
411
411
|
@typing.overload
|
|
412
412
|
def __pow__(self, exponent: int) -> CoefficientFunction:
|
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', 'iterations', 'innerproduct', '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] = ('sol', 'plt', 'atol', 'ax', 'maxiter', 'plotrates', 'fig', 'tol', 'callback_sol', 'residuals', 'pre', 'its', 'iterations', 'ress', 'printrates', 'callback', 'mat', '_final_residual', 'clear_output', 'display')
|
|
47
47
|
name: typing.ClassVar[str] = 'LinearSolver'
|
|
48
48
|
@staticmethod
|
|
49
49
|
def Solve(*args, **kwargs):
|
ngsolve/la.pyi
CHANGED
|
@@ -822,11 +822,11 @@ class Smoother(BaseMatrix):
|
|
|
822
822
|
"""
|
|
823
823
|
Jacobi and Gauss-Seidel smoothing
|
|
824
824
|
"""
|
|
825
|
-
def Smooth(self, x: BaseVector, b: BaseVector) -> None:
|
|
825
|
+
def Smooth(self, x: BaseVector, b: BaseVector, steps: int = 1) -> None:
|
|
826
826
|
"""
|
|
827
827
|
performs one step Gauss-Seidel iteration for the linear system A x = b
|
|
828
828
|
"""
|
|
829
|
-
def SmoothBack(self, x: BaseVector, b: BaseVector) -> None:
|
|
829
|
+
def SmoothBack(self, x: BaseVector, b: BaseVector, steps: int = 1) -> None:
|
|
830
830
|
"""
|
|
831
831
|
performs one step Gauss-Seidel iteration for the linear system A x = b in reverse order
|
|
832
832
|
"""
|
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] = ('uh', 'inverse', 'lin_solver_cls', 'freedofs', 'r', 'u', 'inv', 'w', 'a', 'lin_solver_args', 'rhs')
|
|
12
12
|
@staticmethod
|
|
13
13
|
def Solve(*args, **kwargs):
|
|
14
14
|
...
|
ngsolve/preconditioners.py
CHANGED
ngsolve/preconditioners.pyi
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
from __future__ import annotations
|
|
2
2
|
from ngsolve.comp import BDDCPreconditioner as BDDC
|
|
3
|
+
from ngsolve.comp import H1AMG
|
|
3
4
|
from ngsolve.comp import HCurlAMG
|
|
4
5
|
from ngsolve.comp import LocalPreconditioner as Local
|
|
5
6
|
from ngsolve.comp import MultiGridPreconditioner as MultiGrid
|
|
6
|
-
__all__ = ['BDDC', 'HCurlAMG', 'Local', 'MultiGrid']
|
|
7
|
+
__all__ = ['BDDC', 'H1AMG', 'HCurlAMG', 'Local', 'MultiGrid']
|
ngsolve/solve_implementation.py
CHANGED
|
@@ -59,7 +59,7 @@ class NonLinearApplication(Application):
|
|
|
59
59
|
else:
|
|
60
60
|
dirichlet_gf.Set(dirichlet, BND)
|
|
61
61
|
solver.SetDirichlet(dirichlet_gf.vec)
|
|
62
|
-
solver.Solve(**kwargs)
|
|
62
|
+
solver.Solve(printing=printing, **kwargs)
|
|
63
63
|
|
|
64
64
|
|
|
65
65
|
class LinearApplication(Application):
|
|
@@ -91,7 +91,16 @@ class LinearApplication(Application):
|
|
|
91
91
|
lin_solver = arg
|
|
92
92
|
rhs.Assemble()
|
|
93
93
|
if dirichlet is not None:
|
|
94
|
-
if isinstance(dirichlet,
|
|
94
|
+
if isinstance(dirichlet, list):
|
|
95
|
+
for i in range(len(dirichlet)):
|
|
96
|
+
if dirichlet[i] is not None:
|
|
97
|
+
if isinstance(dirichlet[i], Dirichlet):
|
|
98
|
+
self.gf.components[i].Set(
|
|
99
|
+
dirichlet[i].cf, definedon=dirichlet[i].region
|
|
100
|
+
)
|
|
101
|
+
else:
|
|
102
|
+
self.gf.components[i].Set(dirichlet[i], BND)
|
|
103
|
+
elif isinstance(dirichlet, Dirichlet):
|
|
95
104
|
self.gf.Set(dirichlet.cf, definedon=dirichlet.region)
|
|
96
105
|
else:
|
|
97
106
|
self.gf.Set(dirichlet, BND)
|
ngsolve/solve_implementation.pyi
CHANGED
|
@@ -14,7 +14,7 @@ __all__ = ['Application', 'BND', 'BilinearForm', 'CoefficientFunction', 'Dirichl
|
|
|
14
14
|
class Application:
|
|
15
15
|
__firstlineno__: typing.ClassVar[int] = 21
|
|
16
16
|
__hash__: typing.ClassVar[None] = None
|
|
17
|
-
__static_attributes__: typing.ClassVar[tuple] = ('
|
|
17
|
+
__static_attributes__: typing.ClassVar[tuple] = ('a', 'gf')
|
|
18
18
|
def Solve(self, rhs, *args, dirichlet = None, pre = None, printrates: bool = False, **kwargs):
|
|
19
19
|
...
|
|
20
20
|
def __eq__(self, other):
|
|
@@ -23,12 +23,12 @@ class Application:
|
|
|
23
23
|
...
|
|
24
24
|
class Dirichlet:
|
|
25
25
|
__firstlineno__: typing.ClassVar[int] = 15
|
|
26
|
-
__static_attributes__: typing.ClassVar[tuple] = ('
|
|
26
|
+
__static_attributes__: typing.ClassVar[tuple] = ('cf', 'region')
|
|
27
27
|
def __init__(self, cf, region):
|
|
28
28
|
...
|
|
29
29
|
class Equation:
|
|
30
|
-
__firstlineno__: typing.ClassVar[int] =
|
|
31
|
-
__static_attributes__: typing.ClassVar[tuple] = ('
|
|
30
|
+
__firstlineno__: typing.ClassVar[int] = 134
|
|
31
|
+
__static_attributes__: typing.ClassVar[tuple] = ('lhs', 'rhs')
|
|
32
32
|
def Solve(self, *args, **kwargs):
|
|
33
33
|
...
|
|
34
34
|
def __init__(self, lhs, rhs):
|
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] = ('c', 'dt', 'gfu_old', '_lin_solver_args', 'time', '_lin_solver_cls', 'bfmstar')
|
|
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] = ('c', 'dt', 'gfu_old', '_lin_solver_args', 'time', '_lin_solver_cls', 'bfmstar')
|
|
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] = ('c', 'dt', 'gfu_old', '_lin_solver_args', 'time', 'gfa_old', 'gfv_old', '_lin_solver_cls', 'bfmstar')
|
|
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
|
@@ -38,6 +38,7 @@ from ngsolve.comp import GridFunctionC
|
|
|
38
38
|
from ngsolve.comp import GridFunctionCoefficientFunction
|
|
39
39
|
from ngsolve.comp import GridFunctionD
|
|
40
40
|
from ngsolve.comp import H1
|
|
41
|
+
from ngsolve.comp import H1AMG
|
|
41
42
|
from ngsolve.comp import H1LumpingFESpace
|
|
42
43
|
from ngsolve.comp import HCurl
|
|
43
44
|
from ngsolve.comp import HCurlAMG
|
|
@@ -47,8 +48,8 @@ from ngsolve.comp import HDiv
|
|
|
47
48
|
from ngsolve.comp import HDivDiv
|
|
48
49
|
from ngsolve.comp import HDivDivSurface
|
|
49
50
|
from ngsolve.comp import HDivSurface
|
|
50
|
-
from ngsolve.comp import Hidden
|
|
51
51
|
from ngsolve.comp import Hidden as PrivateSpace
|
|
52
|
+
from ngsolve.comp import Hidden
|
|
52
53
|
from ngsolve.comp import Integral
|
|
53
54
|
from ngsolve.comp import Integrate
|
|
54
55
|
from ngsolve.comp import IntegrationRuleSpace
|
|
@@ -194,7 +195,7 @@ from ngsolve.fem import sqrt
|
|
|
194
195
|
from ngsolve.fem import tan
|
|
195
196
|
from ngsolve.ngstd import IntRange
|
|
196
197
|
from pyngcore.pyngcore import Timer
|
|
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']
|
|
198
|
+
__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', 'H1AMG', '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']
|
|
198
199
|
def ConstantCF(val):
|
|
199
200
|
...
|
|
200
201
|
def Deviator(mat):
|
ngsolve/webgui.py
CHANGED
|
@@ -4,6 +4,7 @@ import ngsolve as ngs
|
|
|
4
4
|
from typing import Optional
|
|
5
5
|
from netgen.webgui import Draw, register_draw_type, WebGLScene, encodeData
|
|
6
6
|
|
|
7
|
+
np.seterr(all='ignore', divide='ignore', invalid='ignore') # , over='ignore')
|
|
7
8
|
|
|
8
9
|
def updatePMinMax( pmat, pmima=None ):
|
|
9
10
|
pmima_new = [ngs.Vector(pmat[:,i], copy=False).MinMax(ignore_inf=True) for i in range(3)]
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: ngsolve
|
|
3
|
-
Version: 6.2.2504
|
|
3
|
+
Version: 6.2.2504.post44.dev0
|
|
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.2504
|
|
8
|
+
Requires-Dist: netgen-mesher==6.2.2504.post13.dev0
|
|
9
9
|
|