Commit Graph

1584 Commits

Author SHA1 Message Date
Matthias Hochsteger
99be6bbc0e Don't add new segments in blayer if 'only_add_volume_elements' is set 2024-10-25 15:04:34 +02:00
Matthias Hochsteger
4f927f5469 Fix abort criteria in boundarylayer thickness limitation 2024-10-24 17:10:10 +02:00
Matthias Hochsteger
7f294a582c Throw error earlier in intersection-check, utility function to write mesh on error 2024-10-24 16:58:27 +02:00
Matthias Hochsteger
aa2e0ace99 Stop blayer limitation if 1e-10 is reached, and throw an Exception 2024-10-24 15:50:44 +02:00
Matthias Hochsteger
72e25d45a4 Only check for self-intersection on moved boundaries 2024-10-24 15:50:21 +02:00
Matthias Hochsteger
54e5de4395 Write debug output only if debugparam.debugoutput is set 2024-10-24 11:35:35 +02:00
Matthias Hochsteger
be79facdb3 Stop meshing if boundarylayer thickness limitation reaches 1e-10 2024-10-24 11:32:13 +02:00
Matthias Hochsteger
600b33edd6 Write debug output only if debugparam.debugoutput is set 2024-10-24 11:31:54 +02:00
Matthias Hochsteger
6aa634ce1f Merge remote-tracking branch 'origin/master' into boundarylayer_fixes 2024-10-24 11:08:58 +02:00
Christopher Lackner
b981d45069 enable periodic + closesurface identification on same boundaries 2024-10-16 19:42:57 +02:00
Matthias Hochsteger
03057420f7 Merge branch 'master' into boundarylayer_fixes 2024-10-16 18:27:30 +02:00
Christopher Lackner
75823e8244 propagate idnrs in merge mesh (for ZRefine) 2024-10-13 10:57:29 +02:00
Matthias Hochsteger
92f4381c56 Fix RangeException 2024-10-08 18:48:15 +02:00
Matthias Hochsteger
4a1fe78ff6 Rename blp.keep_surfaceindex to disable_curving
When disabling curving at faces, also disable it for adjacent edges
2024-10-08 17:35:53 +02:00
Matthias Hochsteger
4373def54b Don't attempt to curve edges if edgenr < 0 2024-10-08 17:35:32 +02:00
Matthias Hochsteger
82965f63b0 formatting 2024-10-08 16:23:43 +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
f2518b92bb Typedefs for Trig, Seg, fix limitation at prism side trigs 2024-10-08 12:37:17 +02:00
Matthias Hochsteger
ba8172e1fe Revert changes in divide mesh 2024-10-07 16:57:46 +02:00
Matthias Hochsteger
6160fd4d26 Cleanup 2024-10-07 15:45:19 +02:00
Matthias Hochsteger
70eb3cc1f1 Faster boundary layer thickness limitation, fix equalizing 2024-10-07 15:32:07 +02:00
Matthias Hochsteger
d13a98231b Fix CombineImprove with non-tets in mesh 2024-10-07 15:30:38 +02:00
Matthias Hochsteger
787169d2b8 cleanup, fixes 2024-10-07 11:54:28 +02:00
Matthias Hochsteger
dbffb79550 some more 2024-10-04 20:38:58 +02:00
Matthias Hochsteger
9693a42a6a something 2024-10-03 19:11:07 +02:00
Matthias Hochsteger
3de8b2f153 Merge remote-tracking branch 'origin/master' into boundarylayer_fixes 2024-10-03 18:08:22 +02:00
Matthias Hochsteger
0daeeb20aa BLayer - Option to build only volelements without new surface elements/edges/domains 2024-10-03 18:06:37 +02:00
Matthias Hochsteger
2d653b2672 Multiple changes in boundarylayer code
- Separate file for interpolation functions
- Look in "segments" and "new_segments" for interpolation along new edge
  numbers (also optimize this code building tables)
- Better surface vector interpolation
- Build points_set sequentially (std::set is not thread safe)
2024-10-02 11:24:03 +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
Matthias Hochsteger
b1182e48b8 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:28:16 +02:00
Matthias Hochsteger
40fc4bf0dc Multiple limitation passes in boundary layer, better symmetry 2024-10-01 13:27:50 +02:00
Matthias Hochsteger
f6902c1f6e Multiple blayer limitation passes with decreasing smothing 2024-10-01 11:50:41 +02:00
Matthias Hochsteger
d82c96ba2b Move limits array to Limiter 2024-09-27 18:30:47 +02:00
Matthias Hochsteger
c0422c160b Revert skipping prismrules in volume mesher 2024-09-27 17:33:25 +02:00
Matthias Hochsteger
a6e8abca3e cleanup 2024-09-27 17:32:07 +02:00
Matthias Hochsteger
bb2646945a format boundarylayer.cpp 2024-09-27 17:30:36 +02:00
Matthias Hochsteger
2124ab5980 Merge branch 'blayer_parameters' into boundarylayer_fixes_cleanup 2024-09-27 17:30:01 +02:00
Matthias Hochsteger
7f8172aaf6 Allow vector<int> as domain, project_boundaries in BoundaryLayerParameters 2024-09-27 17:29:05 +02:00
Matthias Hochsteger
719ab271d4 start to cleanup blayer code 2024-09-27 17:03:26 +02:00
Matthias Hochsteger
565bc2dc6a Merge remote-tracking branch 'origin/master' into boundarylayer_fixes_cleanup 2024-09-27 16:43:59 +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
Hochsteger, Matthias
61bed581ec Don't do mesh smoothing at non-tet elements 2024-09-27 16:29:47 +02:00
Matthias Hochsteger
663eaffbb2 Apply blayer_as_meshing_parameter changes 2024-09-27 13:17:20 +02:00
Matthias Hochsteger
7774b6ccd7 cleanup 2024-09-27 11:52:39 +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