Commit Graph

4136 Commits

Author SHA1 Message Date
Christopher Lackner
85d4874320 Merge branch 'fixes_closesurface_identification' 2022-08-31 10:05:15 +02:00
Matthias Hochsteger
666fb2ee86 fix boundarylayer 2d code (now single line segments, not per face) 2022-08-30 09:12:49 +02:00
Christopher Lackner
7c2070ab0d fix closesurface identification IsSame instead of operator == 2022-08-29 14:43:01 +02:00
Hochsteger, Matthias
cee2ca18fc Merge branch 'fix_windows_avx2' into 'master'
fix AVX2 for Windows build

See merge request ngsolve/netgen!514
2022-08-23 09:33:38 +02:00
Christopher Lackner
54ee68d847 fix optimizing mesh without geometry 2022-08-22 17:49:12 +02:00
Schöberl, Joachim
43fbd57a67 Merge branch 'use_shape_instead_tshape' into 'master'
use Shape hash instead of TShape

See merge request ngsolve/netgen!519
2022-08-19 13:06:46 +02:00
Schöberl, Joachim
a6852cf41b Merge branch 'ignore_export_errors_stubgen' into 'master'
Ignore export errors stubgen

See merge request ngsolve/netgen!515
2022-08-19 12:58:51 +02:00
Christopher Lackner
b7e0288a34 use Shape hash instead of TShape 2022-08-19 12:51:39 +02:00
Hochsteger, Matthias
82a59defc2 Merge branch 'fix_webgui_face_name_list' into 'master'
faces may be multiple time in explorer iteration -> skip if already in map

See merge request ngsolve/netgen!518
2022-08-19 11:33:51 +02:00
Matthias Hochsteger
ba20cfff5c update ubuntu version for tests 2022-08-19 11:03:35 +02:00
Christopher Lackner
28efccccf4 faces may be multiple time in explorer iteration -> skip if already in map 2022-08-19 09:44:58 +02:00
Hochsteger, Matthias
de0d706ec2 Merge branch 'solid_face_map_renderdata' into 'master'
add solid -> faces map in renderData of occ geom

See merge request ngsolve/netgen!517
2022-08-10 09:03:10 +02:00
Christopher Lackner
27aaae9fb5 add solid -> faces map in renderData of occ geom 2022-08-10 07:45:30 +02:00
Lackner, Christopher
456654dd6b Merge branch 'stl_manifold' into 'master'
stl manifold meshing

See merge request ngsolve/netgen!516
2022-08-09 18:17:34 +02:00
Christopher Lackner
35337e083c add unintentionally removed part again 2022-08-09 18:06:11 +02:00
Christopher Lackner
9130daa0b9 stl manifold meshing 2022-08-09 17:40:21 +02:00
Christopher Lackner
b98a0e1f88 add pybind11 stubgen do test scripts 2022-08-08 09:35:45 +02:00
Christopher Lackner
56aa4581ea use --ignore-invalid=all flag to be able to upgrade pybind11-stubgen 2022-08-08 09:31:29 +02:00
Michael Neunteufel
78ec53424e fix AVX2 for Windows build 2022-08-04 18:11:18 +02:00
Schöberl, Joachim
ec0fc05fd6 Merge branch 'visualize_failed_mesh' into 'master'
visualized failed mesh after generatemesh

See merge request ngsolve/netgen!513
2022-08-04 15:57:16 +02:00
Lackner, Christopher
42b92263fa Merge branch 'fix_invert_periodic_bc' into 'master'
do invert if periodic bc face domin & domout do not match

See merge request ngsolve/netgen!512
2022-08-04 15:12:15 +02:00
Schöberl, Joachim
d36a6746b7 Update python_occ.cpp 2022-08-04 14:16:16 +02:00
Christopher Lackner
4e860f4ca2 set global shared ptr only if meshing fails 2022-08-04 14:14:39 +02:00
Christopher Lackner
71a2c4f6f4 do invert if periodic bc face domin & domout do not match 2022-08-04 10:35:06 +02:00
Christopher Lackner
00a1d1a496 visualized failed mesh after generatemesh 2022-08-04 10:31:33 +02:00
Joachim Schoeberl
354898498f switch off tracer if TaskManager is called without arguments 2022-07-24 11:53:51 +02:00
Matthias Hochsteger
83b4fba403 DLL_HEADER for SplineSeg3 2022-07-20 14:18:41 +02:00
Schöberl, Joachim
56ae4fdc48 Merge branch 'fix_occ_err_faces' into 'master'
fix occ error faces in topology explorer

