]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix TrilinosWrappers::PreconditionBase special member functions 16011/head
authorSebastian Proell <sebastian.proell@tum.de>
Tue, 19 Sep 2023 16:29:21 +0000 (18:29 +0200)
committerSebastian Proell <sebastian.proell@tum.de>
Tue, 19 Sep 2023 20:26:00 +0000 (22:26 +0200)
include/deal.II/lac/trilinos_precondition.h
source/lac/trilinos_precondition.cc

index 4bf04d22537183d4108a85ac783333b4b3f46dd3..37f98f33ff2212eaf840c3aa37f06936ea92a4b2 100644 (file)
@@ -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<Epetra_Map> vector_distributor;
   };
 
 
index e64008c27e719eeb50a18000496cc65710644c40..b3bd5021fa9f6f9450a5fe0197bebd6bfbefbab0 100644 (file)
@@ -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();
   }
 
 

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.