]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Revert "Re-introduce (now deprecated) old constructor."
authorDaniel Arndt <arndtd@ornl.gov>
Wed, 23 Nov 2022 16:42:39 +0000 (11:42 -0500)
committerDaniel Arndt <arndtd@ornl.gov>
Wed, 23 Nov 2022 16:42:39 +0000 (11:42 -0500)
This reverts commit cf6c92320bd89c105618d56e3a0f6c8fbbe782f4.

include/deal.II/lac/petsc_precondition.h
source/lac/petsc_precondition.cc

index 8b96a859fc4aaa42646d432141979ae6613ec025..16df0d8039f66d777e2cb13f35b5f79a6b1b30e3 100644 (file)
@@ -62,15 +62,7 @@ namespace PETScWrappers
     /**
      * Constructor.
      */
-    explicit PreconditionBase(const MPI_Comm &mpi_communicator);
-
-    /**
-     * Constructor. This constructor is deprecated.
-     *
-     * @deprecated
-     */
-    DEAL_II_DEPRECATED
-    PreconditionBase();
+    PreconditionBase(const MPI_Comm &mpi_communicator = MPI_COMM_NULL);
 
     /**
      * Destructor.
index 2124f58a0b66173cfe9037ca8eb03f4c0d7d7a8f..6f145d31de4146550c6c4a1ad22256a017dc6754 100644 (file)
@@ -41,12 +41,6 @@ namespace PETScWrappers
 
 
 
-  PreconditionBase::PreconditionBase()
-    : PreconditionBase(MPI_COMM_NULL)
-  {}
-
-
-
   PreconditionBase::~PreconditionBase()
   {
     try

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.