struct gpr::optim::PairRitzProbe

Overview

Ritz curvatures of the mass-weighted Hessian on span(u, v), measured by central differences of the gradient (four calls). More…

#include <gpr/optimization/StencilIndex.h>
 
struct PairRitzProbe {
    // fields
 
    bool measured = false;
    double lower = 0.0;
    double upper = 0.0;
    double asymmetry = 0.0;
    Eigen::MatrixXd points;
    Eigen::MatrixXd gradients;
};

Detailed Documentation

Ritz curvatures of the mass-weighted Hessian on span(u, v), measured by central differences of the gradient (four calls). By Courant Fischer the second-smallest curvature of the whole Hessian is at most the larger Ritz curvature on any two-dimensional subspace, so a pair whose larger Ritz curvature is below minus the finite-difference resolution proves a second negative mode without the complete stencil. u and v are Cartesian directions; the pair is orthonormalized in the mass-weighted metric.

Fields

double asymmetry = 0.0

Half the asymmetry of the measured 2 x 2 block.

Eigen::MatrixXd points

The four displaced points (columns) and their gradients (rows).