]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
PSOR checked
authorguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 28 May 2003 14:58:27 +0000 (14:58 +0000)
committerguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 28 May 2003 14:58:27 +0000 (14:58 +0000)
git-svn-id: https://svn.dealii.org/trunk@7677 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/sparse_matrix.templates.h

index 3a9659c2dbab2371a8901cca7569b607cf85722a..67c396cb431a2322f749c4b1c227d6706eddf951 100644 (file)
@@ -1018,11 +1018,17 @@ SparseMatrix<number>::PSOR (
     {
       const unsigned int row = permutation[urow];
       somenumber s = dst(row);
+      
       for (unsigned int j=cols->rowstart[row]; j<cols->rowstart[row+1]; ++j)
        {
          const unsigned int col = cols->colnums[j];
          if (inverse_permutation[col] < urow)
-           s -= val[j] * dst(col);
+           {
+             s -= val[j] * dst(col);
+           }
+         
+         std::cerr << std::endl;
+         
        }
 
       dst(row) = s * om / val[cols->rowstart[row]];

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.