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

ScaFaCoS maintenance #3784

Merged
merged 8 commits into from
Jun 30, 2020
Merged

Conversation

jngrad
Copy link
Member

@jngrad jngrad commented Jun 30, 2020

Description of changes:

  • fix a bug in the ScaFaCoS interface when calling the get_params() method of a ScaFaCos-based actor
  • add a test for the ScaFaCos get_params() method
  • remove unused ScaFaCoS function
  • document and test FCS weights attribute
  • improve testsuite readability

ScaFaCoS has its own exception mechanism for the case where
particles leave the box, e.g. in 2d or 1d system without walls.
The function is no longer used since 4.1.0.
Use the automatic casting feature of np.testing.assert_* functions.
Use specialized unittest assertions. Simplify numpy reshapes. Use
numpy.linalg.norm() and espressomd.system.System.volume().
@codecov
Copy link

codecov bot commented Jun 30, 2020

Codecov Report

Merging #3784 into python will increase coverage by 0%.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff           @@
##           python   #3784   +/-   ##
======================================
  Coverage      89%     89%           
======================================
  Files         552     552           
  Lines       24421   24413    -8     
======================================
+ Hits        21735   21772   +37     
+ Misses       2686    2641   -45     
Impacted Files Coverage Δ
...rc/core/electrostatics_magnetostatics/scafacos.cpp 93% <ø> (+22%) ⬆️
src/core/electrostatics_magnetostatics/p3m.cpp 87% <0%> (-1%) ⬇️
src/scafacos/Scafacos.cpp 100% <0%> (+8%) ⬆️
src/core/accumulators/Correlator.hpp 100% <0%> (+10%) ⬆️

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 e2c70d7...4bd11e1. Read the comment docs.

@fweik fweik added the automerge Merge with kodiak label Jun 30, 2020
@kodiakhq kodiakhq bot merged commit db097ef into espressomd:python Jun 30, 2020
@jngrad jngrad deleted the scafacos-maintainance branch January 18, 2022 12:12
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