struct gpr::optim::RefinedWeakModes¶
Overview¶
A weak mode refined by four gradients along it: both signs of the stencil step and of half the step. More…
#include <gpr/optimization/StencilIndex.h>
struct RefinedWeakModes {
// fields
bool valid = false;
Eigen::VectorXd curvatures;
Eigen::MatrixXd modes;
double error = 0.0;
Eigen::MatrixXd action;
Eigen::MatrixXd truncation;
Eigen::MatrixXd directions;
Eigen::VectorXd inverse_mass;
Eigen::MatrixXd even;
double step = 0.0;
double noise_floor = 0.0;
};
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¶
Eigen::VectorXd curvatures
Refined curvatures of the weak block, ascending, eV/(A^2 amu).
Eigen::MatrixXd modes
Their mass-weighted directions on the 3N coordinates.
double error = 0.0
Entrywise error envelope of the refined block, as a spectral bound.
Eigen::MatrixXd action
Measured actions and signed truncation estimates in the input basis.
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.
Eigen::VectorXd inverse_mass
Inverse effective mass of each Cartesian unit direction, 1/(d^T M d).
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.