struct gpr::optim::SubspaceRitzProbe

Overview

Ritz curvatures of the mass-weighted Hessian on the span of several Cartesian directions, measured by central differences of the gradient, two calls per retained direction. More…

#include <gpr/optimization/StencilIndex.h>
 
struct SubspaceRitzProbe {
    // fields
 
    bool measured = false;
    Eigen::VectorXd values;
    Eigen::MatrixXd directions;
    double asymmetry = 0.0;
    Eigen::MatrixXd basis;
    Eigen::MatrixXd points;
    Eigen::MatrixXd gradients;
};

Detailed Documentation

Ritz curvatures of the mass-weighted Hessian on the span of several Cartesian directions, measured by central differences of the gradient, two calls per retained direction. The directions are orthonormalized in the mass-weighted metric in the order given and a direction inside the span of the earlier ones is dropped. By Courant Fischer the i-th smallest curvature of the whole Hessian is at most the i-th Ritz curvature, so a second Ritz curvature below minus the measurement’s asymmetry proves a second negative mode without the complete stencil.

Fields

Eigen::VectorXd values

Ascending Ritz curvatures.

Eigen::MatrixXd directions

Ritz vectors as unit Cartesian directions, one column per value.

double asymmetry = 0.0

Half the largest asymmetry of the measured block.

Eigen::MatrixXd basis

Mass-weighted orthonormal basis measured (dof x m).

Eigen::MatrixXd points

The displaced points (columns) and their gradients (rows): the plus and the minus displacement of each basis column in turn.