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:
Markus Blatt
2016-10-05 16:13:11 +02:00
parent f598906e09
commit 2a1388d124

View File

@@ -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)
{}