mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Use int as global index type in IndexSet
That is what seems to be used by ECL schedule, too.
This commit is contained in:
@@ -48,8 +48,8 @@ class CommunicateAboveBelow
|
||||
using Communication = Dune::CollectiveCommunication<MPIComm>;
|
||||
#endif
|
||||
using LocalIndex = Dune::ParallelLocalIndex<Attribute>;
|
||||
using IndexSet = Dune::ParallelIndexSet<int,LocalIndex,50>;
|
||||
#if HAVE_MPI
|
||||
using IndexSet = Dune::ParallelIndexSet<std::size_t,LocalIndex,50>;
|
||||
using RI = Dune::RemoteIndices<IndexSet>;
|
||||
#endif
|
||||
|
||||
@@ -189,6 +189,7 @@ public:
|
||||
using Communication = Dune::CollectiveCommunication<MPIComm>;
|
||||
#endif
|
||||
|
||||
static constexpr int INVALID_ECL_INDEX = -1;
|
||||
|
||||
/// \brief Constructs object using MPI_COMM_SELF
|
||||
ParallelWellInfo(const std::string& name = {""},
|
||||
|
||||
Reference in New Issue
Block a user