From 1be80796de7c7f70f193ae9964c8037a795df781 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Sat, 26 Feb 2022 16:48:03 -0700 Subject: [PATCH] Adjust a couple of tests. --- tests/mpi/renumber_cuthill_mckee.cc | 6 ++++-- tests/mpi/renumber_cuthill_mckee_02.cc | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/tests/mpi/renumber_cuthill_mckee.cc b/tests/mpi/renumber_cuthill_mckee.cc index 750c664a85..3657264173 100644 --- a/tests/mpi/renumber_cuthill_mckee.cc +++ b/tests/mpi/renumber_cuthill_mckee.cc @@ -119,14 +119,16 @@ test() if (myid == i) MPI_Send(&renumbering[0], renumbering.size(), - Utilities::MPI::mpi_type_id(&complete_renumbering[0]), + Utilities::MPI::mpi_type_id_for_type, 0, i, MPI_COMM_WORLD); else if (myid == 0) MPI_Recv(&complete_renumbering[offset], dofs_per_proc[i].n_elements(), - Utilities::MPI::mpi_type_id(&complete_renumbering[0]), + Utilities::MPI::mpi_type_id_for_type, i, i, MPI_COMM_WORLD, diff --git a/tests/mpi/renumber_cuthill_mckee_02.cc b/tests/mpi/renumber_cuthill_mckee_02.cc index 5e2a5b215d..3871a6dc30 100644 --- a/tests/mpi/renumber_cuthill_mckee_02.cc +++ b/tests/mpi/renumber_cuthill_mckee_02.cc @@ -85,14 +85,16 @@ test() if (myid == i) MPI_Send(&renumbering[0], renumbering.size(), - Utilities::MPI::mpi_type_id(&complete_renumbering[0]), + Utilities::MPI::mpi_type_id_for_type, 0, i, MPI_COMM_WORLD); else if (myid == 0) MPI_Recv(&complete_renumbering[offset], locally_owned_dofs_per_processor[i].n_elements(), - Utilities::MPI::mpi_type_id(&complete_renumbering[0]), + Utilities::MPI::mpi_type_id_for_type, i, i, MPI_COMM_WORLD, -- 2.39.5