mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 21:10:33 +05:00
fix for 2D curves with same sub-domain on both sides
This commit is contained in:
parent
c58659883d
commit
f5771dca1e
@ -482,7 +482,8 @@ namespace netgen
|
|||||||
for (const Segment & seg : mesh->LineSegments())
|
for (const Segment & seg : mesh->LineSegments())
|
||||||
{
|
{
|
||||||
dom2seg_creator.Add (seg.domin, &seg);
|
dom2seg_creator.Add (seg.domin, &seg);
|
||||||
dom2seg_creator.Add (seg.domout, &seg);
|
if (seg.domin != seg.domout)
|
||||||
|
dom2seg_creator.Add (seg.domout, &seg);
|
||||||
}
|
}
|
||||||
auto dom2seg = dom2seg_creator.MoveTable();
|
auto dom2seg = dom2seg_creator.MoveTable();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user