Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
O
openfpm_pdata
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
openfpm
openfpm_pdata
Commits
441f716c
Commit
441f716c
authored
Nov 25, 2020
by
incardon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ORB compiling still to debug
parent
a34950ac
Pipeline
#2452
failed with stages
in 182 minutes and 31 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
3 deletions
+21
-3
src/Decomposition/CartDecomposition.hpp
src/Decomposition/CartDecomposition.hpp
+7
-2
src/Decomposition/Distribution/Distribution_unit_tests.hpp
src/Decomposition/Distribution/Distribution_unit_tests.hpp
+1
-1
src/Decomposition/Distribution/SequentialDistributionStrategy.hpp
...mposition/Distribution/SequentialDistributionStrategy.hpp
+7
-0
src/Decomposition/ORBDecompositionStrategy.hpp
src/Decomposition/ORBDecompositionStrategy.hpp
+6
-0
No files found.
src/Decomposition/CartDecomposition.hpp
View file @
441f716c
...
...
@@ -384,7 +384,7 @@ public:
// Optimize the decomposition creating bigger spaces
// And reducing Ghost over-stress
dec_optimizer
<
dim
,
Graph_CSR
<
nm_v
<
dim
>
,
nm_e
>>
d_o
(
d
ist
.
getGraph
(),
gr_dist
.
getSize
());
dec_optimizer
<
dim
,
Graph_CSR
<
nm_v
<
dim
>
,
nm_e
>>
d_o
(
d
ec
.
getGraph
(),
gr_dist
.
getSize
());
// Ghost
Ghost
<
dim
,
long
int
>
ghe
;
...
...
@@ -397,7 +397,7 @@ public:
}
// optimize the decomposition or merge sub-sub-domain
d_o
.
template
optimize
<
nm_v_sub_id
,
nm_v_proc_id
>(
d
ist
.
getGraph
(),
p_id
,
loc_box
,
box_nn_processor
,
ghe
,
bc
);
d_o
.
template
optimize
<
nm_v_sub_id
,
nm_v_proc_id
>(
d
ec
.
getGraph
(),
p_id
,
loc_box
,
box_nn_processor
,
ghe
,
bc
);
// Initialize
if
(
loc_box
.
size
()
>
0
)
...
...
@@ -477,6 +477,10 @@ public:
*/
void
computeCommunicationAndMigrationCosts
(
size_t
ts
)
{
dec
.
computeCommunicationCosts
();
#if 0
float migration = 0;
SpaceBox<dim, T> cellBox = cd.getCellBox();
...
...
@@ -513,6 +517,7 @@ public:
}
commCostSet = true;
#endif
}
/*! \brief Create the sub-domain that decompose your domain
...
...
src/Decomposition/Distribution/Distribution_unit_tests.hpp
View file @
441f716c
...
...
@@ -169,7 +169,7 @@ BOOST_AUTO_TEST_CASE( Metis_distribution_test)
// Copy the Metis distribution
MetisDistribution
<
3
,
float
>
met_dist2
(
v_cl
);
MetisDistribution
<
3
,
float
>
met_dist2
(
v_cl
,
cds
.
getGraph
()
);
met_dist2
=
met_dist
;
...
...
src/Decomposition/Distribution/SequentialDistributionStrategy.hpp
View file @
441f716c
...
...
@@ -38,6 +38,13 @@ public:
return
_inner
;
}
SequentialDistributionStrategy
&
operator
=
(
const
SequentialDistributionStrategy
&
tmp
)
{
gp
=
tmp
.
gp
;
return
*
this
;
}
private:
AbstractDistStrategy
_inner
;
};
...
...
src/Decomposition/ORBDecompositionStrategy.hpp
View file @
441f716c
...
...
@@ -76,6 +76,12 @@ public:
inner
().
setDomain
(
domain_
);
}
/*! \brief Stub method to homogenize the interface do not use
*
*/
std
::
pair
<
float
,
size_t
>
computeCommunicationCosts
()
{
}
/*! \brief Stub method to homogenize the interface do not use
*
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment