From: Sebastian Proell Date: Tue, 19 Sep 2023 16:29:21 +0000 (+0200) Subject: Fix TrilinosWrappers::PreconditionBase special member functions X-Git-Tag: relicensing~484^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F16011%2Fhead;p=dealii.git Fix TrilinosWrappers::PreconditionBase special member functions --- 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(); }