From: Daniel Arndt Date: Wed, 7 Jun 2023 12:22:25 +0000 (-0400) Subject: Remove unused mpi_communicator pointer members initialized by temporaries X-Git-Tag: v9.5.0-rc1~144^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F15324%2Fhead;p=dealii.git Remove unused mpi_communicator pointer members initialized by temporaries --- diff --git a/examples/step-45/step-45.cc b/examples/step-45/step-45.cc index fc8c544d93..c088736334 100644 --- a/examples/step-45/step-45.cc +++ b/examples/step-45/step-45.cc @@ -202,7 +202,6 @@ namespace Step45 const SmartPointer matrix; const SmartPointer preconditioner; - const MPI_Comm * mpi_communicator; mutable TrilinosWrappers::MPI::Vector tmp; }; @@ -216,7 +215,6 @@ namespace Step45 const MPI_Comm mpi_communicator) : matrix(&m) , preconditioner(&preconditioner) - , mpi_communicator(&mpi_communicator) , tmp(locally_owned, mpi_communicator) {} diff --git a/tests/mpi/muelu_periodicity.cc b/tests/mpi/muelu_periodicity.cc index 73771b32d0..86787975f0 100644 --- a/tests/mpi/muelu_periodicity.cc +++ b/tests/mpi/muelu_periodicity.cc @@ -197,7 +197,6 @@ namespace Step22 const SmartPointer matrix; const SmartPointer preconditioner; - const MPI_Comm * mpi_communicator; mutable TrilinosWrappers::MPI::Vector tmp; }; @@ -210,7 +209,6 @@ namespace Step22 const MPI_Comm mpi_communicator) : matrix(&m) , preconditioner(&preconditioner) - , mpi_communicator(&mpi_communicator) , tmp(locally_owned, mpi_communicator) {} diff --git a/tests/mpi/periodicity_02.cc b/tests/mpi/periodicity_02.cc index 03a4223e4c..44350cd49e 100644 --- a/tests/mpi/periodicity_02.cc +++ b/tests/mpi/periodicity_02.cc @@ -199,7 +199,6 @@ namespace Step22 const SmartPointer matrix; const SmartPointer preconditioner; - const MPI_Comm * mpi_communicator; mutable TrilinosWrappers::MPI::Vector tmp; }; @@ -212,7 +211,6 @@ namespace Step22 const MPI_Comm mpi_communicator) : matrix(&m) , preconditioner(&preconditioner) - , mpi_communicator(&mpi_communicator) , tmp(locally_owned, mpi_communicator) {} diff --git a/tests/mpi/periodicity_03.cc b/tests/mpi/periodicity_03.cc index eb1f55a1fc..4941c8c4cd 100644 --- a/tests/mpi/periodicity_03.cc +++ b/tests/mpi/periodicity_03.cc @@ -122,7 +122,6 @@ namespace Step22 const SmartPointer matrix; const SmartPointer preconditioner; - const MPI_Comm * mpi_communicator; mutable TrilinosWrappers::MPI::Vector tmp; }; @@ -135,7 +134,6 @@ namespace Step22 const MPI_Comm mpi_communicator) : matrix(&m) , preconditioner(&preconditioner) - , mpi_communicator(&mpi_communicator) , tmp(locally_owned, mpi_communicator) {}