Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Sbalzarini Lab
S
Software
P
Parallel Computing
OpenFPM
openfpm_pdata
Commits
f7b4ddf9
Commit
f7b4ddf9
authored
Feb 22, 2017
by
incardon
Browse files
Fixing test for medium scale
parent
de25e02e
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/DLB/LB_Model.hpp
View file @
f7b4ddf9
...
...
@@ -50,7 +50,7 @@ struct ModelSquare
template
<
typename
Decomposition
,
typename
vector
>
inline
void
addComputation
(
Decomposition
&
dec
,
const
vector
&
vd
,
size_t
v
,
size_t
p
)
{
dec
.
addComputationCost
(
v
,
1
);
dec
.
addComputationCost
(
v
,
factor
);
}
template
<
typename
Decomposition
>
inline
void
applyModel
(
Decomposition
&
dec
,
size_t
v
)
...
...
src/Vector/vector_dist_dlb_test.hpp
View file @
f7b4ddf9
...
...
@@ -43,6 +43,7 @@ BOOST_AUTO_TEST_CASE( vector_dist_dlb_test_part )
vd
.
ghost_get
<>
();
ModelSquare
md
;
md
.
factor
=
10
;
vd
.
addComputationCosts
(
md
);
vd
.
getDecomposition
().
decompose
();
vd
.
map
();
...
...
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