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