Christopher Lackner
a9e8f2a1c9
return invalid surfaceindex (index is 0 based)
2025-04-28 20:29:51 +02:00
Matthias Hochsteger
b84975586c
Boundarylayer thickness limitation fix
...
Don't check for intersecting mapped trigs if only volume elements are
added (and no mapped surface elements).
In case of only inserted volume elements, we don't care about the limit
at special points.
2025-04-28 16:36:00 +02:00
Matthias Hochsteger
aa66cd11c4
Export Mesh.GetCurveOrder() to Python
2025-04-28 15:31:50 +02:00
Matthias Hochsteger
494b0ae37c
code formatting in blayer files
2025-04-28 15:31:30 +02:00
Matthias Hochsteger
f42d0c0be4
Fix missing identifications in boundarylayer generation, some code refactoring
2025-04-28 15:30:29 +02:00
Joachim Schoeberl
109e7ffcf7
fix for 1D meshing (without region names)
2025-04-14 10:40:41 +02:00
Joachim Schoeberl
cb3eb0d355
common arrays of region names
2025-04-13 16:14:01 +02:00
Matthias Hochsteger
3f28651e63
Boundary layers - don't ignore edges on cylinder sides when smoothing growth vectors
2025-04-09 11:39:57 +02:00
Matthias Hochsteger
12ef984e93
OCC - Set metricweight in 2d mesh optimization (like in CSG)
2025-03-26 16:29:32 +01:00
Matthias Hochsteger
f15ba64a90
LocalH::Find() utility function to find GradingBox
...
Simplifies code and avoids searching for same grading box twice in SetH().
2025-03-26 15:37:06 +01:00
Matthias Hochsteger
3b79dbc8ff
Layer parameter for RestrictH
2025-03-26 15:19:11 +01:00
Christopher Lackner
7b13db740d
fix bisect with periodic boundaries
2025-03-25 11:00:24 +01:00
Christopher Lackner
78994da199
1d occ meshes
2025-03-19 17:38:51 +01:00
Christopher Lackner
b8d722d6a8
remove debug output
2025-03-13 18:41:38 +01:00
Christopher Lackner
7aae5369c4
move all searchtrees to use elementindex
2025-03-13 18:39:21 +01:00
Christopher Lackner
787c6043fa
set timestamp in element search tree
2025-03-13 10:10:04 +01:00
Christopher Lackner
d240203932
fix 1d FindPointInElement
2025-03-07 18:01:00 +01:00
Christopher Lackner
9204b079f6
Improvements to FindPointInElement interface code
2025-03-07 17:14:31 +01:00
Matthias Hochsteger
627e89d579
Fixes to conform to free segments
2025-03-06 18:53:16 +01:00
Christopher Lackner
bc194027a2
fix edges and new domains in BoundaryLayer2d with make_new_domain=True
2025-03-04 09:59:56 +01:00
Christopher Lackner
d1a9f7ee3d
raise Exception on BoundaryLayer call (should be given as meshing parameters now)
2025-02-28 09:04:20 +01:00
Matthias Hochsteger
82befccada
Fix excessive hashtable size if meshpoints are close together (happens with boundary layers)
2025-02-27 19:44:36 +01:00
Matthias Hochsteger
9601f70c17
Keep free segments when generating boundary layers, also revert seg.si back to seg.edgenr+1
2025-02-27 17:27:54 +01:00
Matthias Hochsteger
5ab7a4995c
Some fixes for boundary layers when adjacent faces are mapped to different new materials
2025-02-25 18:04:18 +01:00
Matthias Hochsteger
8b0b9e507f
More robust tet splitting for free segment conformity
2025-02-25 12:46:39 +01:00
Matthias Hochsteger
f236648847
Skip SplitImprove if it would insert tets with negative volume
2025-02-24 19:56:43 +01:00
Christopher Lackner
2220fc093f
export restrictlocalh of netgen mesh
2025-02-21 11:43:37 +01:00
Joachim Schoeberl
5e742f017c
GetFaceEdges index fix
2025-02-17 23:31:29 +01:00
Matthias Hochsteger
fb399595fa
Skip SwapImproveEdge if one adjacent element has wrong orientation
2025-02-14 19:16:13 +01:00
Matthias Hochsteger
d2f7c24a5e
Utility function for debugging
2025-02-14 18:12:28 +01:00
Matthias Hochsteger
d7ae61e00a
Clean up SwapImproveEdge
2025-02-14 18:11:47 +01:00
Matthias Hochsteger
058cdce84d
Free edges - split Segments if other optimizations are not enough, also apply ImproveMesh
2025-02-14 10:04:56 +01:00
Joachim Schoeberl
15ffcbae8e
Segment numpy-descriptor 'index' changed to si
2025-02-13 23:04:21 +01:00
Matthias Hochsteger
913ede1cae
Boundarylayers - disable curving on edges with moved points
2025-02-12 09:59:07 +01:00
Matthias Hochsteger
44fe189bf0
Fix undefined behavior in 2d boundarylayer code
2025-02-11 18:32:39 +01:00
Matthias Hochsteger
12ff6d6f51
Fix identification propagation in boundary layer generation
2025-02-10 17:15:59 +01:00
Matthias Hochsteger
d1228b6ce9
Less tolerance for smoothing of boundarylayer vectors
2025-02-06 19:15:59 +01:00
Matthias Hochsteger
7aff94046f
Also smooth boundary layers at corners if adjacent surface elements have similar normal vectors
2025-02-06 18:50:04 +01:00
Matthias Hochsteger
a8a75614c0
More tolerance for boundary layer smoothing along inner edges
2025-02-06 18:49:36 +01:00
Matthias Hochsteger
6f574ec191
Fix range exception in boundarylayer limiter
2025-02-03 17:06:28 +01:00
Matthias Hochsteger
5856001819
Fix range exception in boundary limiter, rename npi to first_new_pi
2025-01-29 11:33:12 +01:00
Christopher Lackner
b79128fabf
fix bug in mesh read/write when identification name is empty
2025-01-21 09:58:16 +01:00
Joachim Schoeberl
892271fd08
proper initialize face2surfedl
2025-01-10 16:59:43 +01:00
Schöberl, Joachim
06e8764d01
use SortedPointIndex-HT
...
(cherry picked from commit b99b8eec349f0e39edd67341254e3181d4cd86ad)
Co-authored-by: Joachim Schoeberl <joachim.schoeberl@tuwien.ac.at>
2025-01-08 18:57:01 +01:00
Joachim Schoeberl
dcd6f6d60d
TablePrefixSum 32/64 bit decision
2025-01-08 08:25:12 +01:00
Joachim Schoeberl
0a1fd5a2e2
EdgeIndex and FaceIndex
2025-01-07 16:41:37 +01:00
Joachim Schoeberl
5642d435e1
missing constexpr
2025-01-06 18:33:44 +01:00
Joachim Schoeberl
6af9b48bda
fix range index, Index-operators
2025-01-06 18:05:13 +01:00
Joachim Schoeberl
c0b33db5c0
Index operators
2025-01-06 11:26:50 +01:00
Joachim Schoeberl
59e5974a28
NgArray -> Array bcnames etc
2025-01-05 18:19:21 +01:00