Commit Graph

160 Commits

Author SHA1 Message Date
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
Matthias Hochsteger
04de18d0b4 Check badness quality in tests 2019-10-04 10:25:14 +00:00
Matthias Hochsteger
dda679164b Merge branch 'array_to_numpy' into 'master'
array numpy buffer protocol

See merge request jschoeberl/netgen!235
2019-09-11 12:02:21 +00:00
Christopher Lackner
485d9f230b platform independent and readable names for array export suffix 2019-09-11 13:04:50 +02:00
Matthias Hochsteger
326aec1250 Increase timeout for long tests even more 2019-09-11 12:09:38 +02:00
Christopher Lackner
59087f5c2c make array name platform independent 2019-09-11 08:27:04 +02:00
Christopher Lackner
5288af641c array numpy buffer protocol 2019-09-10 23:01:05 +02:00
Matthias Hochsteger
728196472e [cmake] Increase timeout of pytests 2019-09-10 11:09:08 +02:00
Matthias Hochsteger
8ab8a8f7fa Test parallel mesh generation 2019-09-09 23:41:50 +02:00
Matthias Hochsteger
48086d343c Merge branch 'dont_run_slow_tests' into 'master'
Dont run slow tests

See merge request jschoeberl/netgen!226
2019-08-29 16:58:33 +00:00
Christopher Lackner
23a6231c21 mark only slow tutorials as slow 2019-08-29 17:56:47 +02:00
Christopher Lackner
7afbe4d7d1 mark test tutorials as slow test 2019-08-29 17:37:35 +02:00
Matthias Hochsteger
5624d322d6 [gitlab-ci] Dependencies for build jobs, push to github immediately 2019-08-29 15:57:55 +02:00
Matthias Hochsteger
b27f7f3bb6 Add BitArray from NGSolve
Deprecate method BitArray::Set(), instead use either SetBit() or
SetBitAtomic()
2019-08-28 16:40:21 +02:00
Christopher Lackner
bfab54b450 install occ in docker 2019-08-27 11:05:04 +02:00
Christopher Lackner
dcdd92b8b1 ubuntu debug test with occ 2019-08-27 11:02:14 +02:00
Christopher Lackner
408f1d76b1 add missing include, new test results 2019-08-27 10:40:03 +02:00
Matthias Hochsteger
787e3870e1 Fix unit tests (long is 32bit on Windows!!) 2019-08-22 12:57:36 +02:00
Christopher Lackner
878d68fd77 link nglib and not mesh for windows 2019-08-22 10:29:42 +02:00
Christopher Lackner
ff3e88e024 enable catch unit tests 2019-08-22 10:17:57 +02:00
Joachim Schöberl
ca57759604 Merge branch 'test_occ_tutorials' into 'master'
test occ tutorials and test with python default parameters

See merge request jschoeberl/netgen!206
2019-08-21 16:24:31 +00:00
Christopher Lackner
80aabd4110 test occ files only when compiled with support 2019-08-21 17:28:09 +02:00
Christopher Lackner
a363524a98 more range tests 2019-08-21 10:00:31 +02:00
Christopher Lackner
6c71982951 Range(obj) does respect index type now. If obj has a function Range it
calls the function
2019-08-20 18:16:03 +02:00
Christopher Lackner
8855bc8652 test occ tutorials and test with python default parameters 2019-08-19 20:33:49 +02:00
Matthias Hochsteger
f33b9f826a [gitlab-ci] Debug build/test 2019-08-15 04:55:46 +00:00
Matthias Hochsteger
f570f31de9 Export ngcore Arrays 2019-08-12 17:47:50 +02:00
Joachim Schöberl
44264ad4bd Merge branch 'test_tutorials' into 'master'
Test tutorials

See merge request jschoeberl/netgen!190
2019-08-08 20:03:06 +00:00
Matthias Hochsteger
5b913ca7e6 Atomic utility functions 2019-08-08 14:08:09 +02:00
Christopher Lackner
d7777b10ca add tests for tutorials 2019-08-08 10:12:33 +02:00
Christopher Lackner
1139c1fe0c fix test 2019-08-06 20:59:57 +02:00
Christopher Lackner
9f32a5c3ad fix range check, add some tests 2019-08-05 12:48:08 +02:00
Christopher Lackner
a989babd21 use CreateMPfromKwargs for mesh.GenerateVolumeMesh as well 2019-07-26 17:07:30 +02:00
Christopher Lackner
da82b72df6 fix tests 2019-07-26 16:58:55 +02:00
Matthias Hochsteger
4486558ba8 [gitlab-ci] Test compatibility with NGSolve 2019-04-25 13:49:14 +02:00
Lukas
091f00fc05 seperate docker image for MPI 2019-04-17 16:37:01 +02:00
Lukas
f43532f69e mpi-builds on gitlab 2019-04-17 16:37:01 +02:00
Matthias Hochsteger
a874e64756 [cmake] Link Python3 to unit tests 2019-03-29 15:40:02 +01:00
Christopher Lackner
f287df575b archive enums 2019-01-28 11:02:46 +01:00
Christopher Lackner
f106404280 implement "needs version" functionality for archiver 2019-01-23 10:19:43 +01:00
Christopher Lackner
f88cc77cfe move SymbolTable to ngcore 2019-01-02 18:21:52 +01:00
Christopher Lackner
fd3474f5cb logging in ngcore 2018-12-28 13:43:15 +01:00
Christopher Lackner
782aa072bc fix NGSPickle for abstract classes (like CoefficientFunction) 2018-12-21 16:03:44 +01:00
Christopher Lackner
829defd3eb archive now support python exported objects 2018-12-20 17:01:27 +01:00
Matthias Hochsteger
42a4a28580 Skip occ tests if occ is not available 2018-12-14 14:05:28 +01:00
Christopher Lackner
099acc9fa1 pickling for all geometry types 2018-12-14 12:01:58 +01:00
Christopher Lackner
08275457c7 remove ngsolve import from pickle test, reverse pybind check 2018-12-12 14:50:22 +01:00
Christopher Lackner
96e26565f2 guideline checks as test 2018-12-12 11:43:28 +01:00
Christopher Lackner
87ce9e6a18 Merge branch 'ngcore' of geras.asc.tuwien.ac.at:jschoeberl/netgen into ngcore 2018-12-12 11:24:24 +01:00
Christopher Lackner
814d75d1c7 fix includes, fix naming convention 2018-12-12 11:24:11 +01:00
Matthias Hochsteger
d10d74753b [gitlab-ci] Require python3-distutils for tests 2018-12-12 11:10:42 +01:00
Christopher Lackner
83df85f274 detail namespace, linking ngcore to nglib 2018-12-12 11:05:17 +01:00
Christopher Lackner
60d4ef13ba fix warning as errors outside of ngcore 2018-12-10 16:20:07 +01:00
Matthias Hochsteger
0c4fbda22a Fix dockerfile 2018-12-10 11:18:35 +01:00