From b4951ddc2559d92dbaab436e5f00e2c9c1957aa6 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Tue, 31 Oct 2017 15:45:17 -0600 Subject: [PATCH] Also describe MPI data types. --- include/deal.II/base/mpi.templates.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/include/deal.II/base/mpi.templates.h b/include/deal.II/base/mpi.templates.h index f1ca394020..4912534261 100644 --- a/include/deal.II/base/mpi.templates.h +++ b/include/deal.II/base/mpi.templates.h @@ -92,6 +92,20 @@ namespace Utilities { return MPI_LONG_DOUBLE; } + + + + inline MPI_Datatype mpi_type_id (const std::complex *) + { + return MPI_COMPLEX; + } + + + + inline MPI_Datatype mpi_type_id (const std::complex *) + { + return MPI_DOUBLE_COMPLEX; + } #endif -- 2.39.5