Cleanup code slightly and implement tests for CellList
Some checks failed
Build and Test / build-and-test (push) Failing after 5m4s
Some checks failed
Build and Test / build-and-test (push) Failing after 5m4s
This commit is contained in:
parent
f3e701236e
commit
d957a90573
4 changed files with 55 additions and 7 deletions
10
src/box.hpp
10
src/box.hpp
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue