mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 05:20:34 +05:00
fix index error in cgns import
This commit is contained in:
parent
f51ad8eed5
commit
47632a06aa
@ -677,7 +677,7 @@ namespace netgen
|
|||||||
for (auto sei : Range(mesh.SurfaceElements()))
|
for (auto sei : Range(mesh.SurfaceElements()))
|
||||||
{
|
{
|
||||||
int ei0, ei1;
|
int ei0, ei1;
|
||||||
topo.GetSurface2VolumeElement (sei, ei0, ei1);
|
topo.GetSurface2VolumeElement (sei+1, ei0, ei1);
|
||||||
auto si = mesh.SurfaceElement(sei).GetIndex();
|
auto si = mesh.SurfaceElement(sei).GetIndex();
|
||||||
auto & fd = mesh.GetFaceDescriptor(si);
|
auto & fd = mesh.GetFaceDescriptor(si);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user