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
03f237cb
Commit
03f237cb
authored
Dec 03, 2016
by
incardon
Browse files
Fixing decomposition for disconnected component withing the same processor
parent
051d133d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/dec_optimizer.hpp
View file @
03f237cb
...
...
@@ -541,9 +541,6 @@ private:
sub_id
++
;
}
// Construct box box_nn_processor from the constructed domain
construct_box_nn_processor
<
p_id
>
(
graph
,
box_nn_processor
,
lb
,
ghe
,
bc
,
pr_id
);
return
sub_id
;
}
...
...
@@ -662,6 +659,10 @@ public:
if
(
pr_id
==
-
1
)
{
optimize
<
p_sub
,
p_id
>
(
key_seed
,
graph
,
pr_id
,
lb
,
box_nn_processor
,
ghe
,
bc
);
// Construct box box_nn_processor from the constructed domain
construct_box_nn_processor
<
p_id
>
(
graph
,
box_nn_processor
,
lb
,
ghe
,
bc
,
pr_id
);
return
;
}
...
...
@@ -680,6 +681,9 @@ public:
// new seed
key_seed
=
search_seed
<
p_id
,
p_sub
>
(
graph
,
pr_id
);
}
// Construct box box_nn_processor from the constructed domain
construct_box_nn_processor
<
p_id
>
(
graph
,
box_nn_processor
,
lb
,
ghe
,
bc
,
pr_id
);
}
};
...
...
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