Skip to content
Snippets Groups Projects
Commit b4715e98 authored by Uli Sack's avatar Uli Sack Committed by usack
Browse files

some white space changes

[[Imported from SVN: r7352]]
parent 77892183
Branches
No related tags found
No related merge requests found
...@@ -58,8 +58,8 @@ void MultigridStep<MatrixType, VectorType, BitVectorType>::preprocess() ...@@ -58,8 +58,8 @@ void MultigridStep<MatrixType, VectorType, BitVectorType>::preprocess()
// ///////////////////////////////////////////////////// // /////////////////////////////////////////////////////
// Assemble the complete hierarchy of matrices // Assemble the complete hierarchy of matrices
// ///////////////////////////////////////////////////// // /////////////////////////////////////////////////////
for (int i=this->numLevels_-2; i>=0; i--) { for (int i=this->numLevels_-2; i>=0; i--)
{
this->mat_[i] = Dune::shared_ptr<MatrixType>(new MatrixType); this->mat_[i] = Dune::shared_ptr<MatrixType>(new MatrixType);
// Compute which entries are present in the (sparse) coarse grid stiffness // Compute which entries are present in the (sparse) coarse grid stiffness
...@@ -133,13 +133,11 @@ else { ...@@ -133,13 +133,11 @@ else {
template<class MatrixType, class VectorType, class BitVectorType> template<class MatrixType, class VectorType, class BitVectorType>
void MultigridStep<MatrixType, VectorType, BitVectorType>::nestedIteration() void MultigridStep<MatrixType, VectorType, BitVectorType>::nestedIteration()
{ {
for (level_ = 0; level_<numLevels_; level_++)
for (level_ = 0; level_<numLevels_; level_++) { {
iterate(); iterate();
mgTransfer_[level_]->prolong(x_[level_], x_[level_+1]); mgTransfer_[level_]->prolong(x_[level_], x_[level_+1]);
} }
iterate(); iterate();
...@@ -149,7 +147,6 @@ void MultigridStep<MatrixType, VectorType, BitVectorType>::nestedIteration() ...@@ -149,7 +147,6 @@ void MultigridStep<MatrixType, VectorType, BitVectorType>::nestedIteration()
template<class MatrixType, class VectorType, class BitVectorType> template<class MatrixType, class VectorType, class BitVectorType>
void MultigridStep<MatrixType, VectorType, BitVectorType>::postprocess() void MultigridStep<MatrixType, VectorType, BitVectorType>::postprocess()
{ {
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment