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

Public Attributes

bool use_switching {false}

Detailed Description

Trygubenko & Wales, JCP 120:2082, 2004.

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

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 = computeDNEBComponent(d.springResult.forceSpring,
29 d.tangent, fPerp, use_switching);
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, bool useSwitching)
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.

Member Data Documentation

◆ use_switching

bool eonc::neb::DNEB_Projection::use_switching {false}

Definition at line 46 of file NEBProjection.h.

46{false};

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