Commit Graph

4290 Commits

Author SHA1 Message Date
Lackner, Christopher
f802197576 Merge branch 'occ_extrude_identify' into 'master'
Occ extrude identify

See merge request ngsolve/netgen!570
2023-05-17 16:35:50 +02:00
Christopher Lackner
2233275c0b do not copy faces when extrude, better identify in extrude 2023-05-17 16:24:06 +02:00
Christopher Lackner
e4a2795414 extrude with optional (closesurface) identification 2023-05-17 12:49:16 +02:00
Matthias Hochsteger
e308c1665e Fix path format in setup.py 2023-05-12 11:26:38 +02:00
Matthias Hochsteger
6992a63cf8 Don't search for PythonLibs when building pip/conda package
Since python is linked statically there are no libraries
2023-05-11 18:39:49 +02:00
Matthias Hochsteger
748e2c742c set ulimit when building linux pip packages 2023-05-11 18:18:32 +02:00
Matthias Hochsteger
dc2cbc01f1 python setup.py: use sys.prefix as CMAKE_PREFIX_PATH 2023-05-11 15:08:23 +02:00
Lackner, Christopher
ea1b53eb20 Merge branch 'curve_after_mesh_refine' into 'master'
recalculate element curve coefficients after refine

See merge request ngsolve/netgen!569
2023-05-10 09:46:44 +02:00
Christopher Lackner
b06b86bce3 recalculate element curve coefficients after refine 2023-05-10 09:34:48 +02:00
Joachim Schoeberl
9c0eeb5370 mesh.AddElements also for 1D segments 2023-05-07 17:45:20 +02:00
Joachim Schoeberl
8a79f91cb1 check for null-ptr from cxa_demangle 2023-04-28 17:33:07 +02:00
Schöberl, Joachim
fe3abbdec4 Merge branch 'check_python_version_at_startup' into 'master'
Check python version at startup

See merge request ngsolve/netgen!568
2023-04-28 11:34:42 +02:00
Matthias Hochsteger
39b21df7e6 Check python version at startup 2023-04-28 10:46:07 +02:00
Lackner, Christopher
3124853a56 Merge branch 'fix_duplicate_segments_boundarylayer' into 'master'
Fix duplicate segments boundarylayer

See merge request ngsolve/netgen!567
2023-04-27 15:49:18 +02:00
Matthias Hochsteger
35360df540 Don't add new duplicate segments to mesh, if mesh fulfills HaveSingleSegments() 2023-04-27 15:35:10 +02:00
Matthias Hochsteger
875da8ee45 boundarylayer 2d code in separate file 2023-04-27 15:25:15 +02:00
Matthias Hochsteger
96268d6691 Fix python warning (deprecated imp module) 2023-04-26 16:48:54 +02:00
Matthias Hochsteger
bdd15644d3 Fix compile warning 2023-04-26 16:48:29 +02:00
Hochsteger, Matthias
9ed534c301 Merge branch 'boundarylayer_fixes' into 'master'
Boundarylayer fixes

See merge request ngsolve/netgen!566
2023-04-21 13:03:35 +02:00
Matthias Hochsteger
6bfcd4ca6c Fix MeshVolume() for partially meshed meshes 2023-04-21 12:53:05 +02:00
Matthias Hochsteger
4ab01fa269 Save one FindOpenElements call in MeshVolume 2023-04-21 12:52:17 +02:00
Matthias Hochsteger
7382661315 Fix surface mapping in BoundaryLayer3d 2023-04-21 12:51:54 +02:00
Christopher Lackner
6fcfdc7def fix typo in divide segments in zrefine 2023-04-19 12:07:45 +02:00
Matthias Hochsteger
c14c798235 output face name on double click 2023-04-12 16:44:12 +02:00
Matthias Hochsteger
a1c9483270 Fix color of prisms/pyramids/hexes 2023-04-12 16:44:12 +02:00
Christopher Lackner
8990c9c30a allow python -m netgen.gui to run python tkinter gui from main thread 2023-04-12 11:29:32 +02:00
Schöberl, Joachim
ca18038c5d Merge branch 'fix_findpointin2d_quad' into 'master'
add missing check for lam range in PointContainedIn2DElement in Quad

