From cb1c47689edc9183eefed2ab709b6389b1e5e774 Mon Sep 17 00:00:00 2001 From: Stephane Del Pino <stephane.delpino44@gmail.com> Date: Tue, 5 Mar 2019 11:56:10 +0100 Subject: [PATCH] Fix two #warnings (missing synchronization for face/node new owners) This is not a real fix, but should be required in the case load balancing (which is not yet available) --- src/mesh/GmshReader.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/mesh/GmshReader.cpp b/src/mesh/GmshReader.cpp index 24dc24a4e..23e74c0fd 100644 --- a/src/mesh/GmshReader.cpp +++ b/src/mesh/GmshReader.cpp @@ -17,6 +17,7 @@ #include <Partitioner.hpp> #include <ArrayUtils.hpp> +#include <ItemValueUtils.hpp> #include <unordered_map> #include <map> @@ -376,7 +377,7 @@ class MeshDispatcher face_new_owner[l] = m_cell_new_owner[Jmin]; }); -#warning Add missing synchronize + synchronize(face_new_owner); return face_new_owner; } @@ -401,7 +402,7 @@ class MeshDispatcher node_new_owner[r] = m_cell_new_owner[Jmin]; }); -#warning Add missing synchronize + synchronize(node_new_owner); return node_new_owner; } -- GitLab