Commit Graph

221 Commits

Author SHA1 Message Date
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
Matthias Hochsteger
3679ea7e45 Enable core guidelines check, build on Ubuntu 18.04 2018-12-10 10:57:56 +01:00
Christopher Lackner
17aba88117 [ngcore] follow cpp guidelines, check them with clang-tidy 2018-12-08 16:10:29 +01:00
Christopher Lackner
fdfb596e9c archive for CSGeometry 2018-12-06 17:53:44 +01:00
Christopher Lackner
292dbcf5a0 version checks for archive, fix archive of empty string 2018-12-05 14:20:24 +01:00
Christopher Lackner
e845a203e9 archive for pointer to abstract base classes 2018-12-03 19:07:15 +01:00
Christopher Lackner
b2a2c64845 fix for classes that have DoArchive but no inheritance. Some comments 2018-12-03 17:18:12 +01:00
Christopher Lackner
8e29d38fc1 archive works for pointers and shared_ptrs (even with
mult. inheritance and virtual base classes)
2018-12-03 16:28:04 +01:00
Matthias Hochsteger
f6a0b31b96 Cleanup CMake build system
- Use CMAKE_INSTALL_PREFIX instead of INSTALL_DIR
  - Allow finer control of install directories
  - Use compiled TCL code by default
  - Fix RPATH usage on Linux and MacOSX

### Allow finer control of install directories
The following variables can be set to either absolute or relative paths
NG_INSTALL_DIR_PYTHON: Python files
NG_INSTALL_DIR_BIN: Executables
NG_INSTALL_DIR_LIB: Libraries
NG_INSTALL_DIR_INCLUDE: header files
NG_INSTALL_DIR_CMAKE: CMake files
NG_INSTALL_DIR_RES: Resources

### Use compiled TCL code by default
The tcl files contained in Netgen are stored in onetcl.cpp as c-string.
This way it's not necessary to install tcl files or set NETGENDIR

### Fix RPATH usage on Linux and MacOSX
The Netgen installation should be completely relocatable now.

Squashed commit of the following:

commit 201eda5e62726bd87d76beb13c3e5643cd4c7810
Author: Matthias Hochsteger <matthias.hochsteger@tuwien.ac.at>
Date:   Mon May 29 21:10:08 2017 +0200

    cleanup

commit b4cd46a9d2f390b40c5223c8d9971f576b979644
Author: Matthias Hochsteger <matthias.hochsteger@tuwien.ac.at>
Date:   Mon May 29 20:47:46 2017 +0200

    fix

commit 6506a834dbee2fd7b6df3b3f3709d0b27344356f
Author: Matthias Hochsteger <matthias.hochsteger@tuwien.ac.at>
Date:   Mon May 29 20:41:45 2017 +0200

    allow gui test to fail

commit 56c5fc131f61259e6fb67b60f7fff955d2e8d2da
Author: Matthias Hochsteger <matthias.hochsteger@tuwien.ac.at>
Date:   Mon May 29 20:26:18 2017 +0200

    add python3-tk to docker images

commit 4d1b5aac1d028867339819599708a08f2098bbd6
Author: Matthias Hochsteger <matthias.hochsteger@tuwien.ac.at>
Date:   Mon May 29 11:22:18 2017 -0700

    windows fix

commit 92b5f8a95491ba3508143d7f1b94359edc0655ce
Author: Matthias Hochsteger <matthias.hochsteger@tuwien.ac.at>
Date:   Mon May 29 11:08:08 2017 -0700

    fix for windows

commit 3f7bf51434ef3b637b3563930ddb61d04af645cb
Author: Matthias Hochsteger <matthias.hochsteger@tuwien.ac.at>
Date:   Mon May 29 19:28:13 2017 +0200

    fixes, test for gui

commit ef1d0164a50fadf374e3b1e43a745b5f69a16ad6
Author: Matthias Hochsteger <matthias.hochsteger@tuwien.ac.at>
Date:   Mon May 29 19:06:55 2017 +0200

    fixes

commit 67645bb896012149c23c851b03287199c21fa129
Author: Matthias Hochsteger <matthias.hochsteger@tuwien.ac.at>
Date:   Mon May 29 17:24:58 2017 +0200

    netgen config

commit b587b77a282768719cffc366c56d82a1746e0be0
Author: Matthias Hochsteger <matthias.hochsteger@tuwien.ac.at>
Date:   Mon May 29 16:53:47 2017 +0200

    remove comments

commit 2b34cc78818afa1cf21484bd0976413a91db0851
Author: Matthias Hochsteger <matthias.hochsteger@tuwien.ac.at>
Date:   Mon May 29 05:03:00 2017 -0700

    fix windows

commit 9e98efa54065624e264eaf1acf74b44ef022a68d
Author: Matthias Hochsteger <matthias.hochsteger@tuwien.ac.at>
Date:   Mon May 29 13:42:11 2017 +0200

    fixes

