From da71390bef81ab946ec0a30378d48fc0641da0dc Mon Sep 17 00:00:00 2001 From: Sebastian Proell Date: Tue, 19 Sep 2023 18:29:21 +0200 Subject: [PATCH] Fix TrilinosWrappers::PreconditionBase special member functions --- include/deal.II/lac/trilinos_precondition.h | 16 ---------------- source/lac/trilinos_precondition.cc | 11 ----------- 2 files changed, 27 deletions(-) diff --git a/include/deal.II/lac/trilinos_precondition.h b/include/deal.II/lac/trilinos_precondition.h index 4bf04d2253..37f98f33ff 100644 --- a/include/deal.II/lac/trilinos_precondition.h +++ b/include/deal.II/lac/trilinos_precondition.h @@ -96,16 +96,6 @@ namespace TrilinosWrappers */ PreconditionBase(); - /** - * Copy constructor. - */ - PreconditionBase(const PreconditionBase &); - - /** - * Destructor. - */ - ~PreconditionBase() override = default; - /** * Destroys the preconditioner, leaving an object like just after having * called the constructor. @@ -237,12 +227,6 @@ namespace TrilinosWrappers * from deal.II format. */ Epetra_MpiComm communicator; - - /** - * Internal Trilinos map in case the matrix needs to be copied from - * deal.II format. - */ - std::shared_ptr vector_distributor; }; diff --git a/source/lac/trilinos_precondition.cc b/source/lac/trilinos_precondition.cc index e64008c27e..b3bd5021fa 100644 --- a/source/lac/trilinos_precondition.cc +++ b/source/lac/trilinos_precondition.cc @@ -36,22 +36,11 @@ namespace TrilinosWrappers {} - - PreconditionBase::PreconditionBase(const PreconditionBase &base) - : Subscriptor() - , preconditioner(base.preconditioner) - , communicator(base.communicator) - , vector_distributor(new Epetra_Map(*base.vector_distributor)) - {} - - - void PreconditionBase::clear() { preconditioner.reset(); communicator = MPI_COMM_SELF; - vector_distributor.reset(); } -- 2.39.5