From: guido Date: Thu, 24 Jul 2003 07:55:35 +0000 (+0000) Subject: thises added X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47c6e8cd76f6ec6bdb0f4d281d1c74c9c3e8892e;p=dealii-svn.git thises added git-svn-id: https://svn.dealii.org/trunk@7890 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/include/lac/precondition_block.templates.h b/deal.II/lac/include/lac/precondition_block.templates.h index 634bfb86ab..b1e6fda491 100644 --- a/deal.II/lac/include/lac/precondition_block.templates.h +++ b/deal.II/lac/include/lac/precondition_block.templates.h @@ -299,7 +299,7 @@ void PreconditionBlockJacobi if (!this->inverses_ready()) { FullMatrix M_cell(this->blocksize); - for (unsigned int cell=0; cellnblocks; ++cell) { for (row=cell*this->blocksize, row_cell=0; row_cellblocksize; @@ -325,7 +325,7 @@ void PreconditionBlockJacobi } } else - for (unsigned int cell=0; cellnblocks; ++cell) { for (row=cell*this->blocksize, row_cell=0; row_cellblocksize; @@ -435,7 +435,7 @@ void PreconditionBlockSOR::do_vmult ( if (!this->inverses_ready()) { FullMatrix M_cell(this->blocksize); - for (unsigned int cell=0; cellnblocks; ++cell) { for (row = block_start, row_cell = 0; row_cell < this->blocksize; @@ -470,7 +470,7 @@ void PreconditionBlockSOR::do_vmult ( } } else - for (unsigned int cell=0; cellnblocks; ++cell) { for (row = block_start, row_cell = 0; row_cellblocksize; @@ -539,7 +539,7 @@ void PreconditionBlockSOR::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::vmult (Vector &d Vector cell_dst(this->blocksize); // Multiply with diagonal blocks - for (unsigned int cell=0; cellnblocks; ++cell) { unsigned int row = cell*this->blocksize; @@ -708,7 +708,7 @@ void PreconditionBlockSSOR::Tvmult (Vector & Vector cell_dst(this->blocksize); // Multiply with diagonal blocks - for (unsigned int cell=0; cellnblocks; ++cell) { unsigned int row = cell*this->blocksize;