struct gpr::optim::StencilIndexCertificate¶
Overview¶
Complete physical index, conditional on the measured error envelopes. More…
#include <gpr/optimization/StencilIndex.h>
struct StencilIndexCertificate {
// fields
bool first_order = false;
bool higher_order = false;
double negative_upper = std::numeric_limits<double>::infinity();
double positive_lower = -std::numeric_limits<double>::infinity();
double negative_pair_upper = std::numeric_limits<double>::infinity();
Eigen::Index refined_positive_modes = 0;
double weak_lower = -std::numeric_limits<double>::infinity();
double weak_error = std::numeric_limits<double>::infinity();
double weak_block_lower = -std::numeric_limits<double>::infinity();
double weak_block_error = std::numeric_limits<double>::infinity();
Eigen::MatrixXd hessian;
Eigen::VectorXd escape;
bool weak_higher_order = false;
Eigen::VectorXd weak_direction;
Eigen::VectorXd weak_even;
double weak_step = 0.0;
double weak_inverse_mass = 1.0;
Eigen::MatrixXd refinement_points;
Eigen::MatrixXd refinement_gradients;
};
Detailed Documentation¶
Complete physical index, conditional on the measured error envelopes. An unresolved restriction certifies neither a saddle nor a minimum.
Fields¶
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.
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).
double weak_inverse_mass = 1.0
Converts the Cartesian curvature rate to eV/(A^3 amu).
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.