pele.takestep.ParticleExchange#
- class pele.takestep.ParticleExchange(Alist, Blist, verbose=False)[source]#
Implement a takestep move which swaps two un-like atoms
Choose a random atom from group A and a random atom from group B and exchange their xyz coordinates.
- Parameters:
- Alist, Blistlist of integers
the indices of the atoms in each of the groups
- verbosebool
print debugging info
Methods
|
Call self as a function. |
|
scale the stepsize |
|
take a step |
|
feedback from basin hopping if last step was accepted |
Attributes