mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 21:40:33 +05:00
Handle numbers in correct order (first index, then number of points)
This commit is contained in:
parent
3de07c25ab
commit
dc4b1c05b9
@ -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++]);
|
||||||
|
Loading…
Reference in New Issue
Block a user