Loading...
Searching...
No Matches
eonc::neb::DNEB_Projection Struct Reference

Trygubenko & Wales, JCP 120:2082, 2004. More...

#include <NEBProjection.h>

Public Member Functions

AtomMatrix project (const ImageForceData &d) const

Detailed Description

Trygubenko & Wales, JCP 120:2082, 2004.

Doubly-nudged elastic band: NEB projection + perpendicular spring correction.

Definition at line 45 of file NEBProjection.h.

Member Function Documentation

◆ project()

AtomMatrix eonc::neb::DNEB_Projection::project ( const ImageForceData & d) const

Definition at line 26 of file NEBProjection.cpp.

26 {
27 AtomMatrix fPerp = eonc::neb::forcePerp(d.force, d.tangent);
28 AtomMatrix forceDNEB =
29 computeDNEBComponent(d.springResult.forceSpring, d.tangent, fPerp);
30 return d.springResult.forceSpringPar + fPerp + forceDNEB;
31}
Eigen::Matrix< double, Eigen::Dynamic, 3, eOnStorageOrder > AtomMatrix
Definition Eigen.h:37
AtomMatrix computeDNEBComponent(const AtomMatrix &forceSpring, const AtomMatrix &tangent, const AtomMatrix &fPerp)
Compute the DNEB force component for a given image.
AtomMatrix forcePerp(const AtomMatrix &force, const AtomMatrix &tangent)
Compute the perpendicular component of force relative to the tangent.

The documentation for this struct was generated from the following files: