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

Fix boundingbox check for non-orthogonal boxes #883

Open
jennyfothergill opened this issue Apr 27, 2021 · 1 comment
Open

Fix boundingbox check for non-orthogonal boxes #883

jennyfothergill opened this issue Apr 27, 2021 · 1 comment

Comments

@jennyfothergill
Copy link
Contributor

TODO comments from mbuild/compound.py

986:        # TODO: Fix this for non-orthogonal boxes
987-        # Make sure the box is bigger than the bounding box
988-        if box is not None:
989-            if (box.lengths < self.boundingbox.lengths).any():
990-                warn(
991-                    "Compound.box.lengths < Compound.boundingbox.lengths. "
992-                    "There may be particles outside of the defined "
993-                    "simulation box."
994-                )

related to #872

jennyfothergill added a commit to jennyfothergill/mbuild that referenced this issue Apr 27, 2021
justinGilmer pushed a commit that referenced this issue Apr 27, 2021
* remove todo, see issue #875

* see #877

* see #878

* see #879

* see #880

* see #881

* see #882

* see #883

* see #884

* see #885

* see #886
umesh-timalsina referenced this issue in GOMC-WSU/MoSDeF-GOMC Mar 22, 2022
* remove todo, see issue #875

* see #877

* see #878

* see #879

* see #880

* see #881

* see #882

* see #883

* see #884

* see #885

* see #886
@CalCraven
Copy link
Contributor

This is simple enough, just would need to use box.xy, box.xz, and box.yz components for this comparison.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants