struct gpr::neb::GPNEBResult¶
Overview¶
#include <gpr/neb/GPNEB.h>
struct GPNEBResult {
// fields
std::unique_ptr<NEBPath> path;
bool converged = false;
GPNEBStopReason stop_reason = GPNEBStopReason::Unspecified;
GPNEBConvergenceStatus convergence_status = GPNEBConvergenceStatus::NotConverged;
bool index_checked = false;
bool index_refused = false;
bool index_continue = false;
int index_negative = 0;
int index_unresolved = 0;
double index_resolution = 0.0;
int index_gate_true_calls = 0;
int oracle_calls = 0;
int prior_observations = 0;
int oracle_calls_endpoints = 0;
int oracle_calls_initial = 0;
int oracle_calls_outer = 0;
int oracle_calls_validation = 0;
int hyperparameter_refits = 0;
int fixed_theta_refreshes = 0;
int outer_iterations = 0;
int max_energy_image = 0;
double returned_true_force = std::numeric_limits<double>::infinity();
double barrier_energy = 0.0;
double reverse_barrier_energy = 0.0;
double ci_barrier_energy = std::numeric_limits<double>::quiet_NaN();
double ci_reverse_barrier_energy = std::numeric_limits<double>::quiet_NaN();
std::vector<double> max_force_history;
std::vector<OieBandTraceRecord> band_trace;
std::vector<OuterIterCompositionTraceRecord> composition_trace;
int force_stop_certificate_calls = 0;
bool force_stop_certified = false;
bool force_stop_hand_off = false;
bool force_stop_deferred = false;
bool force_stop_inconclusive = false;
Eigen::MatrixXd force_stop_positions;
Eigen::MatrixXd force_stop_directions;
Eigen::MatrixXd force_stop_gradients;
Eigen::VectorXd force_stop_energies;
Eigen::MatrixXd force_stop_modes;
double force_stop_displacement = 0.0;
bool force_stop_center_reused = false;
double force_stop_wall_s = 0.0;
Eigen::MatrixXd force_stop_refinement_positions;
Eigen::MatrixXd force_stop_refinement_gradients;
double force_stop_negative_upper = 0.0;
double force_stop_positive_lower = 0.0;
double force_stop_negative_pair_upper = 0.0;
bool force_stop_refinement_recorded = false;
bool force_stop_refinement_higher_order = false;
long hssvd_factorizations = 0;
long cholesky_factorizations = 0;
std::array<std::optional<gpr::htst::Half>, 3> harmonic_halves {};
// methods
int oracle_calls_to_convergence() const;
};
Detailed Documentation¶
Fields¶
bool index_checked = false
The vibrational-index gate ran on this result.
bool index_refused = false
A force-quiet point failed the index-1 gate and no budget remains.
bool index_continue = false
The gate stepped the climbing image; the caller resumes the search.
int index_gate_true_calls = 0
True-surface force evaluations spent by the gate. The surrogate Hessian does not contribute.
int prior_observations = 0
Rows loaded from a seed file before the search. They are not included in oracle_calls.
double returned_true_force = std::numeric_limits<double>::infinity()
Oracle force, in the stopping norm, at the geometry in max_energy_image, on every exit. Infinity while that geometry has no oracle row.
int force_stop_certificate_calls = 0
Post-convergence force-stop stencil. Counted as validation, not as another force-loop search.
bool force_stop_hand_off = false
The climbing image and any measured stencil are the saddle stage’s starting point. A deferred stop measured nothing.
bool force_stop_deferred = false
The saddle owns the index. This stage did not measure a stencil.
bool force_stop_inconclusive = false
The stencil was measured and did not resolve an index.
Eigen::MatrixXd force_stop_directions
Orthonormal Cartesian directions of that stencil, one column each.
Eigen::MatrixXd force_stop_modes
Lowest Cartesian modes of the measured Hessian, lowest first.
Eigen::MatrixXd force_stop_refinement_positions
Mode probes from certifyAdaptiveStencilIndex, rows of positions and gradients, plus the bounds that fixed the index. Empty when that refinement was not run.
long hssvd_factorizations = 0
Stable-basis factorizations of the band GP. Filled for a result rebuilt from the C API. Zero for a result returned by gpNEB itself.
long cholesky_factorizations = 0
Dense Cholesky factorizations of that GP’s training covariance.
std::array<std::optional<gpr::htst::Half>, 3> harmonic_halves {}
Harmonic prefactor halves for reactant, transition and product. Empty when this search did not compute that point. Owned by the result, so a later search does not replace them.