mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 05:50:32 +05:00
Reset geometry when loading mesh with MPI active.
This commit is contained in:
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
|
||||||
|
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user