pele.accept_tests.SphericalContainer#
- class pele.accept_tests.SphericalContainer(radius, nocenter=False, verbose=False)[source]#
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
Methods
|
wrapper for accept |
|
perform the test |
|
wrapper for accept |
|
Attributes