]> https://gitweb.dealii.org/ - dealii.git/commitdiff
thises added
authorGuido Kanschat <dr.guido.kanschat@gmail.com>
Thu, 24 Jul 2003 07:55:35 +0000 (07:55 +0000)
committerGuido Kanschat <dr.guido.kanschat@gmail.com>
Thu, 24 Jul 2003 07:55:35 +0000 (07:55 +0000)
git-svn-id: https://svn.dealii.org/trunk@7890 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 634bfb86ab1f44297dc3095acf80a57fdb9aba72..b1e6fda49112c00c0edbc3292fc347755a874974 100644 (file)
@@ -299,7 +299,7 @@ void PreconditionBlockJacobi<MATRIX,inverse_type>
   if (!this->inverses_ready())
     {
       FullMatrix<number> M_cell(this->blocksize);
-      for (unsigned int cell=0; cell<nblocks; ++cell)
+      for (unsigned int cell=0; cell < this->nblocks; ++cell)
        {
          for (row=cell*this->blocksize, row_cell=0;
               row_cell<this->blocksize;
@@ -325,7 +325,7 @@ void PreconditionBlockJacobi<MATRIX,inverse_type>
        }
     }
   else
-    for (unsigned int cell=0; cell<nblocks; ++cell)
+    for (unsigned int cell=0; cell < this->nblocks; ++cell)
       {
        for (row=cell*this->blocksize, row_cell=0;
             row_cell<this->blocksize;
@@ -435,7 +435,7 @@ void PreconditionBlockSOR<MATRIX,inverse_type>::do_vmult (
   if (!this->inverses_ready())
     {
       FullMatrix<number> M_cell(this->blocksize);
-      for (unsigned int cell=0; cell<nblocks; ++cell)
+      for (unsigned int cell=0; cell < this->nblocks; ++cell)
        {
          for (row = block_start, row_cell = 0;
               row_cell < this->blocksize;
@@ -470,7 +470,7 @@ void PreconditionBlockSOR<MATRIX,inverse_type>::do_vmult (
        }
     }
   else
-    for (unsigned int cell=0; cell<nblocks; ++cell)
+    for (unsigned int cell=0; cell < this->nblocks; ++cell)
       {
        for (row = block_start, row_cell = 0;
             row_cell<this->blocksize;
@@ -539,7 +539,7 @@ void PreconditionBlockSOR<MATRIX,inverse_type>::do_Tvmult (
                                       // row, column are the global numbering
                                       // of the unkowns.
   unsigned int row, row_cell, block_start = 0;
-  unsigned int block_end=this->blocksize *nblocks;
+  unsigned int block_end=this->blocksize * this->nblocks;
   number2 b_cell_row;
 
   if (!this->inverses_ready())
@@ -678,7 +678,7 @@ void PreconditionBlockSSOR<MATRIX,inverse_type>::vmult (Vector<number2>       &d
   Vector<inverse_type> cell_dst(this->blocksize);
   
                                   // Multiply with diagonal blocks
-  for (unsigned int cell=0; cell<nblocks; ++cell)
+  for (unsigned int cell=0; cell < this->nblocks; ++cell)
     {
       unsigned int row = cell*this->blocksize;
       
@@ -708,7 +708,7 @@ void PreconditionBlockSSOR<MATRIX,inverse_type>::Tvmult (Vector<number2>       &
   Vector<inverse_type> cell_dst(this->blocksize);
   
                                   // Multiply with diagonal blocks
-  for (unsigned int cell=0; cell<nblocks; ++cell)
+  for (unsigned int cell=0; cell < this->nblocks; ++cell)
     {
       unsigned int row = cell*this->blocksize;
       

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.