.. index:: pair: struct; gpr::optim::StencilIndexCertificate .. _doxid-structgpr_1_1optim_1_1_stencil_index_certificate: struct gpr::optim::StencilIndexCertificate ========================================== .. toctree:: :hidden: Overview ~~~~~~~~ Complete physical index, conditional on the measured error envelopes. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct StencilIndexCertificate { // fields bool :target:`first_order` = false; bool :target:`higher_order` = false; double :target:`negative_upper` = std::numeric_limits::infinity(); double :target:`positive_lower` = -std::numeric_limits::infinity(); double :target:`negative_pair_upper` = std::numeric_limits::infinity(); Eigen::Index :target:`refined_positive_modes` = 0; double :target:`weak_lower` = -std::numeric_limits::infinity(); double :target:`weak_error` = std::numeric_limits::infinity(); double :target:`weak_block_lower` = -std::numeric_limits::infinity(); double :target:`weak_block_error` = std::numeric_limits::infinity(); Eigen::MatrixXd :target:`hessian`; Eigen::VectorXd :target:`escape`; bool :ref:`weak_higher_order` = false; Eigen::VectorXd :ref:`weak_direction`; Eigen::VectorXd :target:`weak_even`; double :target:`weak_step` = 0.0; double :ref:`weak_inverse_mass` = 1.0; Eigen::MatrixXd :ref:`refinement_points`; Eigen::MatrixXd :target:`refinement_gradients`; }; .. _details-structgpr_1_1optim_1_1_stencil_index_certificate: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Complete physical index, conditional on the measured error envelopes. An unresolved restriction certifies neither a saddle nor a minimum. Fields ------ .. index:: pair: variable; weak_higher_order .. _doxid-structgpr_1_1optim_1_1_stencil_index_certificate_1af8223b3774fc5f300acbba4d3ffe787a: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool weak_higher_order = false The higher-order verdict came from the refined weak block: the second negative mode is a weak mode whose refined curvature is negative beyond its error, not a mode the coarse stencil resolves. .. index:: pair: variable; weak_direction .. _doxid-structgpr_1_1optim_1_1_stencil_index_certificate_1ac7a6bb0502d166706b0774c103ebdec8: .. ref-code-block:: cpp :class: doxyrest-title-code-block Eigen::VectorXd weak_direction The softest weak mode of the stencil as a Cartesian unit direction, the mean gradient of its coarse refinement pair and the step of that pair; empty until a weak mode is refined. With the centre gradient they give the rate at which the mode's curvature changes along the mode (see weakModeContinuation). .. index:: pair: variable; weak_inverse_mass .. _doxid-structgpr_1_1optim_1_1_stencil_index_certificate_1a1f86d303a4c13427d1955cb81c4a78a3: .. ref-code-block:: cpp :class: doxyrest-title-code-block double weak_inverse_mass = 1.0 Converts the Cartesian curvature rate to eV/(A^3 amu). .. index:: pair: variable; refinement_points .. _doxid-structgpr_1_1optim_1_1_stencil_index_certificate_1a36355602fb9a98297a606543a36a3dde: .. ref-code-block:: cpp :class: doxyrest-title-code-block Eigen::MatrixXd refinement_points Probes this certificate measured along unresolved modes. Columns of ~refinement_points~ are Cartesian positions; rows of ~refinement_gradients~ are the matching raw gradients. Empty when the coarse stencil already decided the index.