mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
SolverFullyImpl: avoid multiple output of redundant information in parallel.
This commit is contained in:
@@ -1481,7 +1481,9 @@ namespace detail {
|
|||||||
} while (it < 15);
|
} while (it < 15);
|
||||||
|
|
||||||
if (converged) {
|
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;
|
const int nw = wells().number_of_wells;
|
||||||
{
|
{
|
||||||
// We will set the bhp primary variable to the new ones,
|
// We will set the bhp primary variable to the new ones,
|
||||||
|
|||||||
@@ -92,7 +92,7 @@ namespace Opm
|
|||||||
std::unique_ptr< AdaptiveTimeStepping > adaptiveTimeStepping;
|
std::unique_ptr< AdaptiveTimeStepping > adaptiveTimeStepping;
|
||||||
if( param_.getDefault("timestep.adaptive", true ) )
|
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
|
// init output writer
|
||||||
|
|||||||
Reference in New Issue
Block a user