Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused mpi_communicator pointer members initialized by temporaries #15324

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 0 additions & 2 deletions examples/step-45/step-45.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};

Expand All @@ -216,7 +215,6 @@ namespace Step45
const MPI_Comm mpi_communicator)
: matrix(&m)
, preconditioner(&preconditioner)
, mpi_communicator(&mpi_communicator)
, tmp(locally_owned, mpi_communicator)
{}

Expand Down
2 changes: 0 additions & 2 deletions tests/mpi/muelu_periodicity.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};

Expand All @@ -210,7 +209,6 @@ namespace Step22
const MPI_Comm mpi_communicator)
: matrix(&m)
, preconditioner(&preconditioner)
, mpi_communicator(&mpi_communicator)
, tmp(locally_owned, mpi_communicator)
{}

Expand Down
2 changes: 0 additions & 2 deletions tests/mpi/periodicity_02.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};

Expand All @@ -212,7 +211,6 @@ namespace Step22
const MPI_Comm mpi_communicator)
: matrix(&m)
, preconditioner(&preconditioner)
, mpi_communicator(&mpi_communicator)
, tmp(locally_owned, mpi_communicator)
{}

Expand Down
2 changes: 0 additions & 2 deletions tests/mpi/periodicity_03.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};

Expand All @@ -135,7 +134,6 @@ namespace Step22
const MPI_Comm mpi_communicator)
: matrix(&m)
, preconditioner(&preconditioner)
, mpi_communicator(&mpi_communicator)
, tmp(locally_owned, mpi_communicator)
{}

Expand Down