.. index:: pair: struct; gpr::optim::WeakModeContinuation .. _doxid-structgpr_1_1optim_1_1_weak_mode_continuation: struct gpr::optim::WeakModeContinuation ======================================= .. toctree:: :hidden: Overview ~~~~~~~~ Where a search continues from a converged midpoint whose weak modes the complete stencil cannot certify positive. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct WeakModeContinuation { // fields bool :target:`valid` = false; Eigen::VectorXd :ref:`direction`; double :target:`length` = 0.0; double :ref:`third` = 0.0; }; .. _details-structgpr_1_1optim_1_1_weak_mode_continuation: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Where a search continues from a converged midpoint whose weak modes the complete stencil cannot certify positive. The curvature of the softest weak mode along itself changes at the Cartesian third derivative d . (g(h) + g(-h) - 2 g(0)) / h^2 divided by its effective mass d^T M d. Both that rate and the curvature bound use mass-weighted units. The continuation runs along the mode, signed so that the curvature rises, by the displacement expected to lift the positive lower bound above zero with a tenth of the resolution as margin: at least one stencil step when the bound permits, and at most ``step_bound``. Fields ------ .. index:: pair: variable; direction .. _doxid-structgpr_1_1optim_1_1_weak_mode_continuation_1a31851ba6facfc035c1c231723f73f20e: .. ref-code-block:: cpp :class: doxyrest-title-code-block Eigen::VectorXd direction Unit Cartesian direction, signed so that the weak curvature rises. .. index:: pair: variable; third .. _doxid-structgpr_1_1optim_1_1_weak_mode_continuation_1a776385ba987d6ae39b8b3d7641e8c3d0: .. ref-code-block:: cpp :class: doxyrest-title-code-block double third = 0.0 Mass-weighted curvature change per Cartesian length, eV/(A^3 amu).