mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-12 22:20:35 +05:00
little fix for distributing 2d meshes
This commit is contained in:
parent
4486558ba8
commit
3de07c25ab
@ -873,8 +873,6 @@ namespace netgen
|
|||||||
*testout << "got " << numvert << " vertices" << endl;
|
*testout << "got " << numvert << " vertices" << endl;
|
||||||
|
|
||||||
{
|
{
|
||||||
Element el(4);
|
|
||||||
|
|
||||||
Array<int> elarray;
|
Array<int> elarray;
|
||||||
MyMPI_Recv (elarray, 0, MPI_TAG_MESH+2, comm);
|
MyMPI_Recv (elarray, 0, MPI_TAG_MESH+2, comm);
|
||||||
|
|
||||||
@ -884,8 +882,8 @@ namespace netgen
|
|||||||
{
|
{
|
||||||
paralleltop->SetLoc2Glob_VolEl ( elnum, elarray[ind++]);
|
paralleltop->SetLoc2Glob_VolEl ( elnum, elarray[ind++]);
|
||||||
|
|
||||||
|
Element el(elarray[ind++]);
|
||||||
el.SetIndex(elarray[ind++]);
|
el.SetIndex(elarray[ind++]);
|
||||||
el.SetNP(elarray[ind++]);
|
|
||||||
|
|
||||||
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