NudgedElasticBandStepFinder

 

__init__(self, func, jacobian, hessian=None, spring_constants=0.1, distance_function=None, step_finder='gradient-descent', logger=None, step_size=None, line_search=None, **opts): 

Relax NEB forces with fixed-step integration or a custom force search.

NEB forces are not the gradient of the per-image energy. An energy Armijo search is therefore unsuitable, including for climbing images. The default gradient-descent integration scale is .001; adapt it to the potential’s curvature, as with StringMethodStepFinder.

 

get_dist(self, p1, p2): 

LLM Docstring

Return the Euclidean distance between two image geometries.

  • p1: np.ndarray

    the first geometry

  • p2: np.ndarray

    the second geometry

  • :returns: np.ndarray

    the distance

 

get_tangent(self, guess, mask, cur, prev, next): 

Energy-weighted NEB tangents independently for each chain.

 

adjust_jacobian(self, jac, guess, mask, cur, prev, next): 

 

climbing_node_step(self, guess, mask, gradient_modifer=None, projector=None): 

LLM Docstring

Take a climbing-image step: invert the tangential force component so the image climbs toward the saddle along the path.

  • guess: np.ndarray

    the climbing-image parameters

  • mask: np.ndarray

    active-member indices

  • gradient_modifer: Callable | None

    optional gradient transformation

  • projector: np.ndarray | None

    optional projector

  • :returns: tuple

    (step, gradient)

 

image_pairwise_contribution(self, guess, mask, cur, prev, next, order=0): 

LLM Docstring

Compute the NEB spring contribution to the objective/gradient/Hessian from the difference of the distances to the two neighbouring images.

  • guess: np.ndarray

    the full chain

  • mask: np.ndarray

    active-member indices

  • cur: int

    current image index

  • prev: int | None

    previous image index

  • next: int | None

    next image index

  • order: int

    derivative order (0=value, 1=gradient, 2=Hessian)

  • :returns: np.ndarray | int

    the spring contribution


Feedback

Examples

Templates

Documentation