diff --git a/libsrc/meshing/clusters.cpp b/libsrc/meshing/clusters.cpp index 52e5eec1..07db0247 100644 --- a/libsrc/meshing/clusters.cpp +++ b/libsrc/meshing/clusters.cpp @@ -26,6 +26,9 @@ namespace netgen const MeshTopology & top = mesh.GetTopology(); + auto id = this->mesh.GetCommunicator().Rank(); + auto ntasks = this->mesh.GetCommunicator().Size(); + bool hasedges = top.HasEdges(); bool hasfaces = top.HasFaces(); diff --git a/libsrc/meshing/topology.cpp b/libsrc/meshing/topology.cpp index dc57c347..f5881796 100644 --- a/libsrc/meshing/topology.cpp +++ b/libsrc/meshing/topology.cpp @@ -338,6 +338,8 @@ namespace netgen // ParallelMeshTopology & paralleltop = mesh.GetParallelTopology(); #endif + auto id = this->mesh->GetCommunicator().Rank(); + auto ntasks = this->mesh->GetCommunicator().Size(); if (timestamp > mesh->GetTimeStamp()) return;