Commit Graph

4692 Commits

Author SHA1 Message Date
Joachim Schoeberl
7570468686 bcast material etc names using ibcast 2024-11-26 13:29:14 +01:00
Joachim Schoeberl
a86d231714 check for num=0 before memcpy 2024-11-25 17:25:40 +01:00
Matthias Hochsteger
22797971f6 Cleanup Abaqus export, implement 1d and 2d elements 2024-11-25 16:27:34 +01:00
Matthias Hochsteger
dd6638b1ab Mesh::GetRegionName(element_or_elindex) 2024-11-25 16:27:34 +01:00
Lackner, Christopher
7d483dcade Merge branch 'free_edges' into 'master'
OCC - support free-floating edges in solids

See merge request ngsolve/netgen!687
2024-11-25 14:14:47 +01:00
Hochsteger, Matthias
3e30ad9b75 OCC - support free-floating edges in solids 2024-11-25 14:14:47 +01:00
Matthias Hochsteger
44611e668c Fix Segfault in MPI ReceiveMesh
See https://github.com/NGSolve/netgen/issues/196
2024-11-25 13:56:39 +01:00
Matthias Hochsteger
9e80e5f195 Fix MPICH compatibility
When building without MPI wrapper: Use preprocessor macros instead of global variables for MPI symbols

See https://github.com/NGSolve/netgen/issues/196
2024-11-25 11:20:32 +01:00
Matthias Hochsteger
e2a20a44bc Put IsSafe to ngcore namespace, separate functions for range check macros for readability 2024-11-20 20:53:35 +01:00
Matthias Hochsteger
69f5e8e572 Use nest_asyncio for playwright/screenshots in docu 2024-11-11 12:41:36 +01:00
Matthias Hochsteger
47ea05dc24 Use playwright for screenshots in docu 2024-11-11 10:33:55 +01:00
Schöberl, Joachim
fb41dddf3d Merge branch 'wp_close_name' into 'master'
optional name in wp.Close for last edge

See merge request ngsolve/netgen!686
2024-11-05 17:35:30 +01:00
Christopher Lackner
22a251e4fd optional name in wp.Close for last edge 2024-11-05 14:58:30 +01:00
Schöberl, Joachim
ddf64c8250 Merge branch 'std_exception_inv_arg' into 'master'
use std invalid argument instead of Exception in py constructor

See merge request ngsolve/netgen!685
2024-11-05 11:00:48 +01:00
Matthias Hochsteger
629cca9413 Use std::tuple<double,double> instead of py::tuple with length and type checks 2024-11-05 10:46:08 +01:00
Christopher Lackner
45acbbf6ef use std invalid argument instead of Exception in py constructor 2024-11-05 07:55:23 +01:00
Joachim Schoeberl
9a7a9fa445 remove unused variable 2024-10-19 14:38:48 +02:00
Lackner, Christopher
6debf03402 Merge branch 'periodic_and_cs' into 'master'
enable periodic + closesurface identification on same boundaries

See merge request ngsolve/netgen!684
2024-10-16 20:02:23 +02:00
Christopher Lackner
b981d45069 enable periodic + closesurface identification on same boundaries 2024-10-16 19:42:57 +02:00
Matthias Hochsteger
db9aaef220 Don't build for Python 3.8 anymore 2024-10-16 10:26:53 +02:00
Schöberl, Joachim
141af42887 Merge branch 'idnrs_in_merge_mesh' into 'master'
propagate idnrs in merge mesh (for ZRefine)

See merge request ngsolve/netgen!682
2024-10-13 13:34:49 +02:00
Christopher Lackner
75823e8244 propagate idnrs in merge mesh (for ZRefine) 2024-10-13 10:57:29 +02:00
Schöberl, Joachim
5b245d4de3 Merge branch 'build_with_older_pybind11' into 'master'
also allow building with older pybind11 without py::set_error

See merge request ngsolve/netgen!681
2024-10-10 09:17:12 +02:00
Lackner, Christopher
587b766418 also allow building with older pybind11 without py::set_error 2024-10-10 09:17:11 +02:00
Hochsteger, Matthias
e30677169b Merge branch 'misc_fixes' into 'master'
Misc fixes

