Commit Graph

556 Commits

Author SHA1 Message Date
Joachim Schoeberl
0b480f1eab little polish of hashtable 2025-01-04 12:09:38 +01:00
Joachim Schoeberl
eefeca571b polish in meshtype 2025-01-03 11:37:09 +01:00
Joachim Schoeberl
0497dc25fd fix archive hashtable 2025-01-03 00:11:29 +01:00
Joachim Schoeberl
e926071bb2 archiving ngscore::CloseHashTable 2025-01-01 16:42:11 +01:00
Joachim Schoeberl
b7b168e265 base Index template 2024-12-31 12:16:53 +01:00
Joachim Schoeberl
4a9188da61 more use of ElementIndex, T_Range<T>(size_t) is now explicit 2024-12-29 21:36:37 +01:00
Joachim Schoeberl
fd0421d573 more ngcore arrays 2024-12-29 17:23:35 +01:00
Joachim Schoeberl
a2ea0c407a more general ClosedHashTable, e.g. hash for tuples 2024-12-29 15:42:21 +01:00
Joachim Schoeberl
a5ce9915d1 compare PointIndex only with PointIndex 2024-12-28 22:58:44 +01:00
Joachim Schoeberl
00e3a3490b some index fixes 2024-12-28 19:46:29 +01:00
Joachim Schoeberl
10a56a9e86 PointIndex in improve2gen 2024-12-28 10:35:18 +01:00
Joachim Schoeberl
386edbf75e t_size(-1) 2024-12-26 20:56:49 +01:00
Joachim Schoeberl
f87aefbcc9 GetTable 2024-12-26 20:41:49 +01:00
Joachim Schoeberl
1a610b060f CompressedTable(Creator) 2024-12-26 20:29:38 +01:00
Joachim Schoeberl
a675c42d89 more PointIndex 2024-12-26 16:32:50 +01:00
Joachim Schoeberl
9c9b4ea880 switch to ngcore::ClosedHashTable 2024-12-26 15:06:50 +01:00
Joachim Schoeberl
73bcb1bd29 PointIndex in bisect 2024-12-23 19:24:48 +01:00
Joachim Schoeberl
975414c2fe auto difference type 2024-12-18 08:18:40 +01:00
Joachim Schoeberl
c7adfee5d8 include 'ranges.hpp' to ngcore 2024-12-04 23:03:53 +01:00
Joachim Schoeberl
6f8e4e9f5f more constexpr 2024-12-04 16:05:50 +01:00
Matthias Hochsteger
3bfa6c19fa Fix build warnings (found with gcc -Wall) 2024-12-03 18:58:12 +01:00
Matthias Hochsteger
32e0026128 Some memory tracer fixes/features
If range checks are enabled:
- Trace all objects
- Check if memory usage never gets negative
- Check if memory usage is 0 in destructor
- Track total memory usage (use pyngcore.GetTotalMemory())
2024-12-03 18:58:07 +01:00
Joachim Schoeberl
9935d877cc mpi cleanup 2024-12-01 18:55:01 +01:00
Joachim Schoeberl
75504c3a6d mpi-dummies 2024-12-01 16:06:09 +01:00
Joachim Schoeberl
eead94dfc1 mpirequests::Reset 2024-12-01 13:31:07 +01:00
Joachim Schoeberl
ad5c50eef5 fix size_t-1 problem (got warning in ngsxfem) 2024-12-01 09:34:52 +01:00
Matthias Hochsteger
516c089c42 Fix build error 2024-11-27 21:55:11 +01:00
Joachim Schoeberl
ebf4d4d1b8 fix non-mpi 2024-11-27 21:29:43 +01:00
Joachim Schoeberl
14c39f8283 introduce NgMPI_Request(s) 2024-11-27 21:16:48 +01:00
Joachim Schoeberl
7570468686 bcast material etc names using ibcast 2024-11-26 13:29:14 +01:00
Matthias Hochsteger
9e80e5f195 Fix MPICH compatibility
When building without MPI wrapper: Use preprocessor macros instead of global variables for MPI symbols

See https://github.com/NGSolve/netgen/issues/196
2024-11-25 11:20:32 +01:00
Matthias Hochsteger
e2a20a44bc Put IsSafe to ngcore namespace, separate functions for range check macros for readability 2024-11-20 20:53:35 +01:00
Matthias Hochsteger
a8309fae1c Update d3, fix styles in timing html chart 2024-10-08 13:59:30 +02:00
Matthias Hochsteger
267830387f PajeTrace - option to write only (small) html charts and no trace file 2024-10-08 13:58:23 +02:00
Hochsteger, Matthias
d73cffd0c7 Fix TextOutArchive (Win) -> TextInArchive (Unix) incompatibility 2024-09-18 17:48:36 +02:00
Matthias Hochsteger
67a67a453d Fix copying BitArray in immediate operators in python bindings 2024-09-12 11:11:15 +02:00
Matthias Hochsteger
508136b533 Fix memory leak in TaskManager (thx @roystgnr) 2024-09-02 10:15:28 +02:00
Matthias Hochsteger
00664898c3 Fix building with USE_NUMA 2024-09-02 10:14:04 +02:00
Christopher Lackner
334c3fe702 fix size of me in mt swap in array move constructor 2024-08-27 18:33:36 +02:00
Joachim Schoeberl
53b08efc6a remove commented code 2024-07-20 10:38:01 +02:00
Joachim Schoeberl
cb8c7850ba fix (false) warnings 2024-07-20 10:25:45 +02:00
Joachim Schoeberl
487942bc22 ThrowRangeException with [[noreturn]] 2024-07-19 22:30:34 +02:00
Joachim Schoeberl
3c9f98b38d save index bypasses range-check 2024-07-19 12:33:56 +02:00
Joachim Schoeberl
8f762bc33d std::move in register_archive 2024-07-18 18:57:06 +02:00
Matthias Hochsteger
62d2e4fba5 Copy ctor for IVec 2024-07-18 15:07:41 +02:00
Joachim Schoeberl
4fd89120b8 sqr is constexpr 2024-07-18 09:44:45 +02:00
Joachim Schoeberl
ad99e5fdea Exception::Throw 2024-07-17 18:01:59 +02:00
Joachim Schoeberl
ba472f7a11 Exception::Throw 2024-07-17 17:58:38 +02:00
Joachim Schoeberl
357ff7badf exception with stringview 2024-07-17 12:01:59 +02:00
Joachim Schoeberl
b6b20be30b IVec with HTArray 2024-07-16 19:20:07 +02:00