mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #5362 from akva2/janitoring
fixed: use getCommuncation instead of getCollectiveCommuncation
This commit is contained in:
commit
a05d1358c6
@ -66,7 +66,7 @@ bool operator==(const Opm::ConvergenceReport::WellFailure& wf1,
|
||||
|
||||
BOOST_AUTO_TEST_CASE(AllHaveFailure)
|
||||
{
|
||||
auto cc = Dune::MPIHelper::getCollectiveCommunication();
|
||||
auto cc = Dune::MPIHelper::getCommunication();
|
||||
std::ostringstream name;
|
||||
name << "WellRank" << cc.rank() << std::flush;
|
||||
using CR = Opm::ConvergenceReport;
|
||||
@ -85,7 +85,7 @@ BOOST_AUTO_TEST_CASE(AllHaveFailure)
|
||||
|
||||
BOOST_AUTO_TEST_CASE(EvenHaveFailure)
|
||||
{
|
||||
auto cc = Dune::MPIHelper::getCollectiveCommunication();
|
||||
auto cc = Dune::MPIHelper::getCommunication();
|
||||
using CR = Opm::ConvergenceReport;
|
||||
CR cr;
|
||||
if (cc.rank() % 2 == 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user