SolverFullyImpl: avoid multiple output of redundant information in parallel.

This commit is contained in:
Robert Kloefkorn 2015-09-16 14:36:28 +02:00
parent 55f8ebacfc
commit c32749b129
2 changed files with 4 additions and 2 deletions

View File

@ -1481,7 +1481,9 @@ namespace detail {
} while (it < 15);
if (converged) {
std::cout << "well converged iter: " << it << std::endl;
if ( terminal_output_ ) {
std::cout << "well converged iter: " << it << std::endl;
}
const int nw = wells().number_of_wells;
{
// We will set the bhp primary variable to the new ones,

View File

@ -92,7 +92,7 @@ namespace Opm
std::unique_ptr< AdaptiveTimeStepping > adaptiveTimeStepping;
if( param_.getDefault("timestep.adaptive", true ) )
{
adaptiveTimeStepping.reset( new AdaptiveTimeStepping( param_, solver_.parallelInformation() ) );
adaptiveTimeStepping.reset( new AdaptiveTimeStepping( param_, solver_.parallelInformation(), terminal_output_ ) );
}
// init output writer