mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Make WellSwitchingLogger work with DUNE 2.3
That version does not provide a default constructor for CollectiveCommunication, Therefore we now use MPIHelper::getCollectiveCommunication() for the default constructor argument.
This commit is contained in:
@@ -52,7 +52,8 @@ public:
|
||||
/// \brief Constructor.
|
||||
///
|
||||
/// \param cc The collective communication to use.
|
||||
explicit WellSwitchingLogger(const Communication& cc=Communication())
|
||||
explicit WellSwitchingLogger(const Communication& cc =
|
||||
Dune::MPIHelper::getCollectiveCommunication())
|
||||
: cc_(cc)
|
||||
{}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user