Commit Graph

4369 Commits

Author SHA1 Message Date
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
Christopher Lackner
a3408b537a fixes for boundarylayer edge tangent computation and some more 2022-06-09 15:32:41 +02:00
Lackner, Christopher
6b12050fd1 Merge branch 'listofshape_from_list' into 'master'
[occ] create ListOfShape from list of shapes

See merge request ngsolve/netgen!506
2022-06-09 10:07:38 +02:00
Christopher Lackner
3531f9c9d4 fix typo 2022-06-08 20:59:06 +02:00
Christopher Lackner
03e21d5c5f [occ] create ListOfShape from list of shapes 2022-06-08 20:52:51 +02:00
Matthias Hochsteger
8f33f4fed8 Don't rely on type deduction for std::function ctor
Didn't work on MacOSX 12.4
2022-06-08 10:40:19 +02:00
Matthias Hochsteger
1497404a4c Fix mesh saving/loading with OCC 7.6 2022-05-25 16:29:34 +02:00
Matthias Hochsteger
b113ec48ed fix Tk gui from jupyter 2022-05-25 10:28:53 +02:00
Hochsteger, Matthias
ca3cee02c3 Merge branch 'fix_for_trefftz' into 'master'
add some DLL_HEADER

See merge request ngsolve/netgen!505
2022-05-20 20:26:43 +02:00
von Wahl, Henry
c9776a7c86 add some DLL_HEADER 2022-05-20 20:26:43 +02:00
Schöberl, Joachim
668f0945c4 Merge branch 'surf_color_to_mesh' into 'master'
surface color to mesh from geometry

See merge request ngsolve/netgen!504
2022-05-10 18:44:39 +02:00
Christopher Lackner
95be76d8ee surface color to mesh from geometry 2022-05-10 18:18:29 +02:00
Joachim Schoeberl
e8ec2b3550 netgen-std includes before tcl 2022-05-07 20:40:40 +02:00
Joachim Schoeberl
bac77b1f58 define ng_tcl_volatile, ... 2022-05-07 19:54:43 +02:00
Joachim Schoeberl
1a634c1957 Tcl_FreeProc + volatile/static/dynamic constants of correct type 2022-05-07 19:45:38 +02:00
Joachim Schoeberl
03332c1146 define type Tcl_FreeProc 2022-05-07 19:40:16 +02:00
Matthias Hochsteger
81f5ed5415 fix ngsolve loading 2022-05-07 15:13:35 +02:00
Schöberl, Joachim
1a174508db Merge branch 'occ_consistent_maxh' into 'master'
make shape.solids.maxh = ... consistent with solid.maxh = ...

See merge request ngsolve/netgen!503
2022-05-07 15:10:57 +02:00