-
Notifications
You must be signed in to change notification settings - Fork 188
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lb nodes generator #2917
Lb nodes generator #2917
Conversation
… test And moved the lbfluid.stress property from lbcpu to base class
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please remove the unnecessary loop in the test, besides that LGTM
testsuite/python/lb.py
Outdated
for k in range(n_nodes): | ||
lb_nodes.append(self.lbf[i, j, k]) | ||
for n in self.lbf.nodes(): | ||
lb_nodes.append(n) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you can omit this step now, just use the generator directly
Codecov Report
@@ Coverage Diff @@
## python #2917 +/- ##
======================================
- Coverage 83% 83% -1%
======================================
Files 520 520
Lines 26923 26924 +1
======================================
Hits 22444 22444
- Misses 4479 4480 +1
Continue to review full report at Codecov.
|
bors r+ |
2917: Lb nodes generator r=KaiSzuttor a=RudolfWeeber @KaiSzuttor This also moves lbfluid(cpu).stress to the base class since it also applies to lbgpu. Co-authored-by: Rudolf Weeber <[email protected]> Co-authored-by: Kai Szuttor <[email protected]>
Build succeeded |
@KaiSzuttor
This also moves lbfluid(cpu).stress to the base class since it also applies to lbgpu.