Handle numbers in correct order (first index, then number of points)

This commit is contained in:
Matthias Hochsteger 2019-04-26 09:27:29 +02:00
parent 3de07c25ab
commit dc4b1c05b9

View File

@ -882,8 +882,9 @@ namespace netgen
{ {
paralleltop->SetLoc2Glob_VolEl ( elnum, elarray[ind++]); paralleltop->SetLoc2Glob_VolEl ( elnum, elarray[ind++]);
int index = elarray[ind++];
Element el(elarray[ind++]); Element el(elarray[ind++]);
el.SetIndex(elarray[ind++]); el.SetIndex(index);
for ( int j = 0; j < el.GetNP(); j++) for ( int j = 0; j < el.GetNP(); j++)
el[j] = glob2loc_vert_ht.Get (elarray[ind++]); el[j] = glob2loc_vert_ht.Get (elarray[ind++]);