Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
hyteg
hyteg
Commits
6aaee979
Commit
6aaee979
authored
Mar 30, 2022
by
Benjamin Mann
Browse files
bugfix: signedness
parent
48f62ec2
Pipeline
#38812
failed with stages
in 27 minutes and 22 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/hyteg/adaptiverefinement/loadbalancing.cpp
View file @
6aaee979
...
...
@@ -385,7 +385,7 @@ void loadbalancing( const std::vector< Point3D >& coordinates,
std
::
vector
<
uint_t
>
initID
(
n_processes
);
// select initial elements at random
std
::
iota
(
initID
.
begin
(),
initID
.
end
(),
id0
[
VOL
]
);
std
::
fill
(
isAssigned
.
begin
()
+
id0
[
VOL
]
,
isAssigned
.
begin
()
+
id0
[
VOL
]
+
n_processes
,
true
);
std
::
fill
(
std
::
next
(
isAssigned
.
begin
()
,
id0
[
VOL
]
),
std
::
next
(
isAssigned
.
begin
()
,
id0
[
VOL
]
+
n_processes
)
,
true
);
// loop over all clusters k and choose initial element maximizing potential cluster size
for
(
uint_t
k
=
0
;
k
<
n_processes
;
++
k
)
{
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment