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

Remove more global variables #4950

Merged
merged 12 commits into from
Aug 1, 2024
Merged

Remove more global variables #4950

merged 12 commits into from
Aug 1, 2024

Conversation

jngrad
Copy link
Member

@jngrad jngrad commented Jul 5, 2024

Fixes #4821
Partial fix for #2628
Partial fix for #4613

Description of changes:

  • encapsulate non-bonded interactions, bonded interactions, collision detection, particle list, cluster structure analysis, object-in-fluid, immersed boundaries, auto-update accumulators, constraints, MPI-IO, MMM1D
  • API changes:
    • Mpiio and ClusterStructure now take a system object as argument

jngrad added 7 commits July 18, 2024 14:32
Encapsulate bonded interactions, collision detection, particle list,
cluster structure analysis. Remove the SystemFacade class and rewrite
the checkpointing mechanism to avoid double deserialization.
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@jngrad jngrad marked this pull request as ready for review July 19, 2024 23:14
@jngrad jngrad requested review from RudolfWeeber and reinaual July 19, 2024 23:15
@jngrad jngrad added this to the ESPResSo 4.3.0 milestone Jul 19, 2024
Copy link
Contributor

@reinaual reinaual left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried to check everything within my capabilities. Most of it seems fine, but partially the commits are enormous and I can't say I understood the need for every change.

@RudolfWeeber do you want to take a look too? Otherwise I guess we trust in @jngrad and the testsuite and merge it.

src/core/cluster_analysis/Cluster.hpp Show resolved Hide resolved
src/python/espressomd/particle_data.py Show resolved Hide resolved
Remove superflous runtime checks on the vector size.
Address narrowing conversion compiler diagnostics.
@jngrad jngrad added the automerge Merge with kodiak label Aug 1, 2024
@kodiakhq kodiakhq bot merged commit 4884c35 into espressomd:python Aug 1, 2024
10 checks passed
@jngrad jngrad deleted the globals branch August 1, 2024 12:27
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.

Encapsulate auto-update accumulators
2 participants