diff --git a/dune/istl/overlappingschwarz.hh b/dune/istl/overlappingschwarz.hh index 1b89465c54c4377a4188c894bd9d58e13c212485..e1a79bfd7bd01ca8bdc31caf2c46830a0e48efc1 100644 --- a/dune/istl/overlappingschwarz.hh +++ b/dune/istl/overlappingschwarz.hh @@ -672,7 +672,7 @@ namespace Dune \copydoc Preconditioner::post(X&) */ virtual void post (X& x) { - std::cout<<" avg nnz over subdomain is "<<nnz<<std::endl; + Dune::dverb<<" avg nnz over subdomain is "<<nnz<<std::endl; } private: @@ -848,11 +848,11 @@ namespace Dune typedef typename subdomain_vector::const_iterator iterator; for(iterator iter=subDomains.begin(); iter != subDomains.end(); ++iter) { typedef typename subdomain_type::const_iterator entry_iterator; - std::cout<<"domain "<<i++<<":"; + Dune::dvverb<<"domain "<<i++<<":"; for(entry_iterator entry = iter->begin(); entry != iter->end(); ++entry) { - std::cout<<" "<<*entry; + Dune::dvverb<<" "<<*entry; } - std::cout<<std::endl; + Dune::dvverb<<std::endl; } #endif maxlength = SeqOverlappingSchwarzAssembler<slu> @@ -876,11 +876,11 @@ namespace Dune //std::cout<<i<<": "<<d->size()<<std::endl; assert(d->size()>0); typedef typename DomainIterator::value_type::const_iterator entry_iterator; - std::cout<<"domain "<<i<<":"; + Dune::dvverb<<"domain "<<i<<":"; for(entry_iterator entry = d->begin(); entry != d->end(); ++entry) { - std::cout<<" "<<*entry; + Dune::dvverb<<" "<<*entry; } - std::cout<<std::endl; + Dune::dvverb<<std::endl; } #endif diff --git a/dune/istl/paamg/smoother.hh b/dune/istl/paamg/smoother.hh index 36587b7226ead2d624ddc47ad012904680fcb9c8..a724e7aa74e7e8ea1ce0bedc62f4d7cecf947adb 100644 --- a/dune/istl/paamg/smoother.hh +++ b/dune/istl/paamg/smoother.hh @@ -712,7 +712,7 @@ namespace Dune subdomains.resize(pairs.size()); - std::cout <<std::endl<< "Created "<<pairs.size()<<" ("<<total<<") pair domains"<<std::endl<<std::endl; + Dune::dinfo <<std::endl<< "Created "<<pairs.size()<<" ("<<total<<") pair domains"<<std::endl<<std::endl; typedef typename std::set<std::pair<size_type,size_type> >::const_iterator SIter; typename Vector::iterator subdomain=subdomains.begin(); @@ -730,8 +730,8 @@ namespace Dune minsize=std::min(minsize, subdomains[i].size()); maxsize=std::max(maxsize, subdomains[i].size()); } - std::cout<<"Subdomain size: min="<<minsize<<" max="<<maxsize<<" avg="<<(sum/subdomains.size()) - <<" no="<<subdomains.size()<<std::endl; + Dune::dinfo<<"Subdomain size: min="<<minsize<<" max="<<maxsize<<" avg="<<(sum/subdomains.size()) + <<" no="<<subdomains.size()<<std::endl; } template<class Visitor> @@ -788,8 +788,8 @@ namespace Dune minsize=std::min(minsize, subdomains[i].size()); maxsize=std::max(maxsize, subdomains[i].size()); } - std::cout<<"Subdomain size: min="<<minsize<<" max="<<maxsize<<" avg="<<(sum/subdomains.size()) - <<" no="<<subdomains.size()<<" isolated="<<isolated<<std::endl; + Dune::dinfo<<"Subdomain size: min="<<minsize<<" max="<<maxsize<<" avg="<<(sum/subdomains.size()) + <<" no="<<subdomains.size()<<" isolated="<<isolated<<std::endl;