commit 394b470a07d73431079f80caa36c7c7042077f40
Author: Matthias Hochsteger <matthias.hochsteger@tuwien.ac.at>
Date:   Mon May 29 12:24:40 2017 +0200

    fix rpath issue

commit 6787eae384a8592f90598258ccd8207cd499d9fc
Author: Matthias Hochsteger <matthias.hochsteger@tuwien.ac.at>
Date:   Mon May 29 11:37:05 2017 +0200

    some more fixes with install dir

commit fcf22659c60300e8d39d12e14b21c58a062e739c
Author: Matthias Hochsteger <matthias.hochsteger@tuwien.ac.at>
Date:   Mon May 29 01:34:06 2017 -0700

    some fixes

commit ede1f0c462978bb70d3b4e2251cb555a592e82e3
Author: Matthias Hochsteger <matthias.hochsteger@tuwien.ac.at>
Date:   Mon May 29 10:16:34 2017 +0200

    fixes

commit b6a1259876a77f54e419a44f1b44d03d5bb49b82
Merge: c79f9a3 6627b0b
Author: Matthias Hochsteger <matthias.hochsteger@tuwien.ac.at>
Date:   Wed May 24 09:35:50 2017 +0200

    Merge remote-tracking branch 'origin/master' into cmake_cleanup

commit c79f9a3421d4d2937c31dab4a601ce09d52b0e54
Merge: 99c3550 030ad1d
Author: Matthias Hochsteger <matthias.hochsteger@tuwien.ac.at>
Date:   Mon May 22 17:52:24 2017 +0200

    Merge remote-tracking branch 'origin/master' into cmake_cleanup

commit 99c35500850e08fdc847013bb384169b1483acb4
Author: Matthias Hochsteger <matthias.hochsteger@tuwien.ac.at>
Date:   Fri May 19 14:37:28 2017 +0200

    fix rpath

commit 8215e9748d9ee225266bc941da1ca252aebd27de
Author: Matthias Hochsteger <matthias.hochsteger@tuwien.ac.at>
Date:   Thu May 18 13:29:41 2017 +0200

    remove INSTALL_DIR, rename var to NETGEN_INSTALL_DIR_INCLUDE, install libngpy to python package folder

commit 23d028c4cf7572de9e2e277cda8f6b07b6b1d9f9
Merge: 57027c8 f72a247
Author: Matthias Hochsteger <matthias.hochsteger@tuwien.ac.at>
Date:   Thu May 18 12:03:59 2017 +0200

    Merge remote-tracking branch 'origin/master' into cmake_cleanup

commit 57027c8c706ff755bdf26887884bbdeca129fe8f
Author: Matthias Hochsteger <matthias.hochsteger@tuwien.ac.at>
Date:   Fri May 12 17:32:05 2017 +0200

    New CMake option: USE_INTERNAL_TCL (ON by default)

    This option uses the tcl code compiled in onetcl.cpp instead of separate
    tcl files by default. When set at configure time, no tcl files will be
    installed anymore.

commit 27ce5b7edd66d64e2453f5045f5ac08c313f7608
Author: Matthias Hochsteger <matthias.hochsteger@tuwien.ac.at>
Date:   Fri May 12 17:16:52 2017 +0200

    WIP: Cleanup of CMake files

      - Fix RPATH on Linux (TODO: other platforms)
      - New variables to specify install behaviour:
          NG_INSTALL_DIR_BIN
          NG_INSTALL_DIR_LIB
          NG_INSTALL_DIR_CMAKE
          NG_INSTALL_DIR_INCLUDE
2017-05-29 21:41:27 +02:00
Christopher Lackner
89fe31b550 Squashed commit of the following:
commit fa556baaa222ba349d534027f7203588dcda6ad8
Author: Christopher Lackner <christopher.lackner@tuwien.ac.at>
Date:   Thu Feb 23 15:56:47 2017 +0100

    add python path to docker template

commit 54eb7eedc77ad8c86952c347536e7e1a854b62ed
Author: Matthias Hochsteger <matthias.hochsteger@tuwien.ac.at>
Date:   Thu Feb 23 14:59:45 2017 +0100

    install pytest in docker images

commit 3c1c755891e8372762130a6ed8c39cf056430264
Author: Matthias Hochsteger <matthias.hochsteger@tuwien.ac.at>
Date:   Thu Feb 23 14:52:32 2017 +0100

    enable CTest properly, add pytest

commit 4c4cf229ab8e7fd6057f535fb05c3079a9278f80
Author: Christopher Lackner <christopher.lackner@tuwien.ac.at>
Date:   Thu Feb 23 14:02:13 2017 +0100

    fix write splinesurface to savemesh

commit 069fbdbc529c9dd91644663f3f365e08be5af70e
Author: Christopher Lackner <christopher.lackner@tuwien.ac.at>
Date:   Thu Feb 23 09:03:26 2017 +0100

    fix lifetime of SplineSurface
2017-02-23 16:41:27 +01:00
Matthias Hochsteger
0c6d8e61cd add continuous integration using gitlab-ci 2016-06-22 13:26:05 +02:00