From ab7be57c4a634adfa5e62391549e10053f1a5e2e Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Sun, 2 Jul 2017 12:48:17 -0500 Subject: [PATCH] Deprecate ParpackSolver::Shift --- include/deal.II/lac/parpack_solver.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 -- 2.39.5