Skip to content
Snippets Groups Projects
Commit ffd542e4 authored by Markus Blatt's avatar Markus Blatt
Browse files

Do not postprocess smoothers if we only have 1 level.

[[Imported from SVN: r3189]]
parent 7d6eae48
No related branches found
No related tags found
No related merge requests found
......@@ -138,7 +138,6 @@ namespace Dune
DIterator lhs = lhs_->finest();
if(rhs!=rhs_->coarsest())
// No smoothers!
smoother->pre(*lhs,*rhs);
if(smoother != coarsest)
......@@ -243,7 +242,8 @@ namespace Dune
Iterator smoother = smoothers_.finest();
DIterator lhs = lhs_->finest();
smoother->post(*lhs);
if(lhs!= lhs->coarsest)
smoother->post(*lhs);
if(smoother != coarsest)
for(++smoother; smoother != coarsest; ++smoother, ++lhs)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment