struct gpr::optim::EndpointConnectivityReport¶
Overview¶
Downhill ends of a saddle, compared with the endpoints after those endpoints have been relaxed on the same surface. More…
#include <gpr/optimization/EndpointConnectivity.h>
struct EndpointConnectivityReport {
// fields
bool reported = false;
bool connected = false;
bool graph_connected = false;
bool graph_applicable = true;
bool ball_applicable = true;
bool ball_matched = false;
bool ambiguous = false;
bool unresolved = false;
bool skipped = false;
double separation = std::numeric_limits<double>::quiet_NaN();
double reactant_ball = std::numeric_limits<double>::quiet_NaN();
double product_ball = std::numeric_limits<double>::quiet_NaN();
double lambda_reactant = std::numeric_limits<double>::quiet_NaN();
double lambda_product = std::numeric_limits<double>::quiet_NaN();
double lowest_reactant = std::numeric_limits<double>::quiet_NaN();
double lowest_product = std::numeric_limits<double>::quiet_NaN();
double resolution_reactant = std::numeric_limits<double>::quiet_NaN();
double resolution_product = std::numeric_limits<double>::quiet_NaN();
double saddle_curvature = std::numeric_limits<double>::quiet_NaN();
bool saddle_index_measured = true;
double directional_curvature = std::numeric_limits<double>::quiet_NaN();
bool measured_index = false;
int index_negative = 0;
int index_unresolved = 0;
bool index_first_order = false;
bool index_higher_order = false;
double index_resolution = std::numeric_limits<double>::quiet_NaN();
int index_calls = 0;
double forward_reactant = std::numeric_limits<double>::quiet_NaN();
double forward_product = std::numeric_limits<double>::quiet_NaN();
double reverse_reactant = std::numeric_limits<double>::quiet_NaN();
double reverse_product = std::numeric_limits<double>::quiet_NaN();
double deposited_forward_reactant = std::numeric_limits<double>::quiet_NaN();
double deposited_forward_product = std::numeric_limits<double>::quiet_NaN();
double deposited_reverse_reactant = std::numeric_limits<double>::quiet_NaN();
double deposited_reverse_product = std::numeric_limits<double>::quiet_NaN();
double forward_force = std::numeric_limits<double>::quiet_NaN();
double reverse_force = std::numeric_limits<double>::quiet_NaN();
int forward_calls = 0;
int reverse_calls = 0;
int forward_steps = 0;
int reverse_steps = 0;
int calls = 0;
int calls_deposit = 0;
int calls_endpoint_check = 0;
int calls_saddle = 0;
int calls_descent = 0;
int calls_polish = 0;
int calls_end_check = 0;
int calls_energy = 0;
double oracle_seconds = 0;
double match_seconds = 0;
double reactant_energy = std::numeric_limits<double>::quiet_NaN();
double product_energy = std::numeric_limits<double>::quiet_NaN();
double forward_energy = std::numeric_limits<double>::quiet_NaN();
double reverse_energy = std::numeric_limits<double>::quiet_NaN();
Eigen::VectorXd saddle_positions;
Eigen::VectorXd mode;
double kick = std::numeric_limits<double>::quiet_NaN();
Eigen::VectorXd forward_position;
Eigen::VectorXd reverse_position;
double walk_separation = std::numeric_limits<double>::quiet_NaN();
double comparison_tolerance = std::numeric_limits<double>::quiet_NaN();
std::string reactant_bonds;
std::string product_bonds;
std::string forward_bonds;
std::string reverse_bonds;
};
Detailed Documentation¶
Downhill ends of a saddle, compared with the endpoints after those endpoints have been relaxed on the same surface.
A fixed distance to the deposited coordinates rejects a walk that reached the reactant basin when the deposited reactant still sits up the wall. CH3O’s forward end is 0.340 Å from that deposit and 0.746 Å from the product; a 0.30 Å ball misses it. The distance below keeps the file’s atom labels and removes only rigid motion, the same indexing the bond graph uses.
Fields¶
bool connected = false
The walks are the two endpoints. When the endpoint bond graphs differ, each end is a force-converged minimum whose graph is one endpoint’s and not the other’s. When the graphs are the same, the fixed-label balls decide. A conformer of a basin is the same graph at another minimum; its distance is a diagnostic.
bool graph_connected = false
The two L-BFGS ends have the bond graphs of the two relaxed endpoints, one each. False when the endpoints share a graph (graph_applicable is then false and the log prints graph=na).
bool graph_applicable = true
False when the relaxed endpoints have one bond graph.
bool ball_applicable = true
False when the fixed-label separation does not put each endpoint outside the other’s harmonic match ball. The log prints ball=na. The radius formula is unchanged.
bool ball_matched = false
The fixed-label balls assign the two ends to different endpoints. A diagnostic when the graphs differ.
bool ambiguous = false
The L-BFGS end still has a negative vibrational eigenvalue below minus the stencil resolution, after a step off that mode.
bool unresolved = false
The IRC stopped before the walk finished. A converged search is not withdrawn: the ball and the graph are unresolved, not a miss.
bool skipped = false
--irc-certificate off. The walk is not run.
double saddle_curvature = std::numeric_limits<double>::quiet_NaN()
Lowest mass-weighted vibrational eigenvalue of a measured Cartesian spectrum at the returned image. Quiet when that spectrum was not measured.
bool saddle_index_measured = true
True when saddle_curvature is that measured eigenvalue. False when the walk used a model direction that the true force showed to be downhill: one descent direction, not an index.
double directional_curvature = std::numeric_limits<double>::quiet_NaN()
True central curvature along the walked direction, (g(x+hd) − g(x−hd))·d / (2h), when the spectrum was not measured.
bool measured_index = false
The search had not stored the saddle stencil, and this walk measured it. The counts use the vibrational index rule: a mode is negative below minus the stencil resolution, unresolved inside it, and the gate passes for exactly one negative mode.
int forward_calls = 0
Oracle calls spent on each IRC, steepest descent through the L-BFGS polish and the negative-mode check.
int forward_steps = 0
Steepest-descent steps plus L-BFGS steps on that side.
int calls_deposit = 0
Oracle calls by the work that spent them. Deposit is the L-BFGS of the two endpoints. The checks are the vibrational minimum spectra, or the complete stencil when that spectrum cannot resolve the sign. Descent is the steepest-descent walk, polish its L-BFGS.
double oracle_seconds = 0
Time inside the oracle, and time in the bond-graph and distance comparison after the walks. The rest of the certificate is the solver and the Hessians’ algebra.
Eigen::VectorXd saddle_positions
Saved saddle, the unit mode the kick used, and the two ends. A second walk from these is the replay.
double comparison_tolerance = std::numeric_limits<double>::quiet_NaN()
Force at which the walks and the endpoints were compared. Equals the requested tolerance, or the tighter one below when a walk had stopped outside both harmonic balls.
std::string reactant_bonds
Bond graphs: sorted “i-j” pairs inside 1.2 times the Cordero radii.