From cf6c69ed6903497ecea86421bd62499c0397c126 Mon Sep 17 00:00:00 2001 From: Joachim Schoeberl Date: Tue, 26 Apr 2022 23:04:11 +0200 Subject: [PATCH] paralleltop also in sequential version - only tye type --- libsrc/meshing/curvedelems.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libsrc/meshing/curvedelems.cpp b/libsrc/meshing/curvedelems.cpp index 68ab1cff..e32a9eb6 100644 --- a/libsrc/meshing/curvedelems.cpp +++ b/libsrc/meshing/curvedelems.cpp @@ -560,10 +560,10 @@ namespace netgen order = 1; auto comm = mesh.GetCommunicator(); - // #ifdef PARALLEL +#ifdef PARALLEL enum { MPI_TAG_CURVE = MPI_TAG_MESH+20 }; const ParallelMeshTopology & partop = mesh.GetParallelTopology (); - //#endif +#endif int ntasks = comm.Size(); bool working = (ntasks == 1) || (comm.Rank() > 0);