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

View File

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