Moved files and reformatted some

This commit is contained in:
2023-12-18 14:47:22 +01:00
parent b4486ff265
commit 62705da6f3
23 changed files with 50 additions and 47 deletions

View File

@ -9,6 +9,6 @@ def test_pbc_diff():
y = np.random.rand(10, 3)
box = np.ones((3,))
assert (pbc.pbc_diff(x, x, box) == approx(0))
dxy = (pbc.pbc_diff(x, y, box)**2).sum(axis=1)**0.5
assert pbc.pbc_diff(x, x, box) == approx(0)
dxy = (pbc.pbc_diff(x, y, box) ** 2).sum(axis=1) ** 0.5
assert (dxy <= 0.75**0.5).all()