mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
SimulatorBase: avoid using update operator for bool.
This commit is contained in:
@@ -67,7 +67,7 @@ namespace Opm
|
|||||||
const ParallelISTLInformation& info =
|
const ParallelISTLInformation& info =
|
||||||
boost::any_cast<const ParallelISTLInformation&>(solver_.parallelInformation());
|
boost::any_cast<const ParallelISTLInformation&>(solver_.parallelInformation());
|
||||||
// Only rank 0 does print to std::cout
|
// Only rank 0 does print to std::cout
|
||||||
terminal_output_ &= ( info.communicator().rank() == 0 );
|
terminal_output_ = terminal_output_ && ( info.communicator().rank() == 0 );
|
||||||
is_parallel_run_ = ( info.communicator().size() > 1 );
|
is_parallel_run_ = ( info.communicator().size() > 1 );
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user