mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 05:20:34 +05:00
fix for 2D curves with same sub-domain on both sides
This commit is contained in:
parent
c58659883d
commit
f5771dca1e
@ -482,6 +482,7 @@ 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);
|
||||||
|
if (seg.domin != seg.domout)
|
||||||
dom2seg_creator.Add (seg.domout, &seg);
|
dom2seg_creator.Add (seg.domout, &seg);
|
||||||
}
|
}
|
||||||
auto dom2seg = dom2seg_creator.MoveTable();
|
auto dom2seg = dom2seg_creator.MoveTable();
|
||||||
|
Loading…
Reference in New Issue
Block a user