19#ifndef DUNE_CPGRID_METISPARTITION_HEADER
20#define DUNE_CPGRID_METISPARTITION_HEADER
22#include <unordered_set>
32#if IS_SCOTCH_METIS_HEADER
37#ifndef SCOTCH_METIS_VERSION
38#define SCOTCH_METIS_VERSION 5
42#if defined(HAVE_METIS) && HAVE_MPI
48#if defined(HAVE_METIS) && HAVE_MPI
53#if defined(REALTYPEWIDTH)
54 using real_t = ::real_t;
56 using real_t = double;
59#if defined(IDXTYPEWIDTH)
60 using idx_t = ::idx_t;
61#elif IS_SCOTCH_METIS_HEADER
62 using idx_t = SCOTCH_Num;
67#if IS_SCOTCH_METIS_HEADER
103std::tuple<std::vector<int>,
104 std::vector<std::pair<std::string, bool>>,
105 std::vector<std::tuple<int, int, char>>,
106 std::vector<std::tuple<int, int, char, int>>,
108metisSerialGraphPartitionGridOnRoot(
const CpGrid& grid,
109 const std::vector<OpmWellType> * wells,
110 const std::unordered_map<std::string, std::set<int>>& possibleFutureConnections,
111 const double* transmissibilities,
112 const Communication<MPI_Comm>& cc,
116 bool allowDistributedWells,
117 const std::map<std::string,std::string>& params);
The namespace Dune is the main namespace for all Dune code.
Definition: common/CartesianIndexMapper.hpp:10
EdgeWeightMethod
enum for choosing Methods for weighting graph-edges correspoding to cell interfaces in Zoltan's or Me...
Definition: GridEnums.hpp:34