mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
Fixed index issue for 0D elements in topology
This commit is contained in:
parent
f5a9991d24
commit
05add9530d
@ -163,8 +163,8 @@ namespace netgen
|
||||
vert2pointelement = new TABLE<int,PointIndex::BASE> (cnt);
|
||||
for (int pi = 0; pi < mesh.pointelements.Size(); pi++)
|
||||
{
|
||||
const Element0d & pointel = mesh.pointelements[pi];
|
||||
vert2pointelement->AddSave (pointel.pnum, pi);
|
||||
const Element0d & pointel = mesh.pointelements[pi];
|
||||
vert2pointelement->AddSave (pointel.pnum, pi+1);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user