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

Simplify bonded/non-bonded IAs code #3032

Merged
merged 6 commits into from
Jul 31, 2019
Merged

Conversation

jngrad
Copy link
Member

@jngrad jngrad commented Jul 31, 2019

Description of changes:

  • use utils/math functions and Vector3d-specific functions to simplify the code logic
  • use auto const to avoid mistakes
  • fix copy-paste errors in Doxygen documentation

Required for #2502, more Vector3d refactoring will take place in subsequent PRs.

@codecov
Copy link

codecov bot commented Jul 31, 2019

Codecov Report

Merging #3032 into python will decrease coverage by <1%.
The diff coverage is 97%.

Impacted file tree graph

@@          Coverage Diff           @@
##           python   #3032   +/-   ##
======================================
- Coverage      82%     82%   -1%     
======================================
  Files         529     529           
  Lines       26793   26790    -3     
======================================
- Hits        22099   22095    -4     
- Misses       4694    4695    +1
Impacted Files Coverage Δ
src/core/nonbonded_interactions/hat.cpp 100% <ø> (ø) ⬆️
src/core/nonbonded_interactions/ljcos.cpp 100% <ø> (ø) ⬆️
src/core/nonbonded_interactions/wca.cpp 100% <ø> (ø) ⬆️
src/core/nonbonded_interactions/thole.cpp 100% <ø> (ø) ⬆️
src/core/nonbonded_interactions/lj.cpp 100% <ø> (ø) ⬆️
src/core/nonbonded_interactions/ljgen.cpp 100% <ø> (ø) ⬆️
src/core/nonbonded_interactions/nonbonded_tab.hpp 100% <ø> (ø) ⬆️
src/core/nonbonded_interactions/ljcos2.cpp 100% <ø> (ø) ⬆️
...bonded_interactions/nonbonded_interaction_data.hpp 100% <ø> (ø) ⬆️
src/core/bonded_interactions/harmonic_dumbbell.hpp 0% <0%> (ø) ⬆️
... and 32 more

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 e93fcb3...158ce1d. Read the comment docs.

@fweik fweik self-assigned this Jul 31, 2019
@fweik
Copy link
Contributor

fweik commented Jul 31, 2019

bors r+

bors bot added a commit that referenced this pull request Jul 31, 2019
3032: Simplify bonded/non-bonded IAs code r=fweik a=jngrad

Description of changes:
- use utils/math functions and Vector3d-specific functions to simplify the code logic
- use `auto const` to avoid mistakes
- fix copy-paste errors in Doxygen documentation

Required for #2502, more Vector3d refactoring will take place in subsequent PRs.


Co-authored-by: Jean-Noël Grad <jgrad@icp.uni-stuttgart.de>
@bors
Copy link
Contributor

bors bot commented Jul 31, 2019

Build succeeded

@bors bors bot merged commit 158ce1d into espressomd:python Jul 31, 2019
@jngrad jngrad deleted the fix-2502-p1a branch January 18, 2022 12:10
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.

2 participants