Skip to content
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

Fix LB GPU grid resize code #4191

Merged
merged 7 commits into from
Mar 30, 2021
Merged

Fix LB GPU grid resize code #4191

merged 7 commits into from
Mar 30, 2021

Conversation

jngrad
Copy link
Member

@jngrad jngrad commented Mar 29, 2021

Fixes #4190

Description of changes:

  • resize LB GPU grid when resizing the system box
  • use relative tolerance when checking the LB GPU grid size
  • remove code duplication in the LB GPU grid size code

jngrad added 4 commits March 29, 2021 19:03
The floating-point precision depends on the size of the box.
Always regenerate the LB grid dimensions on parameter change.
@jngrad jngrad added this to the Espresso 4.2 milestone Mar 29, 2021
@jngrad jngrad requested a review from KaiSzuttor March 30, 2021 13:55
@KaiSzuttor KaiSzuttor added the automerge Merge with kodiak label Mar 30, 2021
@kodiakhq kodiakhq bot merged commit 90540b1 into espressomd:python Mar 30, 2021
@jngrad jngrad deleted the lb-resize branch March 30, 2021 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

LB GPU grid resize bug
2 participants