From: Wolfgang Bangerth Date: Mon, 7 Feb 2000 14:08:57 +0000 (+0000) Subject: Small doc update. X-Git-Tag: v8.0.0~21018 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=128fd61a7baa8c8a6924aa43fe22366c9b0b03af;p=dealii.git Small doc update. git-svn-id: https://svn.dealii.org/trunk@2342 0785d39b-7218-0410-832d-ea1e28bc413d --- 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)