porperly clean up created mpi-group/comm in paralleltop

This commit is contained in:
Lukas 2019-08-26 12:54:06 +02:00
parent 287256a626
commit 1d0886fbec

View File

@ -698,6 +698,9 @@ namespace netgen
// cout << "UpdateCoarseGrid - done" << endl; // cout << "UpdateCoarseGrid - done" << endl;
is_updated = true; is_updated = true;
MPI_Group_free(&MPI_LocalGroup);
MPI_Comm_free(&MPI_LocalComm);
} }
} }