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 unused code. #1713

Merged
merged 2 commits into from
Feb 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 0 additions & 14 deletions hoomd/md/integrate.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@

"""Implement MD Integrator."""

import itertools

import hoomd
from hoomd.md import _md
from hoomd.data.parameterdicts import ParameterDict
Expand Down Expand Up @@ -95,18 +93,6 @@ def methods(self):
def methods(self, value):
_set_synced_list(self._methods, value)

@property
def _children(self):
children = list(self.forces)
children.extend(self.constraints)
children.extend(self.methods)

for child in itertools.chain(self.forces, self.constraints,
self.methods):
children.extend(child._children)

return children

def _setattr_param(self, attr, value):
if attr == "rigid":
self._set_rigid(value)
Expand Down
4 changes: 0 additions & 4 deletions hoomd/md/long_range/pppm.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,10 +271,6 @@ def nlist(self, value):
# ensure that the pair force uses the same neighbor list
self._pair_force.nlist = value

@property
def _children(self):
return [self.nlist]


def _diffpr(hx, hy, hz, xprd, yprd, zprd, N, order, kappa, q2, rcut):
"""Part of the algorithm that computes the estimated error of the method."""
Expand Down
Loading