Commit Graph

213 Commits

Author SHA1 Message Date
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
Matthias Hochsteger
16b88e8e67 OCC Mesher Cleanup 2021-11-28 15:14:41 +00:00
mhochsteger@cerbsim.com
f95332d0a1 archive optional<T> 2021-11-10 18:36:55 +01:00
mhochsteger@cerbsim.com
34cdd4a1d7 build pip avx2 packages 2021-11-08 18:28:36 +01:00
mhochsteger@cerbsim.com
3910b29b0b also update pip platform on macos to 10.15 2021-11-04 13:03:46 +01:00
mhochsteger@cerbsim.com
d9e8b815f5 pip installer 2021-10-27 16:51:41 +02:00
Christopher Lackner
06d20906c4 always link netgen_python, remove unnecessary include dir 2021-09-29 11:32:01 +02:00
Christopher Lackner
596643a33c link netgen_python instead of ${PYTHON_LIBRARIES} 2021-09-29 10:19:02 +02:00
Christopher Lackner
bd29763b16 Add std::any to py::object caster for archive registered types 2021-09-28 22:34:11 +02:00
Matthias Hochsteger
40daa0327c Update OCC 2021-09-02 12:52:34 +00: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
6b41cdac9f install pytest-check 2021-01-15 14:32:56 +01:00
Matthias Hochsteger
6f74a1580b add test for csg2d, set maxh 2021-01-14 17:37:38 +01:00
Matthias Hochsteger
b21f04ddcb Update Ubuntu for tests to 20.10 2021-01-14 17:37:21 +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
Matthias Hochsteger
397ef354a3 test with range checks enabled 2020-10-19 15:18:42 +02:00
Matthias Hochsteger
dab18a1c8a optimize CalcPartition() and PartitionBoundary()
new test results (2d meshing behaviour is changed with this commit)
2020-10-16 18:48:22 +02:00
Matthias Hochsteger
97dfecd040 fix test 2020-10-16 17:58:52 +02:00
Christopher Lackner
1a051ec555 export Polyhedra to Python and add test case 2020-10-16 12:05:03 +02:00
Christopher Lackner
1666155d25 add range adaptors (filter, transform) 2020-09-19 17:39:03 +02:00
Matthias Hochsteger
2a7d6bb55e csg2d - fix overlap detection, test 2020-08-28 18:35:35 +02:00
Matthias Hochsteger
f2b9251032 csg2d - tests 2020-08-28 17:28:35 +02:00
Matthias Hochsteger
e4ef03caac test with Ubuntu 20.04 2020-07-31 12:21:03 +02:00
Matthias Hochsteger
2290d9fe72 mpi4py test 2020-07-29 20:43:33 +02:00
Matthias Hochsteger
eb75bc31a6 mpi4py support 2020-07-29 17:23:26 +02:00
Matthias Hochsteger
c0b8b1c0cc Parallel SplitImprove2, update test results
Due to prallelization, the order of splits is changed (sort by
    improvement of badness, like in other optimization passes)
2020-07-27 14:26:45 +02:00
Matthias Hochsteger
b689d13efe SplitImprove2 - optimize only bad elements, update results 2020-07-23 13:18:14 +02:00
Matthias Hochsteger
ce8ba71f33 Fix SwapImprove 2020-07-15 17:26:39 +00:00
Christopher Lackner
ec3d7c3ec9 boundarylayer fixes 2020-07-14 21:30:26 +02:00
Matthias Hochsteger
c0f50820cb Add test for SetDomainTensorMeshing 2020-06-08 10:54:02 +02:00
Christopher Lackner
d752ada2bd improve functionality of boundarylayer 2020-04-23 15:44:32 +02:00
Christopher Lackner
58e6e5dc18 modernize and improve GenerateBoundaryLayer 2020-04-19 20:00:06 +02:00
Matthias Hochsteger
2615b0911e Fix CGNS code for version < 3.4
Install libhdf5 on ubuntu test (cgns depends on it)
2020-03-11 17:43:36 +01:00
Matthias Hochsteger
db5ad09b79 Initial CGNS format read support 2020-03-11 13:39:40 +01:00
Matthias Hochsteger
7582548b8c [gitlab-ci] Run slow tests only in ubuntu-mpi build 2019-11-19 09:54:00 +01:00
Matthias Hochsteger
2faf16e8cf Update test results 2019-11-19 09:54:00 +01:00
Matthias Hochsteger
96a9141199 [testing] Increase tolerance for angles 2019-10-31 16:51:13 +01:00
Matthias Hochsteger
9ebc6b00f3 [testing] update results 2019-10-31 15:38:40 +00:00
Matthias Hochsteger
94d0a5a585 [cmake] Set interface include dir for ngcore 2019-10-30 13:56:49 +01:00
Matthias Hochsteger
3acadc023f Rework on 3D SplitImprove
- Try (expensive) split operation only if badness > 100 (of any adjacent
        tet) and badness > 0.1 * badness_max
