confirm that no incompatible neighbor lists are found

This commit is contained in:
Axel Kohlmeyer
2021-04-03 10:24:46 -04:00
parent 432ccffb3e
commit 5520d6edd7
2 changed files with 4 additions and 0 deletions

View File

@ -364,6 +364,8 @@ class PythonNumpy(unittest.TestCase):
self.assertNotEqual(self.lmp.find_pair_neighlist("lj/cut"),-1)
self.assertNotEqual(self.lmp.find_compute_neighlist("dist"),-1)
self.assertEqual(self.lmp.find_compute_neighlist("xxx"),-1)
self.assertEqual(self.lmp.find_fix_neighlist("dist"),-1)
# the compute has a half neighbor list
nlist = self.lmp.numpy.get_neighlist(self.lmp.find_compute_neighlist("dist"))