.. index:: pair: struct; gpr::optim::RefinedWeakModes .. _doxid-structgpr_1_1optim_1_1_refined_weak_modes: struct gpr::optim::RefinedWeakModes =================================== .. toctree:: :hidden: Overview ~~~~~~~~ A weak mode refined by four gradients along it: both signs of the stencil step and of half the step. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct RefinedWeakModes { // fields bool :target:`valid` = false; Eigen::VectorXd :ref:`curvatures`; Eigen::MatrixXd :ref:`modes`; double :ref:`error` = 0.0; Eigen::MatrixXd :ref:`action`; Eigen::MatrixXd :target:`truncation`; Eigen::MatrixXd :ref:`directions`; Eigen::VectorXd :ref:`inverse_mass`; Eigen::MatrixXd :target:`even`; double :target:`step` = 0.0; double :ref:`noise_floor` = 0.0; }; .. _details-structgpr_1_1optim_1_1_refined_weak_modes: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ A weak mode refined by four gradients along it: both signs of the stencil step and of half the step. The Richardson action is exact through the quartic force term, and the difference of the two stencils is its truncation estimate. Fields ------ .. index:: pair: variable; curvatures .. _doxid-structgpr_1_1optim_1_1_refined_weak_modes_1ae418df13bbf0b12444e928c410f07a3a: .. ref-code-block:: cpp :class: doxyrest-title-code-block Eigen::VectorXd curvatures Refined curvatures of the weak block, ascending, eV/(A^2 amu). .. index:: pair: variable; modes .. _doxid-structgpr_1_1optim_1_1_refined_weak_modes_1a599356f923c3db6293ebdaf440fea6c2: .. ref-code-block:: cpp :class: doxyrest-title-code-block Eigen::MatrixXd modes Their mass-weighted directions on the 3N coordinates. .. index:: pair: variable; error .. _doxid-structgpr_1_1optim_1_1_refined_weak_modes_1a6741dc5e27f2935645e8e0442b63cd40: .. ref-code-block:: cpp :class: doxyrest-title-code-block double error = 0.0 Entrywise error envelope of the refined block, as a spectral bound. .. index:: pair: variable; action .. _doxid-structgpr_1_1optim_1_1_refined_weak_modes_1aee2860aba29888895cc149c97cc6c81f: .. ref-code-block:: cpp :class: doxyrest-title-code-block Eigen::MatrixXd action Measured actions and signed truncation estimates in the input basis. .. index:: pair: variable; directions .. _doxid-structgpr_1_1optim_1_1_refined_weak_modes_1af9eab6f11643f19179d9dcff33724719: .. ref-code-block:: cpp :class: doxyrest-title-code-block Eigen::MatrixXd directions Cartesian unit directions of the input modes, one column each, and the mean gradient of the coarse pair along each, (g(+h) + g(-h)) / 2 as a column: with the centre gradient it gives the second difference of the gradient along the mode, the rate at which the mode's own curvature changes along it. .. index:: pair: variable; inverse_mass .. _doxid-structgpr_1_1optim_1_1_refined_weak_modes_1a542af5c41c54dc31449aa836fac08f17: .. ref-code-block:: cpp :class: doxyrest-title-code-block Eigen::VectorXd inverse_mass Inverse effective mass of each Cartesian unit direction, 1/(d^T M d). .. index:: pair: variable; noise_floor .. _doxid-structgpr_1_1optim_1_1_refined_weak_modes_1a76fd4f10ec6561d84a3571b6a1c6e429: .. ref-code-block:: cpp :class: doxyrest-title-code-block double noise_floor = 0.0 Bound on the oracle noise in each refined curvature entry, eV/(A^2 amu), added to every error the block reports. Zero unless the caller passes a noise multiplier.