- Use FindInnerPoint before BFGS to ensure valid starting point (similar
        as in ImproveMesh() )
- Skip valid tets if goal==OPT_LEGAL (as in sequential version)
2019-10-29 17:58:37 +01:00
Matthias Hochsteger
2a51bf76c1 [testing] Add results for OCC 7.4, skip tests on Ubuntu (with OCC 7.3) 2019-10-28 15:11:42 +01:00
Matthias Hochsteger
93874d6296 [testing] Use libocct instead of liboce 2019-10-28 14:21:39 +01:00
Matthias Hochsteger
63aab9076c parallel SplitImprove 2019-10-28 09:38:53 +01:00
Matthias Hochsteger
a13cc21d3f add script compare_results.py 2019-10-24 18:57:43 +02:00
Matthias Hochsteger
ab024c2e6c Sort edges by improvement in SwapImprove2 2019-10-24 18:04:56 +02:00
Matthias Hochsteger
6fb8f90a73 Sort edges by improvement in SwapImprove 2019-10-24 17:40:20 +02:00
Matthias Hochsteger
ffcf2c7373 [testing] Check for min/max trig/tet angles 2019-10-24 10:02:00 +02:00
Matthias Hochsteger
91815955f5 Test in2d files, update results 2019-10-23 13:44:33 +02:00
Matthias Hochsteger
8118190af4 allow small deviations in quality class 2019-10-18 16:20:19 +02:00
Matthias Hochsteger
c98ecafa2f Update results 2019-10-18 14:27:34 +02:00
Matthias Hochsteger
7c96e22a60 Remove one test case with inconsistent results 2019-10-14 17:59:45 +02:00
Matthias Hochsteger
6ca6a5e791 CombineImprove() 2D: optimize all faces at once 2019-10-14 16:21:24 +02:00
Matthias Hochsteger
0f095281d9 Parallel 2d CombineImprove() (also sort by improvement) 2019-10-14 16:02:11 +02:00
Matthias Hochsteger
294fbb0e6f Loop over edges in CombineImprove() 2019-10-14 14:04:10 +02:00
Matthias Hochsteger
59c355dbed New Table for elementsonnode 2019-10-14 11:49:23 +02:00
Matthias Hochsteger
268f2466f0 Parallel 2d MeshImprove 2019-10-10 15:44:57 +02:00
Matthias Hochsteger
18bdd9df93 Build neighbors list in parallel
Check in new results (part1.stl does not mesh with very_coarse anymore)
2019-10-08 19:26:43 +02:00
Matthias Hochsteger
f24a749fb2 Parallel MeshOptimize2d::EdgeSwapping() (individual faces) 2019-10-08 17:29:38 +02:00
Matthias Hochsteger
865aca0ba0 Implement MeshOptimizeSTLSurface::ProjectPointGI 2019-10-08 14:40:40 +02:00
Matthias Hochsteger
cedc0657a3 updated results 2019-10-08 12:04:40 +02:00
Joachim Schöberl
6d21ef01d9 updated results 2019-10-08 00:26:44 +02:00
Christopher Lackner
f9c462e94e add plane test 2019-10-07 13:41:15 +02:00
Christopher Lackner
b0f13a1f20 fix parsing of stl parameters from python 2019-10-07 12:56:12 +02:00
Matthias Hochsteger
18830a0a71 Check for number of 1d and 2d elements
Store test results in .json
2019-10-07 09:45:08 +00:00