Loading...
Searching...
No Matches
gpr::neb::EndpointSymmetry Struct Reference

#include <gpr/neb/EndpointSymmetry.h>

Public Member Functions

bool empty () const noexcept
double resolution () const noexcept
Eigen::VectorXd mapPositions (const Eigen::VectorXd &x) const
Eigen::VectorXd mapGradient (const Eigen::VectorXd &g) const

Public Attributes

std::vector< int > permutation
Eigen::Matrix3d orthogonal = Eigen::Matrix3d::Identity()
Eigen::Vector3d translation = Eigen::Vector3d::Zero()
double forward_residual = std::numeric_limits<double>::quiet_NaN()
 Labelled displacement between the mapped reactant and the product.
double reverse_residual = std::numeric_limits<double>::quiet_NaN()
 Labelled displacement between the mapped product and the reactant.

Detailed Description

A symmetry of an isolated molecule that exchanges the two endpoints of a band:

x'a = Q x{p(a)} + t,

with p a permutation of like atoms and Q orthogonal. A potential that is invariant under relabelling identical atoms and under rigid motion (improper motion too when det Q = -1) satisfies E(x') = E(x) and grad E(x')_a = Q grad E(x)_{p(a)} at every x, so one measured energy and gradient row yields a second exact row at x'. For a degenerate rearrangement the minimum-energy path is mapped onto itself in reverse, and the second row lands on the half of the band the first did not measure. The force covariance this relies on is that of Glielmo, Sollich and De Vita, DOI 10.1103/PhysRevB.95.214302.

Definition at line 34 of file EndpointSymmetry.h.

Member Function Documentation

◆ empty()

bool gpr::neb::EndpointSymmetry::empty ( ) const
inlinenodiscardnoexcept

Definition at line 43 of file EndpointSymmetry.h.

44 {
45 return permutation.empty();
46 }
std::vector< int > permutation

◆ mapGradient()

Eigen::VectorXd gpr::neb::EndpointSymmetry::mapGradient ( const Eigen::VectorXd & g) const
inlinenodiscard

Definition at line 61 of file EndpointSymmetry.h.

62 {
63 return mapVector(g, false);
64 }

◆ mapPositions()

Eigen::VectorXd gpr::neb::EndpointSymmetry::mapPositions ( const Eigen::VectorXd & x) const
inlinenodiscard

Definition at line 56 of file EndpointSymmetry.h.

57 {
58 return mapVector(x, true);
59 }
@ x
Definition Enums.h:28

◆ resolution()

double gpr::neb::EndpointSymmetry::resolution ( ) const
inlinenodiscardnoexcept

How closely the operation is known: the larger endpoint residual. An image this close to a row is that row, up to the endpoints' own mismatch.

Definition at line 51 of file EndpointSymmetry.h.

52 {
53 return std::max(forward_residual, reverse_residual);
54 }
double reverse_residual
Labelled displacement between the mapped product and the reactant.
double forward_residual
Labelled displacement between the mapped reactant and the product.

Member Data Documentation

◆ forward_residual

double gpr::neb::EndpointSymmetry::forward_residual = std::numeric_limits<double>::quiet_NaN()

Labelled displacement between the mapped reactant and the product.

Definition at line 39 of file EndpointSymmetry.h.

◆ orthogonal

Eigen::Matrix3d gpr::neb::EndpointSymmetry::orthogonal = Eigen::Matrix3d::Identity()

Definition at line 36 of file EndpointSymmetry.h.

◆ permutation

std::vector<int> gpr::neb::EndpointSymmetry::permutation

Definition at line 35 of file EndpointSymmetry.h.

◆ reverse_residual

double gpr::neb::EndpointSymmetry::reverse_residual = std::numeric_limits<double>::quiet_NaN()

Labelled displacement between the mapped product and the reactant.

Definition at line 41 of file EndpointSymmetry.h.

◆ translation

Eigen::Vector3d gpr::neb::EndpointSymmetry::translation = Eigen::Vector3d::Zero()

Definition at line 37 of file EndpointSymmetry.h.


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