Commit Graph

3243 Commits

Author SHA1 Message Date
Christopher Lackner
e007f6310e add new rule for large pyramids if no close ones are found.
Also allow to connect with lower quality class already in pyramid2rls
2020-02-17 16:52:33 +01:00
Matthias Hochsteger
df0b19275b Update rules to match cpp files, regenerate cpp files 2020-02-17 15:21:54 +01:00
Matthias Hochsteger
88c114e999 Script to generate rules cpp files, update makerlsfile.cpp 2020-02-17 15:11:25 +01:00
Matthias Hochsteger
349c79ed21 Remove spaces in tetra.rls to match generated .cpp 2020-02-17 14:52:02 +01:00
Joachim Schöberl
5f16e04d33 Merge branch 'curve_in_hpref' into 'master'
Curve new elements in HPRefinement

See merge request jschoeberl/netgen!311
2020-02-12 12:54:27 +00:00
Matthias Hochsteger
34ac3b200d HPRefinement: curve new elements only if coarse el was curved 2020-02-11 16:04:13 +01:00
Matthias Hochsteger
dff550a48c Curve new elements in HPRefinement
Use correct check for curvature of TRIGs in VSSolution
2020-02-11 14:42:16 +01:00
Joachim Schöberl
bac288ab56 remove double-click test-output 2020-01-29 18:19:19 +01:00
Matthias Hochsteger
2620f90f32 Redraw(blocking=True) always issues a redraw 2020-01-27 17:05:21 +01:00
Joachim Schöberl
538ca486fd Merge branch 'native_arch_on_windows' into 'master'
Native arch on windows

See merge request jschoeberl/netgen!310
2020-01-17 18:00:07 +00:00
Matthias Hochsteger
a5ffcb73c1 Build with '-fno-stack-check' on MacOS if USE_NATIVE_ACH=ON
XCode 11.3 introduced a bug with stack alignment if AVX is activated:
https://forums.developer.apple.com/thread/121887
According to the link, '-fno-stack-check' circumvents this problem
2020-01-17 13:09:44 +01:00
Matthias Hochsteger
ce90bd9e83 [cmake] Simplify compile flag handling on Windows
Add options/define flags to ngcore, so they are automatically passed on
to dependencies
2020-01-16 16:38:06 -08:00
Matthias Hochsteger
09afc419bc [cmake] option USE_NATIVE_ARCH for Windows 2020-01-15 16:49:27 -08:00
Joachim Schöberl
d9a322ed65 Merge branch 'store_ellipsoid_in_mesh' into 'master'
Store Ellipsoid csg surface in mesh files

See merge request jschoeberl/netgen!309
2020-01-15 14:32:47 +00:00
Matthias Hochsteger
4810b4f1b2 Store Ellipsoid csg surface in mesh files 2020-01-15 15:13:08 +01:00
Joachim Schöberl
0209472ef6 csg.AddPoint with names 2020-01-15 11:56:23 +01:00
Joachim Schöberl
3ece315bd0 circumventing compiler bug ? 2020-01-13 21:19:09 +01:00
Joachim Schöberl
d53f28c89b named edges in CSG geometry 2020-01-13 16:41:18 +01:00
Christopher Lackner
30b10c1aaa remove debug cout 2020-01-13 11:17:00 +01:00
Joachim Schöberl
d22c0fcca7 Merge branch 'fix_buildedgelist' into 'master'
Handle triangles correctly in BuildEdgeList()

See merge request jschoeberl/netgen!308
2020-01-10 20:36:27 +00:00
Matthias Hochsteger
e26f0f38f4 Handle triangles correctly in BuildEdgeList() 2020-01-10 17:58:37 +01:00
Joachim Schöberl
a9520e6dd7 survives also without gui 2020-01-09 21:23:26 +01:00
Joachim Schöberl
bc06d0781a trigger new version 2020-01-09 19:19:35 +01:00
Joachim Schöberl
77d0fbfcd5 compress after 2d optimization 2020-01-08 23:27:59 +01:00
Joachim Schöberl
1aed53427f Merge branch 'snapshot' into 'master'
Snapshot

