eOn client
Long-timescale dynamics: aKMC, NEB, parallel replica
☾
Toggle main menu visibility
Loading...
Searching...
No Matches
NEBForceProjection.h
Go to the documentation of this file.
1
/*
2
** This file is part of eOn.
3
**
4
** SPDX-License-Identifier: BSD-3-Clause
5
**
6
** Copyright (c) 2010--present, eOn Development Team
7
** All rights reserved.
8
**
9
** Repo:
10
** https://github.com/TheochemUI/eOn
11
*/
12
#pragma once
13
14
#include "
Eigen.h
"
15
#include "
Matter.h
"
16
17
namespace
eonc::neb
{
18
21
AtomMatrix
computeTangent
(
const
AtomMatrix
&posDiffNext,
22
const
AtomMatrix
&posDiffPrev,
double
energy,
23
double
energyPrev,
double
energyNext,
24
bool
use_old_tangent);
25
27
AtomMatrix
forcePerp
(
const
AtomMatrix
&force,
const
AtomMatrix
&tangent);
28
31
AtomMatrix
climbingImageForce
(
const
AtomMatrix
&force,
32
const
AtomMatrix
&tangent,
33
const
AtomMatrix
&forceDNEB);
34
36
AtomMatrix
computeDNEB
(
const
AtomMatrix
&forceSpring,
const
AtomMatrix
&tangent,
37
const
AtomMatrix
&
forcePerp
);
38
40
void
zeroTranslation
(
AtomMatrix
&projectedForce,
int
nFreeAtoms,
int
nAtoms);
41
42
}
// namespace eonc::neb
Eigen.h
AtomMatrix
Eigen::Matrix< double, Eigen::Dynamic, 3, eOnStorageOrder > AtomMatrix
Definition
Eigen.h:37
Matter.h
eonc::neb
Definition
NEBForceProjection.cpp:18
eonc::neb::zeroTranslation
void zeroTranslation(AtomMatrix &projectedForce, int nFreeAtoms, int nAtoms)
Zero net translational force for fully free systems.
Definition
NEBForceProjection.cpp:103
eonc::neb::climbingImageForce
AtomMatrix climbingImageForce(const AtomMatrix &force, const AtomMatrix &tangent, const AtomMatrix &forceDNEB)
Compute the climbing image projected force.
Definition
NEBForceProjection.cpp:73
eonc::neb::computeTangent
AtomMatrix computeTangent(const AtomMatrix &posDiffNext, const AtomMatrix &posDiffPrev, double energy, double energyPrev, double energyNext, bool use_old_tangent)
Compute the tangent vector at image i using the improved tangent scheme.
Definition
NEBForceProjection.cpp:22
eonc::neb::forcePerp
AtomMatrix forcePerp(const AtomMatrix &force, const AtomMatrix &tangent)
Compute the perpendicular component of force relative to the tangent.
Definition
NEBForceProjection.cpp:69
eonc::neb::computeDNEB
AtomMatrix computeDNEB(const AtomMatrix &forceSpring, const AtomMatrix &tangent, const AtomMatrix &fPerp)
Compute the doubly-nudged elastic band perpendicular spring force.
Definition
NEBForceProjection.cpp:79
include
eon
NEBForceProjection.h
Generated by
1.17.0
Generated by
Doxygen 1.17.0
Analytics by
Antics
provided by
TurtleTech ehf