From 939a64869bd8c0c202250863009a10a781f4e9a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joachim=20Sch=C3=B6berl?= Date: Tue, 12 Feb 2019 22:25:22 +0100 Subject: [PATCH] get rid of ng_comm --- libsrc/core/mpi_wrapper.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libsrc/core/mpi_wrapper.hpp b/libsrc/core/mpi_wrapper.hpp index 5b0fb14e..29f05cf1 100644 --- a/libsrc/core/mpi_wrapper.hpp +++ b/libsrc/core/mpi_wrapper.hpp @@ -160,6 +160,9 @@ namespace ngcore bool operator== (MPI_Comm c2) const { return nr == c2.nr; } }; static MPI_Comm MPI_COMM_WORLD = 12345, MPI_COMM_NULL = 10000; + + typedef int MPI_Op; + enum { MPI_SUM = 0, MPI_MIN = 1, MPI_MAX = 2 }; class NgMPI_Comm {