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

Modernize core #3314

Merged
merged 6 commits into from
Nov 15, 2019
Merged

Modernize core #3314

merged 6 commits into from
Nov 15, 2019

Conversation

jngrad
Copy link
Member

@jngrad jngrad commented Nov 15, 2019

Follow-up to #3304

Description of changes:

junghans and others added 5 commits November 15, 2019 16:55
Use bool type for true/false flags, update docs of bitfield flags.
Narrow scope of local variables, use auto const and static_cast.
Remove commented out debug printf statements, format comments,
update doxygen comments, delete obsolete doxygen comments.
@jngrad jngrad requested a review from fweik November 15, 2019 17:18
@codecov
Copy link

codecov bot commented Nov 15, 2019

Codecov Report

Merging #3314 into python will increase coverage by <1%.
The diff coverage is 79%.

Impacted file tree graph

@@           Coverage Diff           @@
##           python   #3314    +/-   ##
=======================================
+ Coverage      86%     86%   +<1%     
=======================================
  Files         536     536            
  Lines       25562   25550    -12     
=======================================
- Hits        21997   21988     -9     
+ Misses       3565    3562     -3
Impacted Files Coverage Δ
src/utils/include/utils/List.hpp 98% <ø> (ø) ⬆️
src/core/virtual_sites/lb_inertialess_tracers.cpp 96% <ø> (ø) ⬆️
src/core/statistics.hpp 87% <ø> (ø) ⬆️
src/core/cells.cpp 89% <ø> (ø) ⬆️
src/core/cells.hpp 100% <ø> (ø) ⬆️
src/core/integrators/velocity_verlet_npt.cpp 86% <0%> (ø) ⬆️
src/core/electrostatics_magnetostatics/p3m.cpp 86% <0%> (ø) ⬆️
src/core/polynom.hpp 33% <0%> (ø) ⬆️
src/core/BoxGeometry.hpp 100% <100%> (ø) ⬆️
src/core/reaction_ensemble.cpp 86% <100%> (ø) ⬆️
... and 8 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 414946e...f123ee3. Read the comment docs.

@fweik
Copy link
Contributor

fweik commented Nov 15, 2019

bors r+

bors bot added a commit that referenced this pull request Nov 15, 2019
3314: Modernize core r=fweik a=jngrad

Follow-up to #3304

Description of changes:
- cherry-pick #3312
- add a `BoxGeometry::volume` method
- use `bool` for true/false flags
- reduce scope of local variables
- remove obsolete comments

Co-authored-by: Christoph Junghans <[email protected]>
Co-authored-by: Jean-Noël Grad <[email protected]>
@bors
Copy link
Contributor

bors bot commented Nov 15, 2019

Build succeeded

@bors bors bot merged commit f123ee3 into espressomd:python Nov 15, 2019
@jngrad jngrad deleted the cleanup-code-p1 branch January 18, 2022 12:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants