diff --git a/libsrc/core/mpi_wrapper.hpp b/libsrc/core/mpi_wrapper.hpp index 4407173d..da5df796 100644 --- a/libsrc/core/mpi_wrapper.hpp +++ b/libsrc/core/mpi_wrapper.hpp @@ -164,7 +164,15 @@ namespace ngcore MPI_Isend (&val, 1, GetMPIType(), dest, tag, comm, &request); return request; } - + + template())> + MPI_Request ISend (const FlatArray & s, int dest, int tag) const + { + MPI_Request request; + MPI_Isend (s.Data(), s.Size(), GetMPIType(), dest, tag, comm, &request); + return request; + } + template())> MPI_Request IRecv (T & val, int src, int tag) const {