From: Dakshina Ilangovan Date: Tue, 10 Feb 2015 06:17:35 +0000 (-0600) Subject: deprecated apply_constraints method in filtered_matrix X-Git-Tag: v8.3.0-rc1~489^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F508%2Fhead;p=dealii.git deprecated apply_constraints method in filtered_matrix --- diff --git a/include/deal.II/lac/filtered_matrix.h b/include/deal.II/lac/filtered_matrix.h index 4deeb74a5d..a334c00da2 100644 --- a/include/deal.II/lac/filtered_matrix.h +++ b/include/deal.II/lac/filtered_matrix.h @@ -410,9 +410,15 @@ public: * before starting to solve with the filtered matrix. If the matrix is * symmetric (i.e. the matrix itself, not only its sparsity pattern), set * the second parameter to @p true to use a faster algorithm. + * Note: This method is deprecated as matrix_is_symmetric parameter is no longer used. */ void apply_constraints (VECTOR &v, - const bool matrix_is_symmetric) const; + const bool matrix_is_symmetric) const DEAL_II_DEPRECATED; + /** + * Apply the constraints to a right hand side vector. This needs to be done + * before starting to solve with the filtered matrix. + */ + void apply_constraints (VECTOR &v) const; /** * Matrix-vector multiplication: this operation performs pre_filter(), @@ -811,6 +817,16 @@ void FilteredMatrix::apply_constraints ( VECTOR &v, const bool /* matrix_is_symmetric */) const +{ + apply_constraints(v); +} + + +template +inline +void +FilteredMatrix::apply_constraints ( + VECTOR &v) const { GrowingVectorMemory mem; typename VectorMemory::Pointer tmp_vector(mem); @@ -837,7 +853,6 @@ FilteredMatrix::apply_constraints ( } - template inline void