Commit Graph

118 Commits

Author SHA1 Message Date
Matthias Hochsteger
4c21f4f904 Fix meshing of INTERNAL faces with Opencascade 2023-08-16 18:39:49 +02:00
Christopher Lackner
c18a317702 register 1,2,3d elements to numpy to be used in arrays 2022-09-13 15:12:42 +02:00
Christopher Lackner
c71d142738 fix double segments in getedgetangent of boundarylayer 2022-06-09 15:32:41 +02:00
Matthias Hochsteger
b694b4667a rework build system, separate gui and non-gui code
move fieldlines code to meshing dir

move visualization function pointers to meshing directory

DLL_HEADER -> NGGUI_API in visualization lib

move soldata.hpp to meshing

update occ, no freetype necessary anymore
2022-05-05 14:39:31 +02:00
Matthias Hochsteger
9cc6fc933d evalute localh in multiple points and take average
- also apply combine improve (2d) in both directions
- new test results
2022-04-13 12:44:45 +02:00
mhochsteger@cerbsim.com
d2348a7651 optimize occ surfaces individually again, update test results 2022-03-02 15:42:44 +01:00
mhochsteger@cerbsim.com
7f5b288c51 fix GenerateBoundaryLayer for new OCC meshes with single segments (not one segment per adjacent face) 2022-02-24 19:28:34 +01:00
mhochsteger@cerbsim.com
0f6dd37aa2 new meshing results 2022-02-23 21:23:41 +01:00
mhochsteger@cerbsim.com
a68cd9f89a fix parallel surface optimization
update test results
2022-02-15 19:09:53 +01:00
mhochsteger@cerbsim.com
2d3c0e7186 add tests for occ identifications 2021-12-16 21:15:52 +01:00
mhochsteger@cerbsim.com
45bd63810a update test results 2021-11-30 19:43:32 +01:00
mhochsteger@cerbsim.com
06031e665a set default bcname to valid string pointer, some occ tests 2021-11-29 11:13:40 +01:00
mhochsteger@cerbsim.com
d9e8b815f5 pip installer 2021-10-27 16:51:41 +02:00
Matthias Hochsteger
dd1c130721 (temporarily) skip occ tests 2021-07-26 09:37:07 +02:00
Joachim Schoeberl
56e848eea9 pywrapping occ 2021-07-24 19:53:30 +02:00
Joachim Schoeberl
057d6a4ed4 change number of volelements due to different surf-meshing 2021-07-24 16:33:39 +02:00
Joachim Schoeberl
c543b03401 change number of surf elements due to different surf-meshing 2021-07-24 16:27:10 +02:00
Matthias Hochsteger
2231c06efb new results 2021-07-19 12:22:18 +02:00
Matthias Hochsteger
8baccf0a08 some fixes, new test results 2021-06-28 17:48:21 +02:00
Matthias Hochsteger
5ec753452e fix 2021-06-16 15:36:14 +02:00
Matthias Hochsteger
479efea50f test results 2021-06-16 15:25:28 +02:00
Matthias Hochsteger
167df9feb9 test pickling also non-empty mesh 2021-06-14 10:39:57 +02:00
Matthias Hochsteger
9488485f22 update results 2021-06-14 10:39:57 +02:00
Matthias Hochsteger
97623db219 Mesh 3d domains in parallel
To get consistent results, copy the LocalH tree in BlockFillLocalH
2021-06-14 10:39:57 +02:00
Matthias Hochsteger
5e3505b897 faster SwapImprove after delaunay
also new test results
2021-06-14 10:39:57 +02:00
Matthias Hochsteger
2a17451c96 consistent criterion for conformance optimization in SwapImprove
Only small effect on output Meshes
2021-06-10 11:04:41 +02:00
Matthias Hochsteger
f7a08df155 Use sum of badnesses and not average value in CombineImprove in 2D 2021-05-14 17:55:09 +02:00
Matthias Hochsteger
7baea9801e adapt test results ( one test case removed ) 2021-05-14 17:39:06 +02:00
Christopher Lackner
21ef833bbd very fine extrusion has problems in tests... 2021-04-15 19:31:36 +02:00
Christopher Lackner
4e2d2943f6 fix csg extrusion 2021-04-13 12:11:10 +02:00
Christopher Lackner
15380a2618 Revert "more stable boundarylayer, also cut prisms at outside"
This reverts commit d2dc84b02c.
2021-03-29 18:05:09 +02:00
Christopher Lackner
d2dc84b02c more stable boundarylayer, also cut prisms at outside 2021-03-29 14:02:00 +02:00
Matthias Hochsteger
3397e3bb9d Merge branch 'fix_swapimprove' into 'master'
Fix SwapImprove

See merge request jschoeberl/netgen!370
2021-03-02 11:08:13 +00:00
Christopher Lackner
f11cb4fcfb boundarylayers - inner corners at end of layer now possible too 2021-03-02 11:47:40 +01:00
Matthias Hochsteger
d7d12ac53d Don't swap very bad elements in SwapImprove
Changes meshing -> new test results
2021-03-01 10:08:00 +01:00
Matthias Hochsteger
6f74a1580b add test for csg2d, set maxh 2021-01-14 17:37:38 +01:00
Matthias Hochsteger
ba7fc03800 use pytest-check 2021-01-13 08:40:52 +01:00
Matthias Hochsteger
ccc686830a some more tests for csg2d 2021-01-12 18:07:58 +01:00
Matthias Hochsteger
fbeb6137eb Fix SwapImprove2
Don't allow swaps if an adjacent element was deleted in the current
optimization pass. Also update test restults.
2020-11-25 17:55:44 +01:00
Christopher Lackner
7e78056ade Boundarylayer grows pyramids if created on interior bnd 2020-11-23 23:48:49 +01:00
Christopher Lackner
6b30ec0b7c test case for leftdom==rightdom in geom2d 2020-11-19 21:54:58 +01:00
Christopher Lackner
609cbbcadf rewrite create boundarylayer function (now more efficient and stable
and easier)
2020-11-17 18:43:39 +01:00
Christopher Lackner
0d339a7443 Merge branch 'master' into boundarylayers 2020-11-13 13:24:01 +01:00
Matthias Hochsteger
de76069283 CSG2d bugfix
Fixes bug in IsInside(p) test for splines if p lies on an edge of the surrounding triangle.
Do a fast check using (new) function IsCloseToTrig() instead of IsInsideTrig().
2020-11-11 16:03:09 +01:00
Christopher Lackner
7beb82af04 Merge branch 'master' into boundarylayers 2020-11-11 12:09:59 +01:00
Matthias Hochsteger
dae6ded752 fix test (csg2d interface change) 2020-11-06 11:51:15 +01:00
Christopher Lackner
ffb98ee68f add test for boundarylayers on splitted surfaces 2020-11-03 21:59:32 +01:00
Christopher Lackner
9578e4a41d add project to boundary in boundarylayer and correctly treat inverse boundaries 2020-11-03 12:28:13 +01:00
Christopher Lackner
d40c05b1b1 fix not working boundarylayer test 2020-10-27 16:53:07 +01:00
Matthias Hochsteger
b28a1bc5cc update test results 2020-10-19 15:45:16 +02:00