From: Wolfgang Bangerth Date: Tue, 31 Oct 2017 21:45:17 +0000 (-0600) Subject: Also describe MPI data types. X-Git-Tag: v9.0.0-rc1~828^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F5389%2Fhead;p=dealii.git Also describe MPI data types. --- 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