.. index:: pair: struct; gpr::neb::EndpointSymmetry .. _doxid-structgpr_1_1neb_1_1_endpoint_symmetry: struct gpr::neb::EndpointSymmetry ================================= .. toctree:: :hidden: Overview ~~~~~~~~ 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. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct EndpointSymmetry { // fields std::vector :target:`permutation`; Eigen::Matrix3d :target:`orthogonal` = Eigen::Matrix3d::Identity(); Eigen::Vector3d :target:`translation` = Eigen::Vector3d::Zero(); double :ref:`forward_residual` = std::numeric_limits::quiet_NaN(); double :ref:`reverse_residual` = std::numeric_limits::quiet_NaN(); // methods bool :target:`empty`() const; double :ref:`resolution`() const; Eigen::VectorXd :target:`mapPositions`(const Eigen::VectorXd& x) const; Eigen::VectorXd :target:`mapGradient`(const Eigen::VectorXd& g) const; }; .. _details-structgpr_1_1neb_1_1_endpoint_symmetry: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ 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. Fields ------ .. index:: pair: variable; forward_residual .. _doxid-structgpr_1_1neb_1_1_endpoint_symmetry_1af7f93538dbe961a2f9266fe9adac7481: .. ref-code-block:: cpp :class: doxyrest-title-code-block double forward_residual = std::numeric_limits::quiet_NaN() Labelled displacement between the mapped reactant and the product. .. index:: pair: variable; reverse_residual .. _doxid-structgpr_1_1neb_1_1_endpoint_symmetry_1a1953c251e5fc386c1e2c0ec056840815: .. ref-code-block:: cpp :class: doxyrest-title-code-block double reverse_residual = std::numeric_limits::quiet_NaN() Labelled displacement between the mapped product and the reactant. Methods ------- .. index:: pair: function; resolution .. _doxid-structgpr_1_1neb_1_1_endpoint_symmetry_1ac13851b5859de8cffce9f071fc8a4f1e: .. ref-code-block:: cpp :class: doxyrest-title-code-block double resolution() const 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.