From 1cf84d3b7548b9d7ba5ff42a8537151607029e4e Mon Sep 17 00:00:00 2001 From: schnellerhase <56360279+schnellerhase@users.noreply.github.com> Date: Sun, 3 Nov 2024 12:08:56 +0100 Subject: [PATCH] Doc --- cpp/dolfinx/common/MPI.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cpp/dolfinx/common/MPI.h b/cpp/dolfinx/common/MPI.h index 03d04d9b39..a04c74c8cd 100644 --- a/cpp/dolfinx/common/MPI.h +++ b/cpp/dolfinx/common/MPI.h @@ -269,6 +269,8 @@ struct dependent_false : std::false_type }; /// MPI Type + +/// @brief Type trait for MPI type conversions. template struct mpi_type_mapping; @@ -277,6 +279,8 @@ struct mpi_type_mapping; template MPI_Datatype mpi_t = mpi_type_mapping::type; +/// @brief Registers for cpp_t the correpsonding mpi_t which can then be +/// retrieved with mpi_t form here on. #define MAP_TO_MPI_TYPE(cpp_t, mpi_t) \ template <> \ struct mpi_type_mapping \