1
0
mirror of https://github.com/NGSolve/netgen.git synced 2025-04-23 07:32:03 +05:00

Reset geometry when loading mesh with MPI active.

This commit is contained in:
Lukas 2018-08-02 10:18:46 +02:00
parent 614489c69a
commit bd8a53665a

@ -124,6 +124,7 @@ void Ng_LoadMesh (const char * filename)
#ifdef PARALLEL #ifdef PARALLEL
MPI_Comm_size(MPI_COMM_WORLD, &ntasks); MPI_Comm_size(MPI_COMM_WORLD, &ntasks);
MPI_Comm_rank(MPI_COMM_WORLD, &id); MPI_Comm_rank(MPI_COMM_WORLD, &id);
ng_geometry = nullptr;
#endif #endif
{ {