ngsolve 6.2.2505.post17.dev0__cp313-cp313-macosx_10_15_universal2.whl → 6.2.2505.post94.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/bilinearform.hpp +1 -1
- netgen/include/diffop_impl.hpp +3 -1
- netgen/include/gridfunction.hpp +1 -1
- netgen/include/hcurlcurlfe.hpp +20 -0
- netgen/include/mptools.hpp +786 -101
- netgen/include/ngblas.hpp +11 -0
- netgen/include/recursive_pol.hpp +63 -11
- netgen/include/simd_complex.hpp +20 -0
- netgen/include/sparsematrix_impl.hpp +25 -0
- netgen/include/vector.hpp +15 -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/libngstd.dylib +0 -0
- ngsolve/__init__.pyi +1 -1
- 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/directsolvers.pyi +1 -1
- ngsolve/fem.pyi +1 -1
- ngsolve/krylovspace.pyi +2 -2
- ngsolve/nonlinearsolvers.pyi +1 -1
- ngsolve/solve_implementation.pyi +2 -2
- ngsolve/timestepping.pyi +3 -3
- ngsolve/timing.pyi +1 -1
- {ngsolve-6.2.2505.post17.dev0.dist-info → ngsolve-6.2.2505.post94.dev0.dist-info}/METADATA +2 -2
- {ngsolve-6.2.2505.post17.dev0.dist-info → ngsolve-6.2.2505.post94.dev0.dist-info}/RECORD +66 -66
- {ngsolve-6.2.2505.post17.dev0.data → ngsolve-6.2.2505.post94.dev0.data}/data/Netgen.icns +0 -0
- {ngsolve-6.2.2505.post17.dev0.data → ngsolve-6.2.2505.post94.dev0.data}/data/bin/ngscxx +0 -0
- {ngsolve-6.2.2505.post17.dev0.data → ngsolve-6.2.2505.post94.dev0.data}/data/bin/ngsld +0 -0
- {ngsolve-6.2.2505.post17.dev0.data → ngsolve-6.2.2505.post94.dev0.data}/data/bin/ngsolve.tcl +0 -0
- {ngsolve-6.2.2505.post17.dev0.data → ngsolve-6.2.2505.post94.dev0.data}/data/bin/ngspy +0 -0
- {ngsolve-6.2.2505.post17.dev0.data → ngsolve-6.2.2505.post94.dev0.data}/data/share/ngsolve/beam.geo +0 -0
- {ngsolve-6.2.2505.post17.dev0.data → ngsolve-6.2.2505.post94.dev0.data}/data/share/ngsolve/beam.vol +0 -0
- {ngsolve-6.2.2505.post17.dev0.data → ngsolve-6.2.2505.post94.dev0.data}/data/share/ngsolve/chip.in2d +0 -0
- {ngsolve-6.2.2505.post17.dev0.data → ngsolve-6.2.2505.post94.dev0.data}/data/share/ngsolve/chip.vol +0 -0
- {ngsolve-6.2.2505.post17.dev0.data → ngsolve-6.2.2505.post94.dev0.data}/data/share/ngsolve/coil.geo +0 -0
- {ngsolve-6.2.2505.post17.dev0.data → ngsolve-6.2.2505.post94.dev0.data}/data/share/ngsolve/coil.vol +0 -0
- {ngsolve-6.2.2505.post17.dev0.data → ngsolve-6.2.2505.post94.dev0.data}/data/share/ngsolve/coilshield.geo +0 -0
- {ngsolve-6.2.2505.post17.dev0.data → ngsolve-6.2.2505.post94.dev0.data}/data/share/ngsolve/coilshield.vol +0 -0
- {ngsolve-6.2.2505.post17.dev0.data → ngsolve-6.2.2505.post94.dev0.data}/data/share/ngsolve/cube.geo +0 -0
- {ngsolve-6.2.2505.post17.dev0.data → ngsolve-6.2.2505.post94.dev0.data}/data/share/ngsolve/cube.vol +0 -0
- {ngsolve-6.2.2505.post17.dev0.data → ngsolve-6.2.2505.post94.dev0.data}/data/share/ngsolve/d10_DGdoubleglazing.pde +0 -0
- {ngsolve-6.2.2505.post17.dev0.data → ngsolve-6.2.2505.post94.dev0.data}/data/share/ngsolve/d11_chip_nitsche.pde +0 -0
- {ngsolve-6.2.2505.post17.dev0.data → ngsolve-6.2.2505.post94.dev0.data}/data/share/ngsolve/d1_square.pde +0 -0
- {ngsolve-6.2.2505.post17.dev0.data → ngsolve-6.2.2505.post94.dev0.data}/data/share/ngsolve/d2_chip.pde +0 -0
- {ngsolve-6.2.2505.post17.dev0.data → ngsolve-6.2.2505.post94.dev0.data}/data/share/ngsolve/d3_helmholtz.pde +0 -0
- {ngsolve-6.2.2505.post17.dev0.data → ngsolve-6.2.2505.post94.dev0.data}/data/share/ngsolve/d4_cube.pde +0 -0
- {ngsolve-6.2.2505.post17.dev0.data → ngsolve-6.2.2505.post94.dev0.data}/data/share/ngsolve/d5_beam.pde +0 -0
- {ngsolve-6.2.2505.post17.dev0.data → ngsolve-6.2.2505.post94.dev0.data}/data/share/ngsolve/d6_shaft.pde +0 -0
- {ngsolve-6.2.2505.post17.dev0.data → ngsolve-6.2.2505.post94.dev0.data}/data/share/ngsolve/d7_coil.pde +0 -0
- {ngsolve-6.2.2505.post17.dev0.data → ngsolve-6.2.2505.post94.dev0.data}/data/share/ngsolve/d8_coilshield.pde +0 -0
- {ngsolve-6.2.2505.post17.dev0.data → ngsolve-6.2.2505.post94.dev0.data}/data/share/ngsolve/d9_hybridDG.pde +0 -0
- {ngsolve-6.2.2505.post17.dev0.data → ngsolve-6.2.2505.post94.dev0.data}/data/share/ngsolve/doubleglazing.in2d +0 -0
- {ngsolve-6.2.2505.post17.dev0.data → ngsolve-6.2.2505.post94.dev0.data}/data/share/ngsolve/doubleglazing.vol +0 -0
- {ngsolve-6.2.2505.post17.dev0.data → ngsolve-6.2.2505.post94.dev0.data}/data/share/ngsolve/piezo2d40round4.vol.gz +0 -0
- {ngsolve-6.2.2505.post17.dev0.data → ngsolve-6.2.2505.post94.dev0.data}/data/share/ngsolve/shaft.geo +0 -0
- {ngsolve-6.2.2505.post17.dev0.data → ngsolve-6.2.2505.post94.dev0.data}/data/share/ngsolve/shaft.vol +0 -0
- {ngsolve-6.2.2505.post17.dev0.data → ngsolve-6.2.2505.post94.dev0.data}/data/share/ngsolve/square.in2d +0 -0
- {ngsolve-6.2.2505.post17.dev0.data → ngsolve-6.2.2505.post94.dev0.data}/data/share/ngsolve/square.vol +0 -0
- {ngsolve-6.2.2505.post17.dev0.dist-info → ngsolve-6.2.2505.post94.dev0.dist-info}/LICENSE +0 -0
- {ngsolve-6.2.2505.post17.dev0.dist-info → ngsolve-6.2.2505.post94.dev0.dist-info}/WHEEL +0 -0
- {ngsolve-6.2.2505.post17.dev0.dist-info → ngsolve-6.2.2505.post94.dev0.dist-info}/top_level.txt +0 -0
netgen/include/ngblas.hpp
CHANGED
|
@@ -1156,7 +1156,12 @@ namespace ngbla
|
|
|
1156
1156
|
}
|
|
1157
1157
|
};
|
|
1158
1158
|
|
|
1159
|
+
// typedef void (*pmatmatcRR)(size_t, size_t, BareSliceMatrix<Complex,RowMajor>, BareSliceMatrix<Complex,RowMajor>,BareSliceMatrix<Complex,RowMajor>);
|
|
1159
1160
|
|
|
1161
|
+
template <ORDERING OA, ORDERING OB>
|
|
1162
|
+
using pmatmatc = void (*)(size_t, size_t, BareSliceMatrix<Complex, OA>, BareSliceMatrix<Complex,OB>,BareSliceMatrix<Complex,RowMajor>);
|
|
1163
|
+
template <bool ADD, bool POS, ORDERING OA, ORDERING OB>
|
|
1164
|
+
extern NGS_DLL_HEADER pmatmatc<OA,OB> dispatch_matmatc[9];
|
|
1160
1165
|
|
|
1161
1166
|
template <bool ADD, bool POS, ORDERING OA, ORDERING OB>
|
|
1162
1167
|
extern NGS_DLL_HEADER void NgGEMMBare (size_t ah, size_t aw, size_t bw, BareSliceMatrix<Complex,OA> a, BareSliceMatrix<Complex,OB> b, BareSliceMatrix<Complex,RowMajor> c);
|
|
@@ -1168,6 +1173,12 @@ namespace ngbla
|
|
|
1168
1173
|
size_t ah = a.Height();
|
|
1169
1174
|
size_t aw = a.Width();
|
|
1170
1175
|
size_t bw = b.Width();
|
|
1176
|
+
if (aw < std::size(dispatch_matmatc<ADD,POS,OA,OB>))
|
|
1177
|
+
{
|
|
1178
|
+
(*dispatch_matmatc<ADD,POS,OA,OB>[aw])(ah, bw, make_BareSliceMatrix(a), make_BareSliceMatrix(b), make_BareSliceMatrix(c));
|
|
1179
|
+
return;
|
|
1180
|
+
}
|
|
1181
|
+
|
|
1171
1182
|
NgGEMMBare<ADD,POS>(ah, aw, bw, make_BareSliceMatrix(a), make_BareSliceMatrix(b), make_BareSliceMatrix(c));
|
|
1172
1183
|
}
|
|
1173
1184
|
|
netgen/include/recursive_pol.hpp
CHANGED
|
@@ -1507,9 +1507,24 @@ namespace ngfem
|
|
|
1507
1507
|
class NormalizedLegendreFunctions : public RecursivePolynomialNonStatic<NormalizedLegendreFunctions>
|
|
1508
1508
|
{
|
|
1509
1509
|
int m;
|
|
1510
|
+
static Matrix<double,ColMajor> matA, matB;
|
|
1510
1511
|
public:
|
|
1511
1512
|
NormalizedLegendreFunctions (size_t _m) : m(_m) { }
|
|
1512
1513
|
|
|
1514
|
+
|
|
1515
|
+
static void Calc(int mmax)
|
|
1516
|
+
{
|
|
1517
|
+
if (matA.Height() >= mmax+1) return;
|
|
1518
|
+
matA.SetSize(mmax+1, mmax+1);
|
|
1519
|
+
matB.SetSize(mmax+1, mmax+1);
|
|
1520
|
+
for (int m = 0; m <= mmax; m++)
|
|
1521
|
+
for (int n = m+2; n <= mmax; n++)
|
|
1522
|
+
{
|
|
1523
|
+
matA(n,m) = (2*n-1) / sqrt((n-m+0.0)*(n+m));
|
|
1524
|
+
matB(n,m) = sqrt((n+m-1.0)*(n-m-1.0)) / sqrt((n-m+0.0)*(n+m));
|
|
1525
|
+
}
|
|
1526
|
+
}
|
|
1527
|
+
|
|
1513
1528
|
template <typename T, typename S>
|
|
1514
1529
|
NormalizedLegendreFunctions (size_t mmax, size_t nmax, T x, S && values)
|
|
1515
1530
|
{
|
|
@@ -1524,23 +1539,60 @@ namespace ngfem
|
|
|
1524
1539
|
auto y = Trans(values);
|
|
1525
1540
|
|
|
1526
1541
|
y = 0.0;
|
|
1527
|
-
|
|
1542
|
+
T u = -sqrt((1-x)*(1+x));
|
|
1528
1543
|
y(0,0)=1;
|
|
1529
|
-
|
|
1530
|
-
|
|
1544
|
+
|
|
1545
|
+
if (mmax+1 > matA.Height() || nmax > matA.Width())
|
|
1546
|
+
{
|
|
1547
|
+
for (double m = 0; m <= mmax; m++)
|
|
1548
|
+
{
|
|
1549
|
+
if (m > 0)
|
|
1550
|
+
y(m,m)=y(m-1,m-1)*u*sqrt((2*m-1.0)/(2*m));
|
|
1551
|
+
if (m < nmax)
|
|
1552
|
+
y(m+1,m)=x*y(m,m)*sqrt(2*m+1.0);
|
|
1553
|
+
for (int n = m+2; n <= nmax; n++)
|
|
1554
|
+
y(n,m)=((2*n-1)*x*y(n-1,m) -
|
|
1555
|
+
sqrt((n+m-1.0)*(n-m-1.0))*y(n-2,m))
|
|
1556
|
+
/sqrt((n-m+0.0)*(n+m));
|
|
1557
|
+
}
|
|
1558
|
+
}
|
|
1559
|
+
else
|
|
1531
1560
|
{
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1561
|
+
for (double m = 0; m <= mmax; m++)
|
|
1562
|
+
{
|
|
1563
|
+
if (m > 0)
|
|
1564
|
+
y(m,m)=y(m-1,m-1)*u*sqrt((2*m-1.0)/(2*m));
|
|
1565
|
+
if (m < nmax)
|
|
1566
|
+
{
|
|
1567
|
+
T valold = y(m,m);
|
|
1568
|
+
|
|
1569
|
+
T val = x*valold*sqrt(2*m+1.0);
|
|
1570
|
+
y(m+1,m)=val;
|
|
1571
|
+
|
|
1572
|
+
auto coefsA = matA.Col(m);
|
|
1573
|
+
auto coefsB = matB.Col(m);
|
|
1574
|
+
|
|
1575
|
+
for (int n = m+2; n <= nmax; n++)
|
|
1576
|
+
{
|
|
1577
|
+
T valnew = coefsA(n) * x * val - coefsB(n) * valold;
|
|
1578
|
+
y(n,m) = valnew;
|
|
1579
|
+
valold = val;
|
|
1580
|
+
val = valnew;
|
|
1581
|
+
}
|
|
1582
|
+
}
|
|
1583
|
+
/*
|
|
1584
|
+
for (int n = m+2; n <= nmax; n++)
|
|
1585
|
+
y(n,m) = matA(n,m) * x * y(n-1,m) - matB(n,m) * y(n-2,m);
|
|
1586
|
+
*/
|
|
1587
|
+
}
|
|
1540
1588
|
}
|
|
1589
|
+
|
|
1541
1590
|
for (int n = 0; n <= nmax; n++)
|
|
1591
|
+
y.Row(n).Range(0,n+1) *= sqrt(2*n+1.0);
|
|
1592
|
+
/*
|
|
1542
1593
|
for (int m = 0; m <= n; m++)
|
|
1543
1594
|
y(n,m)=y(n,m)*sqrt(2*n+1.0);
|
|
1595
|
+
*/
|
|
1544
1596
|
}
|
|
1545
1597
|
|
|
1546
1598
|
template <class S>
|
netgen/include/simd_complex.hpp
CHANGED
|
@@ -56,6 +56,17 @@ namespace ngcore
|
|
|
56
56
|
auto & imag() { return im; }
|
|
57
57
|
|
|
58
58
|
|
|
59
|
+
auto Lo() const
|
|
60
|
+
{
|
|
61
|
+
if constexpr (N == 2) return Complex(re.Lo(), im.Lo());
|
|
62
|
+
else return SIMD<Complex,N/2> (re.Lo(), im.Lo());
|
|
63
|
+
}
|
|
64
|
+
auto Hi() const
|
|
65
|
+
{
|
|
66
|
+
if constexpr (N == 2) return Complex(re.Hi(), im.Hi());
|
|
67
|
+
else return SIMD<Complex,N/2> (re.Hi(), im.Hi());
|
|
68
|
+
}
|
|
69
|
+
|
|
59
70
|
// Numbers in SIMD structure are not necessarily in same order as in memory
|
|
60
71
|
// for instance:
|
|
61
72
|
// [x0,y0,x1,y1,x2,y2,x3,y3] -> [x0,x2,x1,x3,y0,y2,y1,y3]
|
|
@@ -266,6 +277,15 @@ namespace ngcore
|
|
|
266
277
|
return SIMD<Complex, N> (IfPos (a.real(), b.real(), c.real()),
|
|
267
278
|
IfPos (a.real(), b.imag(), c.imag()));
|
|
268
279
|
}
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
template <int N>
|
|
283
|
+
INLINE SIMD<Complex, N> If (SIMD<mask64, N> a, SIMD<Complex, N> b, SIMD<Complex, N> c)
|
|
284
|
+
{
|
|
285
|
+
return SIMD<Complex, N> (If (a, b.real(), c.real()),
|
|
286
|
+
If (a, b.imag(), c.imag()));
|
|
287
|
+
}
|
|
288
|
+
|
|
269
289
|
}
|
|
270
290
|
|
|
271
291
|
|
|
@@ -475,6 +475,31 @@ namespace ngla
|
|
|
475
475
|
}
|
|
476
476
|
}
|
|
477
477
|
return this->CreateFromCOO(indi, indj, val, this->Height(), this->Width());
|
|
478
|
+
|
|
479
|
+
/*
|
|
480
|
+
// needs parallelization and testing
|
|
481
|
+
Array<int> cnt(this->Height());
|
|
482
|
+
cnt = 0;
|
|
483
|
+
size_t cnt0 = 0;
|
|
484
|
+
for (auto i : Range(this->Height()))
|
|
485
|
+
for (auto j : Range(firsti[i], firsti[i+1]))
|
|
486
|
+
if (ngbla::L2Norm2(data[j]) > tol*tol)
|
|
487
|
+
cnt[i]++;
|
|
488
|
+
else
|
|
489
|
+
cnt0++;
|
|
490
|
+
|
|
491
|
+
cout << "zero-els = " << cnt0 << endl;
|
|
492
|
+
|
|
493
|
+
|
|
494
|
+
auto matrix = make_shared<SparseMatrix<TM>> (cnt, this->Width());
|
|
495
|
+
|
|
496
|
+
for (auto i : Range(this->Height()))
|
|
497
|
+
for (auto j : Range(firsti[i], firsti[i+1]))
|
|
498
|
+
if (ngbla::L2Norm2(data[j]) > tol*tol)
|
|
499
|
+
(*matrix)(i, colnr[i]) = data[j];
|
|
500
|
+
|
|
501
|
+
return matrix;
|
|
502
|
+
*/
|
|
478
503
|
}
|
|
479
504
|
|
|
480
505
|
template <class TM>
|
netgen/include/vector.hpp
CHANGED
|
@@ -701,7 +701,8 @@ namespace ngbla
|
|
|
701
701
|
*/
|
|
702
702
|
|
|
703
703
|
Vec (const Vec &) = default;
|
|
704
|
-
auto & HTData()
|
|
704
|
+
auto & HTData() { return data; }
|
|
705
|
+
const auto & HTData() const { return data; }
|
|
705
706
|
template <typename T2>
|
|
706
707
|
Vec (const Vec<S,T2> & v2) : data(v2.HTData()) { ; }
|
|
707
708
|
|
|
@@ -1196,10 +1197,22 @@ namespace ngbla
|
|
|
1196
1197
|
for (int i = 0; i < DIM; i++)
|
|
1197
1198
|
AtomicAdd (x(i), y(i));
|
|
1198
1199
|
}
|
|
1199
|
-
|
|
1200
1200
|
|
|
1201
|
+
|
|
1202
|
+
template <typename T, typename TS, typename TDIST, typename TB>
|
|
1203
|
+
inline void AtomicAdd (VectorView<T,TS,TDIST> v, const Expr<TB> & v2)
|
|
1204
|
+
{
|
|
1205
|
+
auto viewv2 = v2.View();
|
|
1206
|
+
auto combsize = CombinedSize(v.Size(), v2.Height());
|
|
1207
|
+
for (size_t i = 0; i < combsize; i++)
|
|
1208
|
+
AtomicAdd (v(i), viewv2(i));
|
|
1209
|
+
}
|
|
1210
|
+
|
|
1211
|
+
|
|
1201
1212
|
}
|
|
1202
1213
|
|
|
1214
|
+
|
|
1215
|
+
|
|
1203
1216
|
namespace ngstd
|
|
1204
1217
|
{
|
|
1205
1218
|
template <typename ARCHIVE, int S, typename T>
|
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/libngsbem.dylib
CHANGED
|
Binary file
|
netgen/libngstd.dylib
CHANGED
|
Binary file
|
ngsolve/__init__.pyi
CHANGED
|
@@ -219,7 +219,7 @@ TET: fem.ET # value = <ET.TET: 20>
|
|
|
219
219
|
TRIG: fem.ET # value = <ET.TRIG: 10>
|
|
220
220
|
VERTEX: fem.NODE_TYPE # value = <NODE_TYPE.VERTEX: 0>
|
|
221
221
|
VOL: comp.VorB # value = <VorB.VOL: 0>
|
|
222
|
-
__version__: str = '6.2.2505-
|
|
222
|
+
__version__: str = '6.2.2505-94-geb7c3f7d9'
|
|
223
223
|
ds: comp.DifferentialSymbol # value = <ngsolve.comp.DifferentialSymbol object>
|
|
224
224
|
dx: comp.DifferentialSymbol # value = <ngsolve.comp.DifferentialSymbol object>
|
|
225
225
|
ngsglobals: comp.GlobalVariables # value = <ngsolve.comp.GlobalVariables object>
|
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.2505-
|
|
28
|
-
NGSOLVE_VERSION_GIT: str = 'v6.2.2505-
|
|
29
|
-
NGSOLVE_VERSION_HASH: str = '
|
|
27
|
+
NGSOLVE_VERSION: str = '6.2.2505-94-geb7c3f7d9'
|
|
28
|
+
NGSOLVE_VERSION_GIT: str = 'v6.2.2505-94-geb7c3f7d9'
|
|
29
|
+
NGSOLVE_VERSION_HASH: str = 'geb7c3f7d9'
|
|
30
30
|
NGSOLVE_VERSION_MAJOR: str = '6'
|
|
31
31
|
NGSOLVE_VERSION_MINOR: str = '2'
|
|
32
32
|
NGSOLVE_VERSION_PATCH: str = '2505'
|
|
33
|
-
NGSOLVE_VERSION_PYTHON: str = '6.2.2505.
|
|
34
|
-
NGSOLVE_VERSION_TWEAK: str = '
|
|
33
|
+
NGSOLVE_VERSION_PYTHON: str = '6.2.2505.post94.dev0'
|
|
34
|
+
NGSOLVE_VERSION_TWEAK: str = '94'
|
|
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.2505-
|
|
43
|
+
version: str = 'v6.2.2505-94-geb7c3f7d9'
|
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.2505-
|
|
33
|
-
NGSOLVE_VERSION_GIT = "v6.2.2505-
|
|
34
|
-
NGSOLVE_VERSION_PYTHON = "6.2.2505.
|
|
32
|
+
NGSOLVE_VERSION = "6.2.2505-94-geb7c3f7d9"
|
|
33
|
+
NGSOLVE_VERSION_GIT = "v6.2.2505-94-geb7c3f7d9"
|
|
34
|
+
NGSOLVE_VERSION_PYTHON = "6.2.2505.post94.dev0"
|
|
35
35
|
|
|
36
36
|
NGSOLVE_VERSION_MAJOR = "6"
|
|
37
37
|
NGSOLVE_VERSION_MINOR = "2"
|
|
38
|
-
NGSOLVE_VERSION_TWEAK = "
|
|
38
|
+
NGSOLVE_VERSION_TWEAK = "94"
|
|
39
39
|
NGSOLVE_VERSION_PATCH = "2505"
|
|
40
|
-
NGSOLVE_VERSION_HASH = "
|
|
40
|
+
NGSOLVE_VERSION_HASH = "geb7c3f7d9"
|
|
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.2505-
|
|
30
|
-
NGSOLVE_VERSION_GIT: str = 'v6.2.2505-
|
|
31
|
-
NGSOLVE_VERSION_HASH: str = '
|
|
29
|
+
NGSOLVE_VERSION: str = '6.2.2505-94-geb7c3f7d9'
|
|
30
|
+
NGSOLVE_VERSION_GIT: str = 'v6.2.2505-94-geb7c3f7d9'
|
|
31
|
+
NGSOLVE_VERSION_HASH: str = 'geb7c3f7d9'
|
|
32
32
|
NGSOLVE_VERSION_MAJOR: str = '6'
|
|
33
33
|
NGSOLVE_VERSION_MINOR: str = '2'
|
|
34
34
|
NGSOLVE_VERSION_PATCH: str = '2505'
|
|
35
|
-
NGSOLVE_VERSION_PYTHON: str = '6.2.2505.
|
|
36
|
-
NGSOLVE_VERSION_TWEAK: str = '
|
|
35
|
+
NGSOLVE_VERSION_PYTHON: str = '6.2.2505.post94.dev0'
|
|
36
|
+
NGSOLVE_VERSION_TWEAK: str = '94'
|
|
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.2505-
|
|
45
|
+
version: str = 'v6.2.2505-94-geb7c3f7d9'
|
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] = ('freedofs', 'fd', 'lu', '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
|
@@ -187,7 +187,7 @@ class BSpline2D:
|
|
|
187
187
|
|
|
188
188
|
"""
|
|
189
189
|
@typing.overload
|
|
190
|
-
def __call__(self, x:
|
|
190
|
+
def __call__(self, x: numpy.ndarray[numpy.float64], y: numpy.ndarray[numpy.float64]) -> typing.Any:
|
|
191
191
|
...
|
|
192
192
|
@typing.overload
|
|
193
193
|
def __call__(self, cx: CoefficientFunction, cy: CoefficientFunction) -> 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] = ('restart', 'norm', 'iterations', 'innerproduct')
|
|
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] = ('its', 'tol', 'plotrates', 'callback_sol', 'display', 'pre', 'callback', 'residuals', 'clear_output', 'plt', 'sol', 'atol', '_final_residual', 'ax', 'maxiter', 'mat', 'ress', 'fig', 'printrates', 'iterations')
|
|
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] = ('freedofs', 'r', 'a', 'inverse', 'inv', 'w', 'uh', 'lin_solver_args', 'u', 'rhs', 'lin_solver_cls')
|
|
12
12
|
@staticmethod
|
|
13
13
|
def Solve(*args, **kwargs):
|
|
14
14
|
...
|
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] = ('gf', 'a')
|
|
18
18
|
def Solve(self, rhs, *args, dirichlet = None, pre = None, printrates: bool = False, **kwargs):
|
|
19
19
|
...
|
|
20
20
|
def __eq__(self, other):
|
|
@@ -28,7 +28,7 @@ class Dirichlet:
|
|
|
28
28
|
...
|
|
29
29
|
class Equation:
|
|
30
30
|
__firstlineno__: typing.ClassVar[int] = 134
|
|
31
|
-
__static_attributes__: typing.ClassVar[tuple] = ('
|
|
31
|
+
__static_attributes__: typing.ClassVar[tuple] = ('rhs', 'lhs')
|
|
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] = ('dt', '
|
|
10
|
+
__static_attributes__: typing.ClassVar[tuple] = ('dt', '_lin_solver_cls', 'time', 'c', '_lin_solver_args', 'bfmstar', 'gfu_old')
|
|
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] = ('dt', '
|
|
19
|
+
__static_attributes__: typing.ClassVar[tuple] = ('dt', '_lin_solver_cls', 'time', 'c', '_lin_solver_args', 'bfmstar', 'gfu_old')
|
|
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] = ('dt', '
|
|
28
|
+
__static_attributes__: typing.ClassVar[tuple] = ('dt', '_lin_solver_cls', 'time', 'gfa_old', 'c', '_lin_solver_args', 'bfmstar', 'gfu_old', 'gfv_old')
|
|
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] = ('timings', '
|
|
35
|
+
__static_attributes__: typing.ClassVar[tuple] = ('timings', 'name', 'timings_par')
|
|
36
36
|
def CompareTo(self, folder):
|
|
37
37
|
"""
|
|
38
38
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: ngsolve
|
|
3
|
-
Version: 6.2.2505.
|
|
3
|
+
Version: 6.2.2505.post94.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.2505.
|
|
8
|
+
Requires-Dist: netgen-mesher==6.2.2505.post45.dev0
|
|
9
9
|
|