pele.takestep.generic#
- class pele.takestep.generic.TakestepInterface[source]
-
class TakestepInterface:Interface for step taking classes
- TakestepInterface.takeStep()[source]
-
def takeStep(self, coords, **kwargs):take a step
- Parameters:
- coordsarray like object
coordinates
- TakestepInterface.updateStep()[source]
-
def updateStep(self, accepted, **kwargs):feedback from basin hopping if last step was accepted
- Parameters:
- acceptedboolean
True if the last step was accepted, otherwise false
- TakestepInterface.scale()[source]
-
def scale(self, factor):scale the stepsize
This function needs to be implemented to support adaptive step taking
- Parameters:
- factorfloat
factor to scale the stepsize
- class pele.takestep.generic.Takestep[source]
-
class Takestep(TakestepInterface):basic takestep interface which stores the stepsize