Skip to content

Conversation

SchoeniPhlippsn
Copy link
Contributor

@SchoeniPhlippsn SchoeniPhlippsn commented Jun 26, 2025

Fix segfault when attaching nlists with meshes

Description

Simulations segfaulted when attaching pair potentials with neighbor lists containing a mesh for exclusions to the integrator before the mesh forces were applied.

The code now initializes the mesh through the cell lists as well.

How has this been tested?

I added a pytest

Checklist:

  • I have reviewed the Contributor Guidelines.
  • I agree with the terms of the HOOMD-blue Contributor Agreement.
  • My name is on the list of contributors (sphinx-doc/credits.rst) in the pull request source branch.
  • I have summarized these changes in CHANGELOG.rst following the established format.

@SchoeniPhlippsn
Copy link
Contributor Author

pre-commit.ci autofix

@SchoeniPhlippsn
Copy link
Contributor Author

pre-commit.ci autofix

@SchoeniPhlippsn
Copy link
Contributor Author

pre-commit.ci autofix

@joaander joaander merged commit d3fbbd7 into trunk-patch Jul 15, 2025
34 checks passed
@joaander joaander deleted the mesh-cell-fix branch July 15, 2025 17:43
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.

2 participants