]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove unused mpi_communicator pointer members initialized by temporaries 15324/head
authorDaniel Arndt <arndtd@ornl.gov>
Wed, 7 Jun 2023 12:22:25 +0000 (08:22 -0400)
committerDaniel Arndt <arndtd@ornl.gov>
Wed, 7 Jun 2023 12:42:52 +0000 (08:42 -0400)
examples/step-45/step-45.cc
tests/mpi/muelu_periodicity.cc
tests/mpi/periodicity_02.cc
tests/mpi/periodicity_03.cc

index fc8c544d93c1a395c4ab6bb48603fb23120dd316..c08873633460379dcae3656891dee12ad1f86bbb 100644 (file)
@@ -202,7 +202,6 @@ namespace Step45
     const SmartPointer<const MatrixType>         matrix;
     const SmartPointer<const PreconditionerType> 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)
   {}
 
index 73771b32d0032d62221e3f13d8f22421bcd8ac3f..86787975f0eabce3f7be7403c9880318a90eac57 100644 (file)
@@ -197,7 +197,6 @@ namespace Step22
     const SmartPointer<const Matrix>         matrix;
     const SmartPointer<const Preconditioner> 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)
   {}
 
index 03a4223e4c2d6218995aac248c812bfe03ab3ea0..44350cd49e0a0bef502a97f67c2afed3bc9bd522 100644 (file)
@@ -199,7 +199,6 @@ namespace Step22
     const SmartPointer<const Matrix>         matrix;
     const SmartPointer<const Preconditioner> 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)
   {}
 
index eb1f55a1fc8315a941d6bf543b426e9efcefb08b..4941c8c4cd2aed42a773d9d95282fb76d75476e3 100644 (file)
@@ -122,7 +122,6 @@ namespace Step22
     const SmartPointer<const Matrix>         matrix;
     const SmartPointer<const Preconditioner> 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)
   {}
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.