Cleanup code slightly and implement tests for CellList
Some checks failed
Build and Test / build-and-test (push) Failing after 5m4s

This commit is contained in:
Alex Selimov 2025-09-19 23:46:21 -04:00
parent f3e701236e
commit d957a90573
Signed by: aselimov
GPG key ID: 3DDB9C3E023F1F31
4 changed files with 55 additions and 7 deletions

View file

@ -18,6 +18,16 @@ struct Box {
bool x_is_periodic;
bool y_is_periodic;
bool z_is_periodic;
Box(real xlo, real xhi, real ylo, real yhi, real zlo, real zhi,
bool x_is_periodic, bool y_is_periodic, bool z_is_periodic)
: xlo(xlo), xhi(xhi), ylo(ylo), yhi(yhi), zlo(zlo), zhi(zhi),
x_is_periodic(x_is_periodic), y_is_periodic(y_is_periodic),
z_is_periodic(z_is_periodic) {}
Box(real xlo, real xhi, real ylo, real yhi, real zlo, real zhi)
: xlo(xlo), xhi(xhi), ylo(ylo), yhi(yhi), zlo(zlo), zhi(zhi),
x_is_periodic(true), y_is_periodic(true), z_is_periodic(true) {}
};
#endif