Merge branch 'loadmesh_fix' into 'master'

Reset geometry when loading mesh with MPI active.

See merge request jschoeberl/netgen!95
This commit is contained in:
Joachim Schöberl 2018-08-07 11:21:51 +02:00
commit 0251b4ad0c

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
{