fix for 2D curves with same sub-domain on both sides

This commit is contained in:
Joachim Schöberl 2020-11-19 20:07:03 +01:00
parent c58659883d
commit f5771dca1e

View File

@ -482,7 +482,8 @@ namespace netgen
for (const Segment & seg : mesh->LineSegments())
{
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();