mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +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()))
|
||||
{
|
||||
int ei0, ei1;
|
||||
topo.GetSurface2VolumeElement (sei, ei0, ei1);
|
||||
topo.GetSurface2VolumeElement (sei+1, ei0, ei1);
|
||||
auto si = mesh.SurfaceElement(sei).GetIndex();
|
||||
auto & fd = mesh.GetFaceDescriptor(si);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user