mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-12 06:00:33 +05:00
Merge branch 'fix_negative_edgenrs' into 'master'
delete edges with negative edgenr in mesh.Compress See merge request !58
This commit is contained in:
commit
c5ad77ad0c
@ -3193,6 +3193,10 @@ namespace netgen
|
|||||||
i--;
|
i--;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
for(int i=0; i < segments.Size(); i++)
|
||||||
|
if(segments[i].edgenr < 0)
|
||||||
|
segments.Delete(i--);
|
||||||
|
|
||||||
pused.Clear();
|
pused.Clear();
|
||||||
for (int i = 0; i < volelements.Size(); i++)
|
for (int i = 0; i < volelements.Size(); i++)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user