Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openfpm_pdata
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
argupta
openfpm_pdata
Commits
084d71f7
Commit
084d71f7
authored
6 years ago
by
Pietro Incardona
Browse files
Options
Downloads
Patches
Plain Diff
May be fix compilation on 4.8.5
parent
423170a7
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Decomposition/Distribution/MetisDistribution.hpp
+14
-14
14 additions, 14 deletions
src/Decomposition/Distribution/MetisDistribution.hpp
with
14 additions
and
14 deletions
src/Decomposition/Distribution/MetisDistribution.hpp
+
14
−
14
View file @
084d71f7
...
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment