19#ifndef DUNE_CPGRID_METISPARTITION_HEADER
20#define DUNE_CPGRID_METISPARTITION_HEADER
30#if IS_SCOTCH_METIS_HEADER
35#ifndef SCOTCH_METIS_VERSION
36#define SCOTCH_METIS_VERSION 5
40#if defined(HAVE_METIS) && HAVE_MPI
46#if defined(HAVE_METIS) && HAVE_MPI
52#include <unordered_map>
59#if defined(REALTYPEWIDTH)
60 using real_t = ::real_t;
62 using real_t = double;
65#if defined(IDXTYPEWIDTH)
66 using idx_t = ::idx_t;
67#elif IS_SCOTCH_METIS_HEADER
68 using idx_t = SCOTCH_Num;
73#if IS_SCOTCH_METIS_HEADER
109std::tuple<std::vector<int>,
110 std::vector<std::pair<std::string, bool>>,
111 std::vector<std::tuple<int, int, char>>,
112 std::vector<std::tuple<int, int, char, int>>,
114metisSerialGraphPartitionGridOnRoot(
const CpGrid& grid,
115 const std::vector<OpmWellType> * wells,
116 const std::unordered_map<std::string, std::set<int>>& possibleFutureConnections,
117 const double* transmissibilities,
118 const Communication<MPI_Comm>& cc,
122 bool allowDistributedWells,
123 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