See merge request jschoeberl/netgen!306
2019-12-15 19:10:31 +00:00
Christopher Lackner
3fc52396b0 Merge branch 'fix_nopython' into 'master'
Fix non-Python builds

See merge request jschoeberl/netgen!307
2019-12-14 19:56:49 +00:00
Matthias Hochsteger
2d97eeaa77 Fix Windows debug build 2019-12-13 15:40:12 -08:00
Matthias Hochsteger
72226e8673 Fix non-Python builds 2019-12-13 11:20:52 +01:00
Matthias Hochsteger
c8901ba46b cleanup in Snapshot() 2019-12-13 10:20:19 +01:00
Christopher Lackner
260fd39da5 Merge remote-tracking branch 'bkapidani/autoPML_should_handle_default_spline_labels' 2019-12-11 10:46:28 +01:00
Matthias Hochsteger
19124f8d30 [cmake] Fix Windows build with spaces in build dir 2019-12-10 17:02:48 +00:00
Matthias Hochsteger
a06189ac4e Redraw after geom2d::Draw() 2019-12-10 17:57:46 +01:00
Joachim Schöberl
8012b3ebba Merge branch 'python_vec_arithmetic' into 'master'
some more python Vec and Pnt arithmetic

See merge request jschoeberl/netgen!305
2019-12-10 14:07:50 +00:00
Matthias Hochsteger
4a6b6e8ab8 Remove redundant declaration
fixes build error on Windows
2019-12-10 14:10:18 +01:00
Christopher Lackner
79b1d22185 some more python Vec and Pnt arithmetic 2019-12-10 14:04:53 +01:00
Matthias Hochsteger
d6095e9364 Move global visual scene from ngpkg.cpp to mvdraw.cpp
... so it is available in Snapshot()
also rename the global variables:
vs -> visual_scene
vscross -> visual_scene_cross
2019-12-10 12:21:29 +01:00
Matthias Hochsteger
245da0ee87 Move Redraw() function from NGSolve to Netgen
- used in Snapshot
2019-12-10 12:21:29 +01:00
Matthias Hochsteger
64b1331c23 Fix build errors on Macos
- Include opengl3 headers
- Remove unneeded Opengl4.5 function call
2019-12-10 12:21:29 +01:00
Matthias Hochsteger
52b3e807a5 New Snapshot function (custom resolution) 2019-12-10 12:21:29 +01:00
Joachim Schöberl
a103896079 printing flags 2019-12-09 16:20:42 +01:00
Joachim Schöberl
64171d203b fix copy ctor HPRefElement 2019-12-06 16:05:08 +01:00
Joachim Schöberl
ec786de3e2 Merge branch 'fix_warning_dll_header' into 'master'
fix warning about multiple definition of dll_header

See merge request jschoeberl/netgen!304
2019-12-06 12:41:46 +00:00
Christopher Lackner
ef501166e6 fix warning about multiple definition of dll_header 2019-12-06 11:51:12 +01:00
Joachim Schöberl
da4053adfa Draw 2D geometry 2019-12-05 14:52:14 +01:00
Joachim Schöberl
e5ead2065b get rid of 10000 segments limit in hp-refinement 2019-12-04 17:33:16 +01:00
Matthias Hochsteger
2fc30ce10e Merge branch 'fix_closedhashtable_ctors' into 'master'
Fix ctor with LocalHeap in ClosedHashTable

See merge request jschoeberl/netgen!303
2019-12-03 12:46:49 +00:00
Matthias Hochsteger
7f4b96fe11 Fix ctor with LocalHeap in ClosedHashTable
Set mask, round up size to next power of 2
2019-12-02 17:05:50 +01:00
Joachim Schöberl
3ebe0649f2 Merge branch 'revert-3207ab1d' into 'master'
Revert "api"

See merge request jschoeberl/netgen!302
2019-11-29 15:53:42 +00:00
Joachim Schöberl
4658e34f05 Revert "api"
This reverts commit 3207ab1d99
2019-11-29 15:26:20 +00:00
Joachim Schöberl
3207ab1d99 api 2019-11-29 15:02:37 +01:00