Commit Graph

4757 Commits

Author SHA1 Message Date
Joachim Schoeberl
4f0b15ef55 use FlatArray for edges and faces in mesh interface V2 2024-02-21 08:41:17 +01:00
Matthias Hochsteger
cc8d6a3a35 some tryout 2024-02-20 10:25:31 +01:00
Joachim Schoeberl
6813c519b6 feature check macro for transition from INT to IVec 2024-02-20 08:47:20 +01:00
Matthias Hochsteger
86d47b5614 Merge remote-tracking branch 'origin/master' into boundarylayer_fixes 2024-02-19 09:23:33 +01:00
Lackner, Christopher
2e80cb34b6 Merge branch 'split_faces_by_adjacent_domains' into 'master'
Utility function to split faces when they have more than two adjacent domains

See merge request ngsolve/netgen!633
2024-02-14 10:18:29 +01:00
Matthias Hochsteger
4e31878f89 Utility function to split faces when they have more than two adjacent domains 2024-02-14 09:46:39 +01:00
Christopher Lackner
8e94de7a73 fix isendpoint check in boundarylayer code 2024-02-13 13:01:42 +01:00
Schöberl, Joachim
07fb5d698e Merge branch 'throw_if_unbounded_domain' into 'master'
throw exception if surface triangulation cannot be built by occ

See merge request ngsolve/netgen!630
2024-02-13 10:07:53 +01:00
Schöberl, Joachim
259ea216cb Merge branch 'allow_internal_edges_boundarylayer' into 'master'
allow internal edges on boundarylayer (for sphere, ellipsoid)

See merge request ngsolve/netgen!631
2024-02-13 10:04:27 +01:00
Christopher Lackner
803eb73d2d allow internal edges on boundarylayer (for sphere, ellipsoid) 2024-02-13 09:35:44 +01:00
Christopher Lackner
ddc50aa651 throw exception if surface triangulation cannot be built by occ 2024-02-13 09:33:12 +01:00
Matthias Hochsteger
cee5d55b7d Fix dangling reference in ZRefinement 2024-02-12 07:12:17 -08:00
Hochsteger, Matthias
482bcb83d5 Merge branch 'removewindowsheader2' into 'master'
Remove windows.h include where possible.

See merge request ngsolve/netgen!629
2024-02-12 11:57:54 +01:00
Hochsteger, Matthias
dfaf270670 Remove windows.h include where possible. 2024-02-12 11:57:54 +01:00
Joachim Schoeberl
18262a526d replace INT by IVec (cgns) 2024-02-12 07:44:26 +01:00
Joachim Schoeberl
c87aea14eb rename INT to IVec (avoiding windows name conflict) 2024-02-12 07:36:26 +01:00
Schöberl, Joachim
759b66fb69 Merge branch 'removewinheader' into 'master'
Removewinheader

See merge request ngsolve/netgen!628
2024-02-11 11:02:18 +01:00
Schöberl, Joachim
b88535621f Removewinheader 2024-02-11 11:02:18 +01:00
Joachim Schoeberl
97de13cf30 remove include<windows.h> from cpp-files 2024-02-10 20:55:45 +01:00
Joachim Schoeberl
e9ee45024c include windows.h back to mystdlib 2024-02-10 20:52:45 +01:00
Joachim Schoeberl
3a2e3fa901 includes in vsocc 2024-02-10 10:15:11 +01:00
Joachim Schoeberl
e8a9131b31 include win first 2024-02-10 10:09:29 +01:00
Joachim Schoeberl
6622829e8f windows include in visual 2024-02-10 10:05:00 +01:00
Joachim Schoeberl
61f34fc4ad converting back: no win include in python-occ 2024-02-10 10:02:55 +01:00
Joachim Schoeberl
7d45d47260 no extra win include 2024-02-10 09:57:37 +01:00
Joachim Schoeberl
df7ea2b685 don't globally include ngcore 2024-02-10 09:55:16 +01:00
Joachim Schoeberl
beed254a7d windows include in python_occ 2024-02-10 09:51:19 +01:00
Joachim Schoeberl
97709fca23 windows include in python_occ_shapes 2024-02-10 09:46:53 +01:00
Joachim Schoeberl
996d2809c9 no windows specfic includes globally 2024-02-10 09:21:09 +01:00
Matthias Hochsteger
b8267d046e Remove debug output 2024-02-09 15:40:05 +01:00
Matthias Hochsteger
dd68bae1a3 Merge remote-tracking branch 'origin/master' into boundarylayer_fixes 2024-02-09 12:01:54 +01:00
Matthias Hochsteger
852f5bf32e Remove debug output, identify points only when needed, fix compress with
identified points
2024-02-09 12:01:28 +01:00
Schöberl, Joachim
069f42086f Merge branch 'dont_reverse_wire_in_offset' into 'master'
dont reverse wire in offset

See merge request ngsolve/netgen!627
2024-02-08 16:28:52 +01:00
Christopher Lackner
000424f001 offset should always be called no a finished line 2024-02-08 15:08:49 +01:00
Christopher Lackner
0fab0ec1eb dont reverse wire in offset
This works with this change:

```
MoveTo(0,0).LineTo(1,1).Finish().Offset(0.2).Face()
```
2024-02-08 14:57:56 +01:00
Schöberl, Joachim
761f896164 Merge branch 'fix_point_in_sphere' into 'master'
fix glued point in sphere (was removed by compress)

See merge request ngsolve/netgen!626
2024-02-07 15:14:30 +01:00
Christopher Lackner
282c3e5c0a fix glued point in sphere (was removed by compress) 2024-02-07 15:05:03 +01:00
Joachim Schoeberl
adbdf194e0 fix Powell-Sabin split 2024-02-06 21:41:15 +01:00
Matthias Hochsteger
93590c8407 Merge remote-tracking branch 'origin/master' into boundarylayer_fixes 2024-02-05 10:08:32 +01:00
Hochsteger, Matthias
1c48e552e9 Merge branch 'dont_curve_boundarylayer' into 'master'
dont curve faces with boundarylayers

See merge request ngsolve/netgen!625
2024-01-31 15:43:37 +01:00
Christopher Lackner
45362b588b dont curve faces with boundarylayers 2024-01-31 15:13:20 +01:00
Christopher Lackner
e155700bc3 throw if surface is extruded that is not named (if map surface-> new
mat is given)
2024-01-31 12:27:03 +01:00
Matthias Hochsteger
6533663b7f Fix Workplane.Offset for straight lines 2024-01-30 17:41:46 +01:00
Schöberl, Joachim
61366f4c8e Merge branch 'fix_gmsh_name_parsing' into 'master'
fix gmsh physical group parsing

See merge request ngsolve/netgen!624
2024-01-29 09:11:17 +01:00
Christopher Lackner
fc70ba4f07 fix gmsh physical group parsing 2024-01-29 08:58:07 +01:00
Matthias Hochsteger
0c885db5a4 Consider draw_surfaces bitarray when drawing surface vectors 2024-01-25 16:00:45 +01:00
Matthias Hochsteger
54b92f4bdd Merge remote-tracking branch 'origin/master' into boundarylayer_fixes 2024-01-22 17:02:48 +01:00
Matthias Hochsteger
2ff886457f webgui Redraw with arguments (replace mesh etc.) 2024-01-22 16:31:17 +01:00
Matthias Hochsteger
cd8d43cbf9 webgui.Draw - boolean argument "show"
Useful to extract webgui scene data without displaying it
2024-01-22 14:49:17 +01:00
Matthias Hochsteger
d87e5f102e Pass mesh face transparency to webgui 2024-01-22 11:18:29 +01:00