]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Deprecate PointerMatrix
authorMatthias Maier <tamiko@43-1.org>
Thu, 13 Jul 2017 19:44:40 +0000 (14:44 -0500)
committerMatthias Maier <tamiko@43-1.org>
Fri, 14 Jul 2017 12:49:46 +0000 (07:49 -0500)
include/deal.II/lac/pointer_matrix.h

index a9b0e45522e674b00db8b7459c9431e56148327c..47413e06274d3ef8929ac49f0617ee60ae178804 100644 (file)
@@ -45,6 +45,8 @@ template <typename number, typename BlockVectorType> class BlockMatrixArray;
  * classes in the same context, as long as they apply to the same vector
  * class.
  *
+ * @deprecated Use LinearOperator instead
+ *
  * @author Guido Kanschat, 2000, 2001, 2002
  */
 template <typename VectorType>
@@ -96,7 +98,7 @@ public:
    */
   virtual void Tvmult_add (VectorType       &dst,
                            const VectorType &src) const = 0;
-};
+} DEAL_II_DEPRECATED;
 
 
 /**
@@ -107,6 +109,8 @@ public:
  * only has a vector as template argument. Therefore, this interface provides
  * an abstract base class for matrices.
  *
+ * @deprecated Use LinearOperator instead
+ *
  * @author Guido Kanschat 2000, 2001, 2002
  */
 template <typename MatrixType, typename VectorType>
@@ -192,7 +196,7 @@ private:
    * The pointer to the actual matrix.
    */
   SmartPointer<const MatrixType,PointerMatrix<MatrixType,VectorType> > m;
-};
+} DEAL_II_DEPRECATED;
 
 
 /**
@@ -207,6 +211,8 @@ private:
  * and by the fact that it implements the functions vmult_add() and
  * Tvmult_add() only using vmult() and Tvmult() of the MatrixType.
  *
+ * @deprecated Use LinearOperator instead
+ *
  * @author Guido Kanschat 2006
  */
 template <typename MatrixType, typename VectorType>
@@ -312,7 +318,7 @@ private:
    * The pointer to the actual matrix.
    */
   SmartPointer<const MatrixType,PointerMatrixAux<MatrixType,VectorType> > m;
-};
+} DEAL_II_DEPRECATED;
 
 
 
@@ -324,6 +330,8 @@ private:
  * (#vmult()) and scalar multiplication (#Tvmult()) functions of the Vector
  * class.
  *
+ * @deprecated Use LinearOperator instead
+ *
  * @author Guido Kanschat, 2006
  */
 template <typename number>
@@ -423,7 +431,7 @@ private:
    * The pointer to the actual matrix.
    */
   SmartPointer<const Vector<number>,PointerMatrixVector<number> > m;
-};
+} DEAL_II_DEPRECATED;
 
 
 

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.