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

Dd fix #3377

Merged
merged 2 commits into from
Dec 12, 2019
Merged

Dd fix #3377

merged 2 commits into from
Dec 12, 2019

Conversation

fweik
Copy link
Contributor

@fweik fweik commented Dec 12, 2019

Fixes #3376.

Description of changes:

  • Calculated cell index in a way such that all nodes agree on the cell
    a particle belongs into (independently of rounding errors).

@fweik fweik requested a review from KaiSzuttor December 12, 2019 10:25
@jngrad jngrad added this to the Espresso 4.1.2 milestone Dec 12, 2019
@codecov
Copy link

codecov bot commented Dec 12, 2019

Codecov Report

Merging #3377 into python will increase coverage by <1%.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           python   #3377    +/-   ##
=======================================
+ Coverage      86%     86%   +<1%     
=======================================
  Files         537     537            
  Lines       25283   25285     +2     
=======================================
+ Hits        21805   21807     +2     
  Misses       3478    3478
Impacted Files Coverage Δ
src/core/domain_decomposition.hpp 100% <100%> (ø) ⬆️
src/core/domain_decomposition.cpp 94% <100%> (ø) ⬆️
src/core/electrostatics_magnetostatics/p3m.cpp 85% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c9feb5c...02c727f. Read the comment docs.

@jngrad
Copy link
Member

jngrad commented Dec 12, 2019

Why delete the python test? You just had to add

        self.system.box_l = [50.0, 50.0, 50.0]
        self.system.cell_system.skin = 0.4

at the beginning of the method in c14db8b and it would have worked (I just tried it).

@fweik
Copy link
Contributor Author

fweik commented Dec 12, 2019

Ah, I missed the skin.

@fweik fweik changed the title Dd fix WIP: Dd fix Dec 12, 2019
@KaiSzuttor
Copy link
Member

sorry I just tried an api call

@fweik fweik changed the title WIP: Dd fix Dd fix Dec 12, 2019
@jngrad
Copy link
Member

jngrad commented Dec 12, 2019

bors r=+ p=19106272730

@jngrad
Copy link
Member

jngrad commented Dec 12, 2019

bors r=+ p=1910627273

bors bot added a commit that referenced this pull request Dec 12, 2019
3377: Dd fix r=+ a=fweik

Fixes #3376.

Description of changes:
 - Calculated cell index in a way such that all nodes agree on the cell
   a particle belongs into (independently of rounding errors).


Co-authored-by: Florian Weik <[email protected]>
@bors
Copy link
Contributor

bors bot commented Dec 12, 2019

Build succeeded

@bors bors bot merged commit 02c727f into espressomd:python Dec 12, 2019
@fweik fweik deleted the dd_fix branch August 27, 2020 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

min_global_cut can lead to wrong behavior of callback
3 participants