Fixed index issue for 0D elements in topology

This commit is contained in:
Gerhard Kitzler 2016-08-17 17:17:23 +02:00
parent f5a9991d24
commit 05add9530d

View File

@ -164,7 +164,7 @@ namespace netgen
for (int pi = 0; pi < mesh.pointelements.Size(); pi++)
{
const Element0d & pointel = mesh.pointelements[pi];
vert2pointelement->AddSave (pointel.pnum, pi);
vert2pointelement->AddSave (pointel.pnum, pi+1);
}