See merge request ngsolve/netgen!680
2024-10-08 14:31:40 +02:00
Matthias Hochsteger
ab985ba044 Fix optimizations in domains with non-tet elements 2024-10-08 14:01:22 +02:00
Matthias Hochsteger
8a049799e2 Fix debugging function GetOpenElements() 2024-10-08 14:00:12 +02:00
Matthias Hochsteger
a8309fae1c Update d3, fix styles in timing html chart 2024-10-08 13:59:30 +02:00
Matthias Hochsteger
267830387f PajeTrace - option to write only (small) html charts and no trace file 2024-10-08 13:58:23 +02:00
Matthias Hochsteger
96bad51dd3 Pyodide fixes 2024-10-07 18:04:20 +02:00
Matthias Hochsteger
12f42b30cd New test results 2024-10-01 14:16:15 +02:00
Matthias Hochsteger
1e20c1860b Fix RemoveIllegalElements
- Only search in relevant domain
- Break if number of illegal elements increases (avoids infinite loop)
  -> This shouldn't actually happen and is just a workaround until the
  optimization routines are fixed
2024-10-01 13:34:19 +02:00
Joachim Schoeberl
c4dbe60f78 create edge from two vertices 2024-09-28 20:29:22 +02:00
Schöberl, Joachim
ce3f627e36 Merge branch 'occ_vec_from_dir' into 'master'
convert gp_Dir to gp_Vec

See merge request ngsolve/netgen!679
2024-09-28 20:17:25 +02:00
Christopher Lackner
10986ffbab convert gp_Dir to gp_Vec 2024-09-28 16:39:19 +02:00
Schöberl, Joachim
3e279da9bf Merge branch 'occ_make_polygon' into 'master'
export occ MakePolygon

See merge request ngsolve/netgen!678
2024-09-28 15:34:40 +02:00
Christopher Lackner
6b662a9634 export occ MakePolygon 2024-09-28 15:15:44 +02:00
Matthias Hochsteger
7f8172aaf6 Allow vector<int> as domain, project_boundaries in BoundaryLayerParameters 2024-09-27 17:29:05 +02:00
Schöberl, Joachim
2ff62bc283 Merge branch 'blayer_as_meshing_parameter' into 'master'
Add BoundarylayerParameters to MeshingParameters

See merge request ngsolve/netgen!677
2024-09-27 16:30:50 +02:00
Hochsteger, Matthias
833a177e34 Add BoundarylayerParameters to MeshingParameters 2024-09-27 16:30:50 +02:00
Schöberl, Joachim
592221ee19 Merge branch 'fix_identified_point_handling' into 'master'
Fix handling identified points in Compress and MeshVolume

See merge request ngsolve/netgen!676
2024-09-27 16:30:29 +02:00
Hochsteger, Matthias
27b8b5e7c8 Fix handling identified points in Compress and MeshVolume 2024-09-27 16:30:29 +02:00
Schöberl, Joachim
fb39692f9c Merge branch 'skip_non_tet_points_in_smoothing' into 'master'
Don't do mesh smoothing at non-tet elements

See merge request ngsolve/netgen!675
2024-09-27 16:29:47 +02:00
Hochsteger, Matthias
61bed581ec Don't do mesh smoothing at non-tet elements 2024-09-27 16:29:47 +02:00
Schöberl, Joachim
f3a2cee15b Merge branch 'range_check_in_ngarray' into 'master'
Use new range check macro in NgArray

See merge request ngsolve/netgen!632
2024-09-27 16:29:29 +02:00
Matthias Hochsteger
13d962acdd Write more debug output meshes on failure 2024-09-27 11:48:42 +02:00
Matthias Hochsteger
5e3743df31 Code cleanup 2024-09-27 11:43:54 +02:00
Matthias Hochsteger
156a429898 Remove empty file ngarray.cpp 2024-09-27 11:27:41 +02:00
Matthias Hochsteger
5c38bef3cf Fix initializing empty tables 2024-09-27 11:27:41 +02:00
Matthias Hochsteger
451e59afa2 Use new range check macro in NgArray 2024-09-27 11:27:41 +02:00