mirror of
https://github.com/NGSolve/netgen.git
synced 2025-03-23 15:07:56 +05:00
GetFaceEdges index fix
This commit is contained in:
parent
fb399595fa
commit
5e742f017c
@ -2404,13 +2404,14 @@ namespace netgen
|
||||
}
|
||||
}
|
||||
SurfaceElementIndex surfel = GetFace2SurfaceElement(fnr-1);
|
||||
if (!surfel.IsValid())
|
||||
|
||||
if (surfel.IsValid())
|
||||
{
|
||||
// GetSurfaceElementEdges (surfel, fedges);
|
||||
auto hedges = GetEdges (surfel);
|
||||
fedges.SetSize(hedges.Size());
|
||||
for (int i : Range(hedges))
|
||||
fedges[i]=hedges[i];
|
||||
fedges[i]=hedges[i]+1;
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user