Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Dominik Mehlich
waLBerla
Commits
7d6a8e5a
Commit
7d6a8e5a
authored
Sep 02, 2019
by
Sebastian Eibl
Browse files
optimized performance of InfoCollection generation
parent
d5ddf031
Changes
1
Show whitespace changes
Inline
Side-by-side
src/mesa_pd/domain/InfoCollection.h
View file @
7d6a8e5a
...
...
@@ -55,8 +55,6 @@ void createWithNeighborhood(Accessor& ac, const BlockForest& bf, pe::InfoCollect
++
info
.
computationalWeight
;
}
}
for
(
uint_t
branchID
=
0
;
branchID
<
8
;
++
branchID
)
{
const
auto
childID
=
BlockID
(
block
->
getId
(),
branchID
);
...
...
@@ -71,7 +69,10 @@ void createWithNeighborhood(Accessor& ac, const BlockForest& bf, pe::InfoCollect
{
++
childInfo
.
computationalWeight
;
}
break
;
//particle can only be located within one child
}
}
break
;
//particle can only be located within one block
}
}
}
...
...
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