diff --git a/dune/solvers/common/genericvectortools.hh b/dune/solvers/common/genericvectortools.hh index 269b8ff4512b1cba8e8e73a0d42f244867c2c9e5..50d2641e742f97694c5a4999d494270363224adf 100644 --- a/dune/solvers/common/genericvectortools.hh +++ b/dune/solvers/common/genericvectortools.hh @@ -30,8 +30,10 @@ struct GenericVector { + //! Write vector to given stream template <class VectorType> + DUNE_DEPRECATED_MSG("Please use Dune::MatrixVector::Generic::writeBinary instead.") static void writeBinary(std::ostream& s, const VectorType& v) { Dune::MatrixVector::Generic::writeBinary(s, v); @@ -39,6 +41,7 @@ struct GenericVector //! Read vector from a given stream template <class VectorType> + DUNE_DEPRECATED_MSG("Please use Dune::MatrixVector::Generic::readBinary instead.") static void readBinary(std::istream& s, VectorType& v) { Dune::MatrixVector::Generic::readBinary(s, v); @@ -86,6 +89,7 @@ struct GenericVector //! Set vector to zero at indices that are true in bitvector recursivly template <class VectorType, class BitVectorType> + DUNE_DEPRECATED_MSG("Please use Dune::MatrixVector::Generic::truncate instead.") static void truncate(VectorType& v, const BitVectorType& tr) { Dune::MatrixVector::Generic::truncate(v, tr);