Merge pull request #5464 from akva2/quell_gcc12_warnings

Quell some gcc12 warnings
This commit is contained in:
Arne Morten Kvarving 2024-07-03 11:00:39 +02:00 committed by GitHub
commit 84c1f0f5c8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 7 additions and 4 deletions

View File

@ -166,7 +166,7 @@ using BV = Dune::BlockVector<Dune::FieldVector<double,Dim>>;
#if HAVE_MPI
using CommunicationType = Dune::OwnerOverlapCopyCommunication<int,int>;
#else
using CommunicationType = Dune::CollectiveCommunication<int>;
using CommunicationType = Dune::Communication<int>;
#endif
#define INSTANCE_FLEX(Dim) \

View File

@ -162,7 +162,7 @@ std::unique_ptr<Matrix> blockJacobiAdjacency(const Grid& grid,
#if HAVE_MPI
using CommunicationType = Dune::OwnerOverlapCopyCommunication<int,int>;
#else
using CommunicationType = Dune::CollectiveCommunication<int>;
using CommunicationType = Dune::Communication<int>;
#endif
public:

View File

@ -150,7 +150,7 @@ public:
#if HAVE_MPI
using communication_type = Dune::OwnerOverlapCopyCommunication<int,int>;
#else
using communication_type = Dune::CollectiveCommunication<int>;
using communication_type = Dune::Communication<int>;
#endif
Dune::SolverCategory::Category category() const override
@ -244,7 +244,7 @@ public:
#if HAVE_MPI
using communication_type = Dune::OwnerOverlapCopyCommunication<int,int>;
#else
using communication_type = Dune::CollectiveCommunication<int>;
using communication_type = Dune::Communication<int>;
#endif
Dune::SolverCategory::Category category() const override

View File

@ -51,6 +51,9 @@ namespace Opm {
class Check
{
public:
/// Virtual destructor since class has virtual functions
virtual ~Check() = default;
/// Run specific check against a set of saturation function end-points.
///
/// \param[in] endPoints Set of saturation function end-points.