Commit Graph

298 Commits

Author SHA1 Message Date
Matthias Hochsteger
dd85220021 Clean up debugging code 2024-09-27 11:42:11 +02:00
Matthias Hochsteger
e26513814f Merge remote-tracking branch 'origin/master' into boundarylayer_fixes 2024-09-26 20:04:49 +02:00
Matthias Hochsteger
a504372f82 Fix Mesh::GetSubMesh for 2d meshes 2024-09-05 14:46:57 +02:00
Matthias Hochsteger
75fbd86a7a Merge remote-tracking branch 'origin/master' into boundarylayer_fixes 2024-09-04 15:59:38 +02:00
Joachim Schoeberl
bb3c3ff565 fix warning 2024-09-03 11:11:51 +02:00
Christopher Lackner
bda192ba90 write identification names into mesh 2024-08-30 11:01:03 +02:00
Christopher Lackner
1772e01edb update IdentifyPeriodicBoundaries to also support 2d meshes (and more stable) 2024-08-26 16:37:08 +02:00
Christopher Lackner
d72801d19a fix IdentifyPeriodic points in mesh in 2d mesh 2024-08-26 11:13:56 +02:00
Joachim Schoeberl
e075d32f14 fix unused warning 2024-07-16 16:50:28 +02:00
Joachim Schoeberl
304ce7364a mpi-send of 0D-elements 2024-07-14 20:38:36 +02:00
Joachim Schoeberl
f1e06f0a6d pickling 0D-elements 2024-07-12 18:21:46 +02:00
Matthias Hochsteger
da743467fb Fix reading face_colors and face_transparencies for faces without attached geometry surface 2024-07-10 10:36:03 +02:00
Christopher Lackner
eff5e946f7 fix export of submesh faces 2024-06-20 11:12:01 +02:00
Matthias Hochsteger
a778c606d2 Merge remote-tracking branch 'origin/master' into boundarylayer_fixes 2024-05-14 15:49:03 +02:00
Hochsteger, Matthias
335b926f8b Runtime MPI wrapper 2024-05-13 13:43:53 +02:00
Matthias Hochsteger
20e89de7e9 Merge remote-tracking branch 'origin/master' into boundarylayer_fixes 2024-04-04 10:46:34 +02:00
Matthias Hochsteger
d8beec758e Fix Mesh::operator=
- assign pointelements
- sometimes region names were not copied correctly
- add some basic pytests for Mesh.Copy()
2024-03-27 21:03:45 +01:00
Matthias Hochsteger
7b54f95a27 Utility function to extract a subregion of the mesh 2024-03-25 18:02:33 +01:00
Matthias Hochsteger
29c6b8e06f Fix Mesh::operator=
bcnames are now stored in FaceDescriptor (as string members, no
pointers), so the name mapping must be applied to materials/bcnames
(depending on the mesh dimension).
2024-03-25 18:00:29 +01:00
Matthias Hochsteger
4a95414ec8 Merge remote-tracking branch 'origin/master' into boundarylayer_fixes 2024-02-29 09:45:11 +01:00
Matthias Hochsteger
0d481b1104 Use badness stored in Element 2024-02-23 18:20:14 +01:00
Matthias Hochsteger
86d47b5614 Merge remote-tracking branch 'origin/master' into boundarylayer_fixes 2024-02-19 09:23:33 +01:00
Matthias Hochsteger
4e31878f89 Utility function to split faces when they have more than two adjacent domains 2024-02-14 09:46:39 +01:00
Matthias Hochsteger
cee5d55b7d Fix dangling reference in ZRefinement 2024-02-12 07:12:17 -08:00
Matthias Hochsteger
dd68bae1a3 Merge remote-tracking branch 'origin/master' into boundarylayer_fixes 2024-02-09 12:01:54 +01:00
Matthias Hochsteger
852f5bf32e Remove debug output, identify points only when needed, fix compress with
identified points
2024-02-09 12:01:28 +01:00
Christopher Lackner
282c3e5c0a fix glued point in sphere (was removed by compress) 2024-02-07 15:05:03 +01:00
Matthias Hochsteger
3d46d7e439 try to compress identifications 2024-01-19 17:51:46 +01:00
Matthias Hochsteger
d09c00796b Merge remote-tracking branch 'origin/master' into boundarylayer_fixes 2024-01-08 10:38:12 +01:00
Matthias Hochsteger
ce308a3373 some more bugfixing 2024-01-08 10:29:16 +01:00
Joachim Schoeberl
87b65fb5ff remove warnings 2024-01-05 20:07:04 +01:00
Christopher Lackner
95ca834605 move namespaces in meshing.hpp into headers 2023-09-04 13:43:47 +02:00
Hochsteger, Matthias
90729810d4 Archive with nondefault constructor 2023-08-28 10:02:22 +02:00
Joachim Schoeberl
e1f7935f0b fixing warnings 2023-08-05 12:01:01 +02:00
Joachim Schoeberl
227b269b5c GetEdgeVertices -> tuple 2023-07-30 22:29:54 +02:00
Hochsteger, Matthias
11da083507 Emscripten support 2023-07-28 13:01:41 +02:00
Christopher Lackner
64f16e0e6f fix typo in center face 2023-06-20 14:28:17 +02:00
Matthias Hochsteger
2ad56cd7ef Add edge/face midpoints to bounding box in element search tree 2023-06-20 12:44:18 +02:00
Joachim Schoeberl
472073c22b counting num vertices in parallel 2023-05-21 14:35:09 +02:00
Christopher Lackner
6fcfdc7def fix typo in divide segments in zrefine 2023-04-19 12:07:45 +02:00
Christopher Lackner
b12d40a0c0 add missing check for lam range in PointContainedIn2DElement in Quad 2023-04-11 22:00:38 +02:00
Schöberl, Joachim
4737063653 Merge branch 'smaller_tol_in_pointin2delement' into 'master'
use outer smaller (1e-6) tolerance in check if points are on quad edges

See merge request ngsolve/netgen!562
2023-03-30 16:51:03 +02:00
Christopher Lackner
867549c3af use outer smaller (1e-6) tolerance in check if points are on quad edges 2023-03-23 14:57:30 +01:00
Christopher Lackner
72a34f9fe1 PointInElement2d use newton in nonlinear quad, better startpoint for
Newton in trig
2023-03-23 14:55:18 +01:00
Matthias Hochsteger
cec87bb2ff skip deleted elements in tables 2023-02-08 16:18:07 +01:00
Matthias Hochsteger
290d0eee52 Respect mp.only3d_domain_nr in volume mesh optimization 2023-01-18 12:42:51 +01:00
Christopher Lackner
c18a317702 register 1,2,3d elements to numpy to be used in arrays 2022-09-13 15:12:42 +02:00
Matthias Hochsteger
47de18a508 Avoid loading geometry from mesh file twice
Ng_LoadMesh() tries to read the geometry from the mesh file. If it was
read before by Mesh::Load(), the preloaded geometry is replaced by
ng_geometry (which might be garbage)

This is a mere workaround, not a clean solution (Mesh::Load() should
handle everything, including MPI distribution of geometry)
2022-07-06 14:07:17 +02:00
Joachim Schoeberl
aa00749f97 fix some deprecated 2022-04-29 13:05:38 +02:00
Christopher Lackner
8c7d69c1d1 setnextmayortimestamp in mesh.ZRefine 2022-04-11 13:05:14 +02:00