nvalchemi.dynamics.mep.SpringConfig#

class nvalchemi.dynamics.mep.SpringConfig(*args, **kwargs)[source]#

Resolve spring constants for the links in one or more NEB paths.

resolve(context)[source]#

Return one spring constant per adjacent image link.

Parameters:

context (SpringContext) – Read-only current NEB state.

Returns:

Spring constants with shape (context.num_links,) on the same device as context.positions.

Return type:

Tensor