Commit Graph

4199 Commits

Author SHA1 Message Date
Hochsteger, Matthias
971f7c6b07 Merge branch 'get_diagnostics_typo' into 'master'
fix calling _get_diagnostics if python versions do not match

See merge request ngsolve/netgen!572
2023-05-23 09:47:01 +02:00
Christopher Lackner
c1ed3e36ca fix calling _get_diagnostics if python versions do not match 2023-05-23 08:59:05 +02:00
Christopher Lackner
b1b2f17c09 fix clang warning about unqualified std move 2023-05-23 08:57:51 +02:00
Christopher Lackner
8374346023 allow adding identification name in occ extrude 2023-05-22 13:08:31 +02:00
Schöberl, Joachim
c899273397 Merge branch 'sleep_when_no_job_for_some_time' into 'master'
TaskManager - sleep when no jobs for some time

See merge request ngsolve/netgen!571
2023-05-21 14:41:41 +02:00
Hochsteger, Matthias
a1b43088a4 TaskManager - sleep when no jobs for some time 2023-05-21 14:41:41 +02:00
Joachim Schoeberl
472073c22b counting num vertices in parallel 2023-05-21 14:35:09 +02:00
Joachim Schoeberl
f1162b6cc3 ngcore - array in Bisect 2023-05-19 15:24:01 +02:00
Joachim Schoeberl
e8286776df hash-table with optional Get 2023-05-19 14:45:56 +02:00
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