Commit Graph

2640 Commits

Author SHA1 Message Date
Matthias Hochsteger
9495d1feae Ignore warning C4910 on Windows
warning C4910: '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation
2019-11-28 15:49:57 +01:00
Matthias Hochsteger
a0921a5e7f Fix Vec<> comparison operator
- Iterate over size of Vec<> (thx Joachim)
- Declare it const (otherwise pybind compares the pointers to the data
    arrays instead)
2019-11-28 11:05:17 +01:00
Matthias Hochsteger
05e6456ec2 Vec3d to Vec<3>, comparison operator for Vec<> 2019-11-27 14:47:24 +01:00
Matthias Hochsteger
385040333b [cmake] Fix non-gui build 2019-11-27 14:03:41 +01:00
Joachim Schöberl
2b683f70d5 Merge branch 'throw_on_meshing_fail' into 'master'
throw on meshing failure

See merge request jschoeberl/netgen!299
2019-11-26 19:27:30 +00:00
Joachim Schöberl
a92c473a03 Merge branch 'conda_python_linking' into 'master'
CMake changes for conda build

See merge request jschoeberl/netgen!296
2019-11-26 19:26:18 +00:00
Matthias Hochsteger
f3d9d3ad67 [cmake] Don't link python libraries in unix-conda environment
Conda links python libs statically to python executable
2019-11-26 19:26:18 +00:00
Joachim Schöberl
2afefa2e4d Merge branch 'fd_color_property' into 'master'
[python] add color property to FaceDescriptor

See merge request jschoeberl/netgen!300
2019-11-26 19:25:40 +00:00
Matthias Hochsteger
9ccb140ffb [python] add color property to FaceDescriptor 2019-11-26 17:50:06 +01:00
Christopher Lackner
303aebc27e throw on meshing failure 2019-11-26 17:08:21 +01:00
Christopher Lackner
de1932227b exception constructor outside of ifdef GNUC 2019-11-25 16:45:12 +01:00
Joachim Schöberl
648794b0bb Exception ctor in cpp to reduce codesize 2019-11-25 07:46:35 +01:00
Matthias Hochsteger
0ff62c6549 Set geometry in netgen mesh before edge/surface meshing 2019-11-22 14:09:07 +01:00
Joachim Schöberl
85e27f9772 Merge branch 'fix_parsing_flags' into 'master'
fix parsing numlist flag if objects are integers

See merge request jschoeberl/netgen!298
2019-11-21 21:16:06 +00:00
Christopher Lackner
e84e4f155c fix parsing numlist flag if objects are integers 2019-11-21 17:46:39 +01:00
Joachim Schöberl
0ee5abacb2 Merge branch 'occ_read_solid_names' into 'master'
Read solid names of STEP geometries

See merge request jschoeberl/netgen!297
2019-11-21 08:03:31 +00:00
Matthias Hochsteger
cf84d78fd4 Read solid names of STEP geometries 2019-11-20 15:46:52 +01:00
Matthias Hochsteger
8940bf7c2c Only collect backtrace if NG_BACKTRACE is set 2019-11-20 14:30:23 +01:00
Joachim Schöberl
eb6f0efc2f Merge branch 'fix_call_occ_edge_curvature' into 'master'
if tangent is not defined and not checked this leads to segfault

See merge request jschoeberl/netgen!295
2019-11-19 10:11:04 +00:00
Christopher Lackner
f54c47bac6 if tangent is not defined and not checked this leads to segfault 2019-11-19 10:00:05 +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
Joachim Schöberl
7e329eaa5a Merge branch 'basegeo_default_impl' into 'master'
some default implementations for basegeometry

See merge request jschoeberl/netgen!294
2019-11-18 11:58:37 +00:00
Christopher Lackner
6303b9d926 some default implementations for basegeometry 2019-11-18 11:14:02 +01:00
Matthias Hochsteger
8d14be5e8f Update pybind11 2019-11-15 09:36:51 +01:00
Matthias Hochsteger
90fc783e55 Fix visibility warning 2019-11-13 16:07:36 +01:00
Joachim Schöberl
8db69a673b Merge branch 'cleanup_geometry' into 'master'
add closeedge meshsize to base geometry (not used)

See merge request jschoeberl/netgen!293
2019-11-05 19:58:57 +00:00
Christopher Lackner
a3ae9cc6f9 include optional 2019-11-05 16:19:49 +01:00
Christopher Lackner
e902811077 Merge branch 'master' into cleanup_geometry 2019-11-05 15:28:18 +01:00
Christopher Lackner
b99e37999f fixes for mac and windows 2019-11-05 15:19:54 +01:00
Christopher Lackner
073e215bb6 add closeedge meshsize to base geometry (not used)
closedgefac moved to meshingparameters for this
2019-11-04 19:34:46 +01:00
Joachim Schöberl
4a1ade52d2 Merge branch 'cleanup_geometry' into 'master'
Cleanup geometry

See merge request jschoeberl/netgen!292
2019-11-04 17:38:11 +00:00
Matthias Hochsteger
84eed492ca [cmake] Export CHECK_RANGE settings 2019-11-04 17:22:59 +01:00
Christopher Lackner
1b1c4700ad geo GetNormal and ProjectPointEdge with geoinfo pointer 2019-11-04 11:27:01 +01:00
Christopher Lackner
c1ede2a89f Merge branch 'master' into cleanup_geometry 2019-11-02 19:39:00 +01:00
Matthias Hochsteger
262c656bcb Fix overflow in backtrace 2019-10-31 18:40:46 +01:00
Christopher Lackner
6c012675aa project point without geominfo returns new geominfo 2019-10-31 17:08:29 +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
Christopher Lackner
1e3ed047db progress for analyse geometry 2019-10-31 15:25:47 +01:00
Christopher Lackner
249d785084 progress bars for find edges, mesh surface,... 2019-10-31 15:17:28 +01:00
Christopher Lackner
fbf6d92895 clean up geometry interface, fix if number of subdivided edges was not correct 2019-10-31 13:34:40 +01:00
Matthias Hochsteger
9fdd28e3b8 Compress mesh in SwapImprove2 2019-10-30 16:09:04 +01:00
Matthias Hochsteger
94d0a5a585 [cmake] Set interface include dir for ngcore 2019-10-30 13:56:49 +01:00
Matthias Hochsteger
17b6c83499 Remove debug output 2019-10-30 09:09:57 +01:00
Joachim Schöberl
608a813295 Merge branch 'rework_splitimprove' into 'master'
Rework on 3D SplitImprove

See merge request jschoeberl/netgen!291
2019-10-29 18:57:55 +00: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
69a420aacb Don't include python headers in non-python builds 2019-10-29 16:11:03 +01:00
Christopher Lackner
aa580e4025 add timer and little cleanup in not yet used findedges 2019-10-29 11:37:27 +01:00
Joachim Schöberl
bcd883a773 Merge branch 'refactor_geo_meshing' into 'master'
Refactor geo meshing

See merge request jschoeberl/netgen!290
2019-10-28 19:32:31 +00:00