ngsolve 6.2.2506__cp313-cp313-macosx_10_15_universal2.whl → 6.2.2506.post33.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/bem_diffops.hpp +475 -0
- netgen/include/bspline.hpp +2 -0
- netgen/include/contact.hpp +4 -0
- netgen/include/h1lumping.hpp +6 -0
- netgen/include/kernels.hpp +654 -0
- netgen/include/mp_coefficient.hpp +20 -20
- netgen/include/mptools.hpp +244 -118
- netgen/include/potentialtools.hpp +2 -2
- 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 +3 -3
- ngsolve/cmake/NGSolveConfig.cmake +1 -1
- ngsolve/config/__init__.pyi +6 -6
- ngsolve/config/config.py +5 -5
- ngsolve/config/config.pyi +6 -6
- ngsolve/demos/intro/cmagnet.py +19 -22
- ngsolve/directsolvers.pyi +1 -1
- ngsolve/krylovspace.pyi +2 -2
- ngsolve/nonlinearsolvers.pyi +1 -1
- ngsolve/solve.pyi +1 -1
- ngsolve/solve_implementation.pyi +3 -3
- ngsolve/timestepping.pyi +3 -3
- ngsolve/timing.pyi +1 -1
- ngsolve/utils.pyi +1 -1
- {ngsolve-6.2.2506.dist-info → ngsolve-6.2.2506.post33.dev0.dist-info}/METADATA +2 -2
- {ngsolve-6.2.2506.dist-info → ngsolve-6.2.2506.post33.dev0.dist-info}/RECORD +67 -65
- {ngsolve-6.2.2506.data → ngsolve-6.2.2506.post33.dev0.data}/data/Netgen.icns +0 -0
- {ngsolve-6.2.2506.data → ngsolve-6.2.2506.post33.dev0.data}/data/bin/ngscxx +0 -0
- {ngsolve-6.2.2506.data → ngsolve-6.2.2506.post33.dev0.data}/data/bin/ngsld +0 -0
- {ngsolve-6.2.2506.data → ngsolve-6.2.2506.post33.dev0.data}/data/bin/ngsolve.tcl +0 -0
- {ngsolve-6.2.2506.data → ngsolve-6.2.2506.post33.dev0.data}/data/bin/ngspy +0 -0
- {ngsolve-6.2.2506.data → ngsolve-6.2.2506.post33.dev0.data}/data/share/ngsolve/beam.geo +0 -0
- {ngsolve-6.2.2506.data → ngsolve-6.2.2506.post33.dev0.data}/data/share/ngsolve/beam.vol +0 -0
- {ngsolve-6.2.2506.data → ngsolve-6.2.2506.post33.dev0.data}/data/share/ngsolve/chip.in2d +0 -0
- {ngsolve-6.2.2506.data → ngsolve-6.2.2506.post33.dev0.data}/data/share/ngsolve/chip.vol +0 -0
- {ngsolve-6.2.2506.data → ngsolve-6.2.2506.post33.dev0.data}/data/share/ngsolve/coil.geo +0 -0
- {ngsolve-6.2.2506.data → ngsolve-6.2.2506.post33.dev0.data}/data/share/ngsolve/coil.vol +0 -0
- {ngsolve-6.2.2506.data → ngsolve-6.2.2506.post33.dev0.data}/data/share/ngsolve/coilshield.geo +0 -0
- {ngsolve-6.2.2506.data → ngsolve-6.2.2506.post33.dev0.data}/data/share/ngsolve/coilshield.vol +0 -0
- {ngsolve-6.2.2506.data → ngsolve-6.2.2506.post33.dev0.data}/data/share/ngsolve/cube.geo +0 -0
- {ngsolve-6.2.2506.data → ngsolve-6.2.2506.post33.dev0.data}/data/share/ngsolve/cube.vol +0 -0
- {ngsolve-6.2.2506.data → ngsolve-6.2.2506.post33.dev0.data}/data/share/ngsolve/d10_DGdoubleglazing.pde +0 -0
- {ngsolve-6.2.2506.data → ngsolve-6.2.2506.post33.dev0.data}/data/share/ngsolve/d11_chip_nitsche.pde +0 -0
- {ngsolve-6.2.2506.data → ngsolve-6.2.2506.post33.dev0.data}/data/share/ngsolve/d1_square.pde +0 -0
- {ngsolve-6.2.2506.data → ngsolve-6.2.2506.post33.dev0.data}/data/share/ngsolve/d2_chip.pde +0 -0
- {ngsolve-6.2.2506.data → ngsolve-6.2.2506.post33.dev0.data}/data/share/ngsolve/d3_helmholtz.pde +0 -0
- {ngsolve-6.2.2506.data → ngsolve-6.2.2506.post33.dev0.data}/data/share/ngsolve/d4_cube.pde +0 -0
- {ngsolve-6.2.2506.data → ngsolve-6.2.2506.post33.dev0.data}/data/share/ngsolve/d5_beam.pde +0 -0
- {ngsolve-6.2.2506.data → ngsolve-6.2.2506.post33.dev0.data}/data/share/ngsolve/d6_shaft.pde +0 -0
- {ngsolve-6.2.2506.data → ngsolve-6.2.2506.post33.dev0.data}/data/share/ngsolve/d7_coil.pde +0 -0
- {ngsolve-6.2.2506.data → ngsolve-6.2.2506.post33.dev0.data}/data/share/ngsolve/d8_coilshield.pde +0 -0
- {ngsolve-6.2.2506.data → ngsolve-6.2.2506.post33.dev0.data}/data/share/ngsolve/d9_hybridDG.pde +0 -0
- {ngsolve-6.2.2506.data → ngsolve-6.2.2506.post33.dev0.data}/data/share/ngsolve/doubleglazing.in2d +0 -0
- {ngsolve-6.2.2506.data → ngsolve-6.2.2506.post33.dev0.data}/data/share/ngsolve/doubleglazing.vol +0 -0
- {ngsolve-6.2.2506.data → ngsolve-6.2.2506.post33.dev0.data}/data/share/ngsolve/piezo2d40round4.vol.gz +0 -0
- {ngsolve-6.2.2506.data → ngsolve-6.2.2506.post33.dev0.data}/data/share/ngsolve/shaft.geo +0 -0
- {ngsolve-6.2.2506.data → ngsolve-6.2.2506.post33.dev0.data}/data/share/ngsolve/shaft.vol +0 -0
- {ngsolve-6.2.2506.data → ngsolve-6.2.2506.post33.dev0.data}/data/share/ngsolve/square.in2d +0 -0
- {ngsolve-6.2.2506.data → ngsolve-6.2.2506.post33.dev0.data}/data/share/ngsolve/square.vol +0 -0
- {ngsolve-6.2.2506.dist-info → ngsolve-6.2.2506.post33.dev0.dist-info}/LICENSE +0 -0
- {ngsolve-6.2.2506.dist-info → ngsolve-6.2.2506.post33.dev0.dist-info}/WHEEL +0 -0
- {ngsolve-6.2.2506.dist-info → ngsolve-6.2.2506.post33.dev0.dist-info}/top_level.txt +0 -0
|
@@ -41,16 +41,16 @@ namespace ngsbem
|
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
|
|
44
|
-
template <typename entry_type> class
|
|
44
|
+
template <typename entry_type> class RegularMLExpansionCF;
|
|
45
45
|
|
|
46
46
|
|
|
47
47
|
template <typename RADIAL, typename entry_type=Complex>
|
|
48
|
-
class
|
|
48
|
+
class SphericalExpansionCF : public CoefficientFunction
|
|
49
49
|
{
|
|
50
|
-
|
|
50
|
+
SphericalExpansion<RADIAL, entry_type> mp;
|
|
51
51
|
Vec<3> center;
|
|
52
52
|
public:
|
|
53
|
-
|
|
53
|
+
SphericalExpansionCF (int order, double kappa, Vec<3> acenter, double rtyp = 1)
|
|
54
54
|
: CoefficientFunction(sizeof(entry_type)/sizeof(Complex), true), mp(order, kappa, rtyp), center(acenter) { }
|
|
55
55
|
|
|
56
56
|
entry_type & Coef(int n, int m) { return mp.Coef(n,m); }
|
|
@@ -70,28 +70,28 @@ namespace ngsbem
|
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
template <typename TARGET>
|
|
73
|
-
void ShiftZ (double z,
|
|
73
|
+
void ShiftZ (double z, SphericalExpansion<TARGET, entry_type> & target) { mp.ShiftZ(z, target); }
|
|
74
74
|
|
|
75
75
|
using CoefficientFunction::Transform;
|
|
76
76
|
template <typename TARGET>
|
|
77
|
-
void Transform (
|
|
77
|
+
void Transform (SphericalExpansionCF<TARGET, entry_type> & target)
|
|
78
78
|
{
|
|
79
79
|
mp.Transform (target.MP(), target.Center()-center);
|
|
80
80
|
}
|
|
81
81
|
template <typename TARGET>
|
|
82
|
-
void TransformAdd (
|
|
82
|
+
void TransformAdd (SphericalExpansionCF<TARGET, entry_type> & target)
|
|
83
83
|
{
|
|
84
84
|
mp.TransformAdd (target.MP(), target.Center()-center);
|
|
85
85
|
}
|
|
86
86
|
};
|
|
87
87
|
|
|
88
88
|
template <typename entry_type>
|
|
89
|
-
class
|
|
89
|
+
class SingularMLExpansionCF : public CoefficientFunction
|
|
90
90
|
{
|
|
91
|
-
shared_ptr<
|
|
91
|
+
shared_ptr<SingularMLExpansion<entry_type>> mlmp;
|
|
92
92
|
public:
|
|
93
|
-
|
|
94
|
-
: CoefficientFunction(sizeof(entry_type)/sizeof(Complex), true), mlmp{make_shared<
|
|
93
|
+
SingularMLExpansionCF (Vec<3> center, double r, double kappa)
|
|
94
|
+
: CoefficientFunction(sizeof(entry_type)/sizeof(Complex), true), mlmp{make_shared<SingularMLExpansion<entry_type>>(center, r, kappa)} { }
|
|
95
95
|
|
|
96
96
|
virtual double Evaluate (const BaseMappedIntegrationPoint & ip) const override
|
|
97
97
|
{ throw Exception("real eval not available"); }
|
|
@@ -108,20 +108,20 @@ namespace ngsbem
|
|
|
108
108
|
|
|
109
109
|
}
|
|
110
110
|
|
|
111
|
-
shared_ptr<
|
|
112
|
-
shared_ptr<
|
|
111
|
+
shared_ptr<SingularMLExpansion<entry_type>> MLExpansion() const { return mlmp; }
|
|
112
|
+
shared_ptr<RegularMLExpansionCF<entry_type>> CreateRegularExpansion(Vec<3> center, double r) const;
|
|
113
113
|
};
|
|
114
114
|
|
|
115
115
|
|
|
116
116
|
template <typename entry_type>
|
|
117
|
-
class
|
|
117
|
+
class RegularMLExpansionCF : public CoefficientFunction
|
|
118
118
|
{
|
|
119
|
-
shared_ptr<
|
|
119
|
+
shared_ptr<RegularMLExpansion<entry_type>> mlmp;
|
|
120
120
|
public:
|
|
121
|
-
|
|
122
|
-
: CoefficientFunction(sizeof(entry_type)/sizeof(Complex), true), mlmp{make_shared<
|
|
123
|
-
|
|
124
|
-
: CoefficientFunction(sizeof(entry_type)/sizeof(Complex), true), mlmp{make_shared<
|
|
121
|
+
RegularMLExpansionCF (shared_ptr<SingularMLExpansionCF<entry_type>> asingmp, Vec<3> center, double r)
|
|
122
|
+
: CoefficientFunction(sizeof(entry_type)/sizeof(Complex), true), mlmp{make_shared<RegularMLExpansion<entry_type>>(asingmp->MLExpansion(), center, r)} { }
|
|
123
|
+
RegularMLExpansionCF (shared_ptr<SingularMLExpansion<entry_type>> asingmp, Vec<3> center, double r)
|
|
124
|
+
: CoefficientFunction(sizeof(entry_type)/sizeof(Complex), true), mlmp{make_shared<RegularMLExpansion<entry_type>>(asingmp, center, r)} { }
|
|
125
125
|
|
|
126
126
|
virtual double Evaluate (const BaseMappedIntegrationPoint & ip) const override
|
|
127
127
|
{ throw Exception("real eval not available"); }
|
|
@@ -136,7 +136,7 @@ namespace ngsbem
|
|
|
136
136
|
values = mlmp->Evaluate(mip.GetPoint());
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
shared_ptr<
|
|
139
|
+
shared_ptr<RegularMLExpansion<entry_type>> MLExpansion() { return mlmp; }
|
|
140
140
|
};
|
|
141
141
|
|
|
142
142
|
|