From 79133888d4c935a5015c422fdeddb371866a55f2 Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Wed, 29 Apr 2009 16:32:43 +0000 Subject: [PATCH] Add a comment for SSOR. git-svn-id: https://svn.dealii.org/trunk@18791 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/lac/include/lac/sparse_matrix.h | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/deal.II/lac/include/lac/sparse_matrix.h b/deal.II/lac/include/lac/sparse_matrix.h index b6cf3d02ba..1abfa7aecd 100644 --- a/deal.II/lac/include/lac/sparse_matrix.h +++ b/deal.II/lac/include/lac/sparse_matrix.h @@ -1503,12 +1503,19 @@ class SparseMatrix : public virtual Subscriptor /** * Apply SSOR preconditioning to - * src. + * src with damping + * omega. The optional + * argument + * pos_right_of_diagonal is + * supposed to provide an array where + * each entry specifies the position + * just right of the diagonal in the + * global array of nonzeros. */ template void precondition_SSOR (Vector &dst, const Vector &src, - const number om = 1., + const number omega = 1., const std::vector&pos_right_of_diagonal=std::vector()) const; /** -- 2.39.5