Matthias Hochsteger
888ffeaa05
Fix disabling curving of edges
2024-12-13 09:55:15 +01:00
Matthias Hochsteger
46461fd166
Boundary layers - interpolate accross "inner" edges
...
Inner edges meaning that it's adjacent to two moved faces which have the
same normal vector (there is no kink at this edge)
2024-12-12 23:30:24 +01:00
Matthias Hochsteger
8101aa14d9
Merge remote-tracking branch 'origin/master' into boundarylayer_fixes
2024-12-12 17:46:37 +01:00
Matthias Hochsteger
36cdde4889
Use unnamed namespace for struct Line in basegeom.cpp
...
See https://github.com/NGSolve/netgen/issues/198
2024-12-06 11:15: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
Joachim Schoeberl
c3e27a1792
fix warning
2024-12-04 08:11:43 +01:00
Matthias Hochsteger
3bfa6c19fa
Fix build warnings (found with gcc -Wall)
2024-12-03 18:58:12 +01:00
Matthias Hochsteger
0c1943c77b
Fix bug in nginterface (discovered by 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
8c1882226c
missed waits
2024-12-01 17:19:45 +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
Joachim Schoeberl
a4c6655fa7
tolerance in CrossPointBarycentric
2024-11-29 13:01:34 +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
Matthias Hochsteger
1c6d53f387
Manage global JacobiPols array inside struct
...
Works around emscripten issue, where the global array was not
constructed properly
2024-11-27 18:54:32 +01:00
Joachim Schoeberl
7570468686
bcast material etc names using ibcast
2024-11-26 13:29:14 +01:00
Joachim Schoeberl
a86d231714
check for num=0 before memcpy
2024-11-25 17:25:40 +01:00
Matthias Hochsteger
22797971f6
Cleanup Abaqus export, implement 1d and 2d elements
2024-11-25 16:27:34 +01:00
Matthias Hochsteger
dd6638b1ab
Mesh::GetRegionName(element_or_elindex)
2024-11-25 16:27:34 +01:00
Lackner, Christopher
7d483dcade
Merge branch 'free_edges' into 'master'
...
OCC - support free-floating edges in solids
See merge request ngsolve/netgen!687
2024-11-25 14:14:47 +01:00
Hochsteger, Matthias
3e30ad9b75
OCC - support free-floating edges in solids
2024-11-25 14:14:47 +01:00
Matthias Hochsteger
44611e668c
Fix Segfault in MPI ReceiveMesh
...
See https://github.com/NGSolve/netgen/issues/196
2024-11-25 13:56:39 +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
Christopher Lackner
22a251e4fd
optional name in wp.Close for last edge
2024-11-05 14:58:30 +01:00
Matthias Hochsteger
629cca9413
Use std::tuple<double,double> instead of py::tuple with length and type checks
2024-11-05 10:46:08 +01:00
Christopher Lackner
45acbbf6ef
use std invalid argument instead of Exception in py constructor
2024-11-05 07:55:23 +01:00
Matthias Hochsteger
109224ebd4
Manually limit boundary layer thickness at special points
2024-10-31 16:55:49 +01:00
Matthias Hochsteger
33e76840b9
Write separate mesh with only quads on open quads error
2024-10-31 16:54:59 +01:00
Matthias Hochsteger
c27dbdef30
Fix growth vector calculation (do more vector reduction to avoid strange results from inverting badly conditioned matrix)
2024-10-31 15:49:41 +01:00
Matthias Hochsteger
c27650af0a
Remove debug output
2024-10-30 21:54:04 +01:00
Matthias Hochsteger
9f3ccbb9d0
Fix CheckLimits
2024-10-30 21:53:57 +01:00
Matthias Hochsteger
e7e15069f3
Fix seg/trig intersection tolerance
2024-10-30 21:53:36 +01:00
Matthias Hochsteger
0a2479bf00
Some fixes in growth vector limitation
2024-10-30 13:46:24 +01:00
Matthias Hochsteger
99be6bbc0e
Don't add new segments in blayer if 'only_add_volume_elements' is set
2024-10-25 15:04:34 +02:00
Matthias Hochsteger
4f927f5469
Fix abort criteria in boundarylayer thickness limitation
2024-10-24 17:10:10 +02:00
Matthias Hochsteger
7f294a582c
Throw error earlier in intersection-check, utility function to write mesh on error
2024-10-24 16:58:27 +02:00
Matthias Hochsteger
aa2e0ace99
Stop blayer limitation if 1e-10 is reached, and throw an Exception
2024-10-24 15:50:44 +02:00
Matthias Hochsteger
72e25d45a4
Only check for self-intersection on moved boundaries
2024-10-24 15:50:21 +02:00
Matthias Hochsteger
54e5de4395
Write debug output only if debugparam.debugoutput is set
2024-10-24 11:35:35 +02:00
Matthias Hochsteger
be79facdb3
Stop meshing if boundarylayer thickness limitation reaches 1e-10
2024-10-24 11:32:13 +02:00
Matthias Hochsteger
600b33edd6
Write debug output only if debugparam.debugoutput is set
2024-10-24 11:31:54 +02:00
Matthias Hochsteger
6aa634ce1f
Merge remote-tracking branch 'origin/master' into boundarylayer_fixes
2024-10-24 11:08:58 +02:00
Joachim Schoeberl
9a7a9fa445
remove unused variable
2024-10-19 14:38:48 +02:00
Christopher Lackner
b981d45069
enable periodic + closesurface identification on same boundaries
2024-10-16 19:42:57 +02:00