Commit 084d71f7 authored by incardon's avatar incardon

May be fix compilation on 4.8.5

parent 423170a7
Pipeline #829 failed with stages
in 1 minute and 1 second
......@@ -13,6 +13,20 @@
#define METIS_DISTRIBUTION_ERROR_OBJECT std::runtime_error("Metis runtime error");
/*! \brief sub-domain list and weight
*
*/
struct met_sub_w
{
//! sub-domain id
size_t id;
//! sub-domain weight / assignment (it depend in which context is used)
size_t w;
static bool noPointers() {return true;}
};
/*! \brief Class that distribute sub-sub-domains across processors using Metis Library
*
* Given a graph and setting Computational cost, Communication cost (on the edge) and
......@@ -47,20 +61,6 @@ class MetisDistribution
//! Metis decomposer utility
Metis<Graph_CSR<nm_v, nm_e>> metis_graph;
/*! \brief sub-domain list and weight
*
*/
struct met_sub_w
{
//! sub-domain id
size_t id;
//! sub-domain weight / assignment (it depend in which context is used)
size_t w;
static bool noPointers() {return true;}
};
//! unordered map that map global sub-sub-domain to owned_cost_sub id
std::unordered_map<size_t,size_t> owner_scs;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment