From: Matthias Maier Date: Sun, 2 Jul 2017 17:48:17 +0000 (-0500) Subject: Deprecate ParpackSolver::Shift X-Git-Tag: v9.0.0-rc1~1455^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab7be57c4a634adfa5e62391549e10053f1a5e2e;p=dealii.git Deprecate ParpackSolver::Shift --- diff --git a/include/deal.II/lac/parpack_solver.h b/include/deal.II/lac/parpack_solver.h index 2280f686c8..fcc4b449ca 100644 --- a/include/deal.II/lac/parpack_solver.h +++ b/include/deal.II/lac/parpack_solver.h @@ -203,6 +203,11 @@ public: /** * Auxiliary class to represent A-sigma*B operator. + * + * @deprecated: Use LinearOperator to create a shifted operator by hand: + * + * const auto shift = linear_operator(A) - sigma * linear_operator(B); + * */ template class Shift : public dealii::Subscriptor @@ -245,7 +250,8 @@ public: const MatrixType &A; const MatrixType &B; const double sigma; - }; + + } DEAL_II_DEPRECATED; /** * Standardized data struct to pipe additional data to the solver, should it