Cubic-potential spring. More...
#include <NEBSpringForce.h>
Public Member Functions | |
| SpringResult | compute (long i, const AtomMatrix &tangent, double distNext, double distPrev) const |
Public Attributes | |
| double | ksp |
Cubic-potential spring.
The parallel force is k times the difference of squared neighbour distances, so a perpendicular step cancels and the stiffness falls with the image spacing.
Definition at line 42 of file NEBSpringForce.h.
| SpringResult eonc::neb::GeometricSpring::compute | ( | long | i, |
| const AtomMatrix & | tangent, | ||
| double | distNext, | ||
| double | distPrev ) const |
Definition at line 33 of file NEBSpringForce.cpp.
| double eonc::neb::GeometricSpring::ksp |
Definition at line 43 of file NEBSpringForce.h.