See merge request ngsolve/netgen!565
2023-04-12 09:51:49 +02:00
Christopher Lackner
b12d40a0c0 add missing check for lam range in PointContainedIn2DElement in Quad 2023-04-11 22:00:38 +02:00
Hochsteger, Matthias
9180f9b972 Merge branch 'faster_dbl_click' into 'master'
Speed up face/point selection in mesh scene

See merge request ngsolve/netgen!564
2023-04-03 10:17:37 +02:00
Matthias Hochsteger
aae0521057 Use marker as center, cleanup code 2023-03-31 15:46:45 +02:00
Matthias Hochsteger
5d0c61b10f Use a texture to store face colors
-> Much faster highlighting of selected face (just rebuild the texture)
2023-03-31 15:42:32 +02:00
Lackner, Christopher
8edb109d92 Merge branch 'blayer_sides' into 'master'
boundarylayers sides with separate bcnr and option to set surface

See merge request ngsolve/netgen!563
2023-03-30 23:40:53 +02:00
Christopher Lackner
9c1db9a6f3 correctly set domin and domout at sides 2023-03-30 23:21:58 +02:00
Christopher Lackner
5b4af26d7d boundarylayers sides with separate bcnr and option to set surface
index to -1

this fixes 2 issues:

* If extruded outwards in occ and curvature turned on, if sides are
not set to index -1 then they are curved back towards the face again

* If no different facedescriptor is set, blayer.Boundaries() would
wrongly return the whole boundary and not only the layer part of the side.
2023-03-30 17:19:34 +02:00
Schöberl, Joachim
4737063653 Merge branch 'smaller_tol_in_pointin2delement' into 'master'
use outer smaller (1e-6) tolerance in check if points are on quad edges

See merge request ngsolve/netgen!562
2023-03-30 16:51:03 +02:00
Schöberl, Joachim
d07321ad90 Merge branch 'findpoint_newton_quads' into 'master'
PointInElement2d use newton in nonlinear quad, better startpoint for

See merge request ngsolve/netgen!561
2023-03-30 16:50:32 +02:00
Matthias Hochsteger
832c17c834 Rewrite double-click selection in GUI 2023-03-30 14:01:41 +02:00
Joachim Schoeberl
ad6ffaac05 shared loop with relaxed memory ordering 2023-03-30 12:26:58 +02:00
Joachim Schoeberl
a12e9bec61 GetRegionNames to netgen-mesh 2023-03-26 11:01:05 +02:00
Christopher Lackner
867549c3af use outer smaller (1e-6) tolerance in check if points are on quad edges 2023-03-23 14:57:30 +01:00
Christopher Lackner
72a34f9fe1 PointInElement2d use newton in nonlinear quad, better startpoint for
Newton in trig
2023-03-23 14:55:18 +01:00
Joachim Schoeberl
482e78a18b fix Setting refinement flags and adaptive refinement in Netgen 2023-03-22 21:53:09 +01:00
Joachim Schoeberl
7e560e157d Setting refinement flags and adaptive refinement in Netgen 2023-03-22 21:23:29 +01:00
Schöberl, Joachim
e8c4c6c4c7 Merge branch 'fix_quad_mesh_distribution' into 'master'
in two dimensions, elements are connected if they share two vertices

See merge request ngsolve/netgen!560
2023-03-22 11:14:37 +01:00
Henry v. Wahl
1a6f52dfc4
in two dimensions, elements are connected if they share two vertices 2023-03-22 09:32:58 +01:00
Lackner, Christopher
f5c86f136b Merge branch 'fix_genericimprovew' into 'master'
fix missing return in generic improve

See merge request ngsolve/netgen!559
2023-03-13 13:41:52 +01:00
Christopher Lackner
2344124f65 fix missing return in generic improve 2023-03-13 13:31:08 +01:00
Joachim Schoeberl
0c5e8c8d70 had removed too much 2023-03-12 22:24:21 +01:00
Joachim Schoeberl
32f1b6177e less special HSum 2023-03-12 19:18:29 +01:00
Hochsteger, Matthias
3e52c44aeb Merge branch 'surface_vectors_on_quad' into 'master'
Draw surface vectors on quads

See merge request ngsolve/netgen!558
2023-03-08 10:04:27 +01:00