From 77f786558e5223066c227c46d4445efabf1efce5 Mon Sep 17 00:00:00 2001 From: wolf Date: Mon, 7 Feb 2000 14:08:57 +0000 Subject: [PATCH] Small doc update. git-svn-id: https://svn.dealii.org/trunk@2342 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/lac/include/lac/sparse_matrix.templates.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/deal.II/lac/include/lac/sparse_matrix.templates.h b/deal.II/lac/include/lac/sparse_matrix.templates.h index 803f39efce..b7364fe005 100644 --- a/deal.II/lac/include/lac/sparse_matrix.templates.h +++ b/deal.II/lac/include/lac/sparse_matrix.templates.h @@ -689,7 +689,8 @@ SparseMatrix::precondition_SSOR (Vector& dst, const unsigned int n = src.size(); const unsigned int *rowstart_ptr = &cols->rowstart[0]; somenumber *dst_ptr = &dst(0); - + + // forward sweep for (unsigned int row=0; row::precondition_SSOR (Vector& dst, for (unsigned int j=(*rowstart_ptr)+1; jcolnums[j]); + + // divide by diagonal element *dst_ptr /= val[*rowstart_ptr]; }; @@ -716,6 +719,7 @@ SparseMatrix::precondition_SSOR (Vector& dst, for (unsigned int row=0; rowrowstart[n-1]; dst_ptr = &dst(n-1); for (int row=n-1; row>=0; --row, --rowstart_ptr, --dst_ptr) -- 2.39.5