See merge request ngsolve/netgen!511
2022-07-19 13:20:37 +02:00
Christopher Lackner
9468e476a7 fix occ error faces in topology explorer 2022-07-19 12:45:23 +02:00
Lackner, Christopher
93842302b4 Merge branch 'use_center_coords_sol_scene' into 'master'
use center coords and set center on dbl click also in solution scene

See merge request ngsolve/netgen!510
2022-07-13 11:10:26 +02:00
Christopher Lackner
e72662836c remove cout 2022-07-12 13:14:14 +02:00
Christopher Lackner
ea071bed4f use center coords and set center on dbl click also in solution scene 2022-07-12 11:34:42 +02:00
Christopher Lackner
0402ca07cd fix setting boundarylayer boundaries 2022-07-12 09:58:35 +02:00
Christopher Lackner
cf992b04da fix setting boundaries of neighbouring domains in create boundarylayer 2022-07-11 13:47:13 +02:00
Hochsteger, Matthias
68a1a225b6 Merge branch 'zlib_private_link_interface' into 'master'
cmake - private linking of zlib

See merge request ngsolve/netgen!509
2022-07-11 11:21:06 +02:00
Matthias Hochsteger
0e45a07c6a cmake - private linking of zlib 2022-07-11 11:10:54 +02:00
Matthias Hochsteger
fa05864df4 CSG - consistent parameters for FindIdenticSurfaces, call it in Draw() before CalcTriangleApproximation 2022-07-11 10:43:35 +02:00
Stefan Brüns
95b4b49fc7 Optionally prefer system wide pybind11
Linux distributions typically prefer system provided libraries, so
optionally use it when found.

(This also allows to use the github provided tarball, which omits the
pybind11 submodule).

Fix the PYBIND_INCLUDE_DIR usage:
- remove misleading find_path invocation, which may point to the system
  wide pybind11
- use pybind11_INCLUDE_DIR	which is provided by both find_package(pybind11)
  and bundled pybind11/CMakeLists.txt
- pybind11_INCLUDE_DIR is used by pybind11_add_module, use it also for
  ngcore (core/register_archive.hpp)
2022-07-06 17:28:07 +02:00
Schöberl, Joachim
69f990d8bf Merge branch 'fix_meshing_bug' into 'master'
Fix meshing bug (close surface on boundary)

See merge request ngsolve/netgen!508
2022-07-06 16:27:03 +02:00
Matthias Hochsteger
47de18a508 Avoid loading geometry from mesh file twice
Ng_LoadMesh() tries to read the geometry from the mesh file. If it was
read before by Mesh::Load(), the preloaded geometry is replaced by
ng_geometry (which might be garbage)

This is a mere workaround, not a clean solution (Mesh::Load() should
handle everything, including MPI distribution of geometry)
2022-07-06 14:07:17 +02:00
Matthias Hochsteger
00d6c94bd9 Consistent parameters for CSGeometry::FindIdenticSurfaces
also don't call it in Draw() (already done in constructor)
2022-07-06 12:49:02 +02:00
Matthias Hochsteger
99e463146f Fix meshing bug (close surface on boundary) 2022-07-05 12:12:13 +02:00
Matthias Hochsteger
6f0a486d20 pip: remove --use-feature=in-tree-build flag 2022-06-28 15:04:50 +02:00
Matthias Hochsteger
00d9583af3 fix non-gui build on Windows 2022-06-23 04:04:38 -07:00
Matthias Hochsteger
5acb38eabd fix dll loading path on Windows with Python 3.10 2022-06-22 00:36:03 -07:00
Matthias Hochsteger
7eb76b67c7 DLL_HEADER for Mesh::SetLocalH 2022-06-21 01:53:58 -07:00
Christopher Lackner
06f35594c6 add norm of gp_Vec 2022-06-13 10:35:26 +02:00
Hochsteger, Matthias
36ac5e5bcc Merge branch 'boundarylayer_improvements' into 'master'
Boundarylayer improvements

See merge request ngsolve/netgen!507
2022-06-09 15:47:26 +02:00
Matthias Hochsteger
c6a4f90915 fix FillCloseSurface for multiple identifications 2022-06-09 15:32:41 +02:00
Christopher Lackner
c71d142738 fix double segments in getedgetangent of boundarylayer 2022-06-09 15:32:41 +02:00