pele.accept_tests.spherical_container#
- class pele.accept_tests.spherical_container.SphericalContainer[source]
-
class SphericalContainer:Reject a structure if any atoms are outside a spherical region
This test is necessary to avoid evaporation in clusters
a class to make sure the cluster doesn’t leave a spherical region of given radius. The center of the spherical region is at the center of mass.
- Parameters:
- radiusfloat
- SphericalContainer.acceptWrapper()[source]
-
def acceptWrapper(self, eold, enew, coordsold, coordsnew):wrapper for accept