]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove deprecated functions Multigrid::vmult*
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Sun, 25 Jan 2015 18:51:50 +0000 (12:51 -0600)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 26 Jan 2015 00:50:28 +0000 (18:50 -0600)
doc/news/changes.h
include/deal.II/multigrid/multigrid.h
include/deal.II/multigrid/multigrid.templates.h

index aa24f298dd90c2830bf871235b908865be4f8232..54a4a484c24d34778c5cd1b9547fc446f5d3ca1e 100644 (file)
@@ -207,6 +207,7 @@ inconvenience this causes.
   - MGTools::apply_boundary_values.
   - MGTools::extract_inner_interface_dofs.
   - Class MGMatrix.
+  - Multigrid::vmult and friends.
   <br>
   This release also removes the deprecated class MGDoFHandler. The
   functionality of this class had previously been incorporated into
index 6d514c8da513488bbf86ffed7c451cb8c9c1ebb9..a6d89c5c4a8338df8b0856c6f4f39f1cdb8392ee 100644 (file)
@@ -136,40 +136,6 @@ public:
    */
   void vcycle ();
 
-  /**
-   * @deprecated This function is purely experimental and will probably never
-   * be implemented in a way that it can be released.
-   *
-   * Perform a multigrid cycle with a vector which is already a level vector.
-   * Use of this function assumes that there is NO local refinement and that
-   * both vectors are on the finest level of this Multigrid object.
-   */
-  void vmult(VECTOR &dst, const VECTOR &src) const DEAL_II_DEPRECATED;
-
-  /**
-   * @deprecated This function is purely experimental and will probably never
-   * be implemented in a way that it can be released.
-   *
-   * Perform a multigrid cycle with a vector which is already a level vector.
-   * Use of this function assumes that there is NO local refinement and that
-   * both vectors are on the finest level of this Multigrid object.
-   */
-  void vmult_add(VECTOR &dst, const VECTOR &src) const DEAL_II_DEPRECATED;
-
-  /**
-   * @deprecated Even worse than vmult(), this function is not even
-   * implemented, but just declared such that certain objects relying on it
-   * can be constructed.
-   */
-  void Tvmult(VECTOR &dst, const VECTOR &src) const DEAL_II_DEPRECATED;
-
-  /**
-   * @deprecated Even worse than vmult(), this function is not even
-   * implemented, but just declared such that certain objects relying on it
-   * can be constructed.
-   */
-  void Tvmult_add(VECTOR &dst, const VECTOR &src) const DEAL_II_DEPRECATED;
-
   /**
    * Set additional matrices to correct residual computation at refinement
    * edges. Since we only smoothen in the interior of the refined part of the
index 3f6533cb117d3b945db6eab23f3fee1cd32d6d43..262b58c7ee40582cd3de67ad50fee3d8a33fb2b6 100644 (file)
@@ -419,51 +419,6 @@ Multigrid<VECTOR>::vcycle()
 }
 
 
-template <class VECTOR>
-void
-Multigrid<VECTOR>::vmult(VECTOR &dst, const VECTOR &src) const
-{
-  Multigrid<VECTOR> &mg = const_cast<Multigrid<VECTOR>&>(*this);
-  mg.defect[maxlevel] = src;
-  for (unsigned int level=maxlevel; level>minlevel; --level)
-    {
-      mg.defect[level-1] = 0.;
-      mg.transfer->restrict_and_add (level,
-                                     mg.defect[level-1],
-                                     mg.defect[level]);
-    }
-
-  mg.cycle();
-  dst = mg.solution[maxlevel];
-}
-
-
-template <class VECTOR>
-void
-Multigrid<VECTOR>::vmult_add(VECTOR &dst, const VECTOR &src) const
-{
-  Multigrid<VECTOR> &mg = const_cast<Multigrid<VECTOR>&>(*this);
-  mg.defect[maxlevel] = src;
-  mg.cycle();
-  dst += mg.solution[maxlevel];
-}
-
-
-template <class VECTOR>
-void
-Multigrid<VECTOR>::Tvmult(VECTOR &, const VECTOR &) const
-{
-  Assert(false, ExcNotImplemented());
-}
-
-
-template <class VECTOR>
-void
-Multigrid<VECTOR>::Tvmult_add(VECTOR &, const VECTOR &) const
-{
-  Assert(false, ExcNotImplemented());
-}
-
 DEAL_II_NAMESPACE_CLOSE
 
 